This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Store API doesn't append third party query params to cart item permalink #8119
Labels
block: cart
Issues related to the cart block.
block: checkout
Issues related to the checkout block.
focus: rest api
Work impacting REST api routes.
type: bug
The issue/PR concerns a confirmed bug.
Describe the bug
When using the new cart and checkout blocks there does not seem to be a way to click the product and edit variations or options as you can in Woo Classic.
To reproduce
Steps to reproduce the behavior:
https://redacted.com/product/product-name/?attribute_frame-color=Light+Red&wc_gforms_cart_item_key=6aceac4da5b55f3b726d18025cc96cef
https://redacted.com/product/product-name/
Full info on slack including an addon dev who has run into issues:
https://woocommercecommunity.slack.com/archives/C1KAZ91E3/p1671566495106139
The dev of Gravity Forms addon also confirms this is an issue with current implementation of the checkout block. They state: "This appears to be a problem with WooCommerce itself. Even using a standard Variable product with nothing else it doesn't allow you to click on the title in the Cart from the cart block and edit it. I'm guessing there is a filter on the cart item link they are not calling when rendering the cart for the block that they do when rendering the "Real" cart. Since they are missing the filter in WC core there's not anything I can do from my end to "hack" around it. "
Expected behavior
WC Blocks should support the same method as classic for allowing this interoperability of editing product options and addon options.
Environment
WordPress (please complete the following information):
The text was updated successfully, but these errors were encountered: