Update shortcode when changing varients
-
With WooCommerce on the single product page when you change the attribute options to select a variant, the Price and Stock amounts are updated via Ajax.
I am currently using a shortcode on the single-product page where the input to the shortcode is product_id but when you update the variants, it does not update the product_id on the shortcode.
How would I allow for the shortcode to update the product_id when changing variants?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Update shortcode when changing varients’ is closed to new replies.