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

Can't use classic Widgets #173

Open
martin-gw opened this issue Jan 8, 2025 · 4 comments
Open

Can't use classic Widgets #173

martin-gw opened this issue Jan 8, 2025 · 4 comments

Comments

@martin-gw
Copy link

How can I add a classic widget to the shop page?

@amjadr360
Copy link
Contributor

Could you please provide more details about the specific classic widget you want to use and why it is needed? This information will help me suggest the most appropriate solution tailored to your requirements.

@martin-gw
Copy link
Author

I was trying to use "YMM search", I found that I can use a shorcode to display the widget, it is not customizable as the classic widget which had some additional customizations. I'm fine using it with shorcodes but anyways it would be great to have at least an option to shorcode classic widgets...

@amjadr360
Copy link
Contributor

You can use the Legacy Widget block to add the YMM search widget. By default, this block is not enabled. To enable it, install the Site Editor Classic Features plugin. This will enable the Legacy Widget block in the editor. Once enabled, you can add the Legacy Widget to the template/page and select the YMM search widget.

CleanShot 2025-01-16 at 02 39 17@2x
CleanShot 2025-01-16 at 02 39 50@2x

@martin-gw
Copy link
Author

I was able to use the shortcode but by some reason it was broken when I used it on a template, a random "

" appeared on a part of the script of the shortcode on the html. So I tried Site Editor Classic Features and put the widget and that seems to work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants