Making the shortcode dynamic
-
Hello Marc,
Sorry to bother you again!I used your great shortcode to imbed the configurator as you know.
[mkl_configurator product_id=1 classes=”container-class something-else”]
Now I have made a second product page, and I am using elementor which creates a “single product template” that is applied to all single products.
This seems to mean when I specify a product ID in the shortcode, that ID is applied to all pages, so the two product pages I have made are embedding the same product.Is there a way I can get the shortcode to default to the product page it is on?
Another way is if I make many elementor templates, but I’m having trouble getting that to go well.
If there is a way from the code end, that would be very helpful.
Thank you!
https://woocommerce-384941-1559973.cloudwaysapps.com/product/meishi-ire
https://woocommerce-384941-1559973.cloudwaysapps.com/product/passcase
The page I need help with: [log in to see the link]
- The topic ‘Making the shortcode dynamic’ is closed to new replies.