Mohamed Hamdy
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Thank you again for your support.
I am following up to share the custom solution I developed in case others face a similar issue.
I removed the original woodmart block and created a custom shortcode that:
- Displays products in a clean grid layout.
- Dynamically renders the correct add-to-cart form, including variation attributes and custom fields.
- Only reveals the form when the user clicks “Choose Options”, preventing clutter and preserving the design.
- Handles dynamic price updates and button text changes based on user interaction.
Best regards,
Mohamed Hamdy
WordPress Developer
Also, if you revised the previous screenshot, you’ll find the the fields are dupicated
Thank you very much, its really helpful.
But I had a small issue when I used your code, as you can see in the screenshot: All the fields are appearing permanently in the same time and this made the design very bad.
Is there’s a solution for this issue?

Thanks for your reply.
I mean the block on the homepage – see the screenshot- and also on the category page check this URL :https://qtoofjewellery.com/product-category/dl3-3rbeetak/

Viewing 4 replies - 1 through 4 (of 4 total)