Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

☂️ PT: Live Preview in Premium and WooCommerce Themes #79223

Closed
21 of 27 tasks
okmttdhr opened this issue Jul 11, 2023 · 1 comment
Closed
21 of 27 tasks

☂️ PT: Live Preview in Premium and WooCommerce Themes #79223

okmttdhr opened this issue Jul 11, 2023 · 1 comment
Assignees
Labels
Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Type] Task

Comments

@okmttdhr
Copy link
Member

okmttdhr commented Jul 11, 2023

Description

As of Jul 11, 2023, we have a few themes (3 premium themes and 4 WooCommerce themes) that are compatible with Block Theme Previews. p1689054390618779/1689048800.285299-slack-CRWCHQGUB But we expect more premium or woo themes are coming.

So, we're to implement the flow for a premium and WooCommerce theme. We have a UI here pbxlJb-4QS-p2#design (c.f. discussion: https://github.com/Automattic/dotcom-forge/issues/2391#issuecomment-1620629654).

Project Thread: pbxlJb-4QS-p2

Testing Instructions

Live Preview in Premium and WooCommerce Themes

  • Premium themes
    • Prepare a site with the Personal plan or lower plan.
    • Pick a Premium theme (e.g., Outland) and go to Live Preview by clicking the “Preview & Customize” button on the Theme Detail page (/theme/<theme-name>/<your-site>).
    • Verify the notices are displayed both on the sidebar and edit canvas.
      Screenshot 2023-12-27 at 10 49 47
      Screenshot 2023-12-27 at 10 50 07
    • Click any Upgrade now.
    • Verify the modal shows up.
      Screenshot 2023-12-14 at 15 28 03
    • Click Upgrade to activate.
    • Verify it opens the checkout page in a new tab.
    • Verify the Premium plan is in the cart and complete checkout.
    • Go back to the Site Editor.
    • Verify the plan is upgraded and ready to activate the theme.
    • Click Activate.
    • Verify the theme is activated.
  • WooCommerce themes
    • Prepare a site with the Premium plan or lower plan.
    • Pick a WooCommerce theme (e.g., Tsubaki, Zaino, Tazza, Amulet) and go to Live Preview by clicking the “Preview & Customize” button on the Theme Detail page (/theme/<theme-name>/<your-site>).
    • Verify the notices are displayed both on the sidebar and edit canvas.
      Screenshot 2023-12-27 at 10 51 18
      Screenshot 2023-12-27 at 10 51 11
    • Click any Upgrade now.
    • Verify the modal shows up.
      Screenshot 2023-12-14 at 15 27 23
    • Click Upgrade to activate.
    • Verify it opens the checkout page in a new tab.
    • Verify the Business plan is in the cart and complete checkout.
    • Go back to the Site Editor.
    • Verify the plan is upgraded and ready to activate the theme.
    • Click Activate.
    • Verify the theme is activated.

Live Preview in Free Themes

  • Go to the Theme Detail page of a free theme
  • Click Preview & Customize
  • Verify Live Preview functionality works (navigating templates, changing styles, editing blocks, ...)
  • Verify the notice is shown in the Site Editor's edit mode
    Screenshot 2023-12-27 at 11 07 01
  • Click Activate
  • Verify the notice is dismissed
  • Verify the theme is now activated on your site

Acceptance Criteria

  • Users can live-preview and activate a premium and WooCommerce theme.

Dev Tasks

Related

@okmttdhr okmttdhr changed the title Flow to activate a premium theme when previewing Live Preview: Flow to activate a premium theme when previewing Aug 7, 2023
@okmttdhr okmttdhr changed the title Live Preview: Flow to activate a premium theme when previewing Live Preview: Flow to activate a premium theme Aug 7, 2023
@autumnfjeld autumnfjeld changed the title Live Preview: Flow to activate a premium theme ☂️ PT: Live Preview: Flow to activate a premium theme Oct 25, 2023
@okmttdhr okmttdhr self-assigned this Oct 27, 2023
@okmttdhr okmttdhr changed the title ☂️ PT: Live Preview: Flow to activate a premium theme ☂️ PT: Live Preview in Premium and WooCommerce Themes Oct 31, 2023
Copy link

github-actions bot commented Nov 27, 2023

Support References

This comment is automatically generated. Please do not edit it.

  • pdtkmj-1JP-p2#comment-3208
  • pekYwv-1WD-p2#comment-1529

@github-actions github-actions bot added the Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". label Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Type] Task
Projects
None yet
Development

No branches or pull requests

1 participant