Grouped products are missing a price update
-
Problem description:
– When a grouped product is created with multiple simple products in its group, it contains a range from lowest product price to highest product price.
– This lowest (simple) product price is also set in the <script type=”application/ld+json”> in the source on the page of the grouped product.
– The data in <script type=”application/ld+json”> is often crawled/used for marketing purposes.
– Whenever the simple product with the lowest price gets updated, the new price will not be set in the <script type=”application/ld+json”>.
– When removing the simple product from the group and re-attach it afterwards the price in <script type=”application/ld+json”> does get updated.Because we use this price for marketing purposes it now shows an incorrect price.
Environment details:
Wordpress: v5.5.1
Plugins: Woocommerce v4.5.2
Theme: Twenty Twenty v1.5Reproduce:
1. Create an environment with solely the details listed above.
2. Create at least 2 simple products one with a price of 100 and one with a price of 200
3. Create a grouped product and link the simple products
4. Check the section <script type=”application/ld+json”> the price should say 100 now
5. Now update the price of the 100 priced product to 50
6. Check the section <script type=”application/ld+json”> this still says the products lowest range is 100 when this should be 50
Question:
Is it possible to make a change to the WooCommerce plugin to update this section <script type=”application/ld+json”> of a grouped product to have the correct price.
- The topic ‘Grouped products are missing a price update’ is closed to new replies.