Custom product permalink
-
Hi,
Can you tell me that your plugin has a custom product permalink function described below?
Normally, when a user purchases a product which has options, the user will see items at,
1. Product detail page with selection of options, then clicking button ‘add to cart’
2. Cart page
3. Checkout page
4. Completed page
5. Received order email
6. My-account order detail pageAt the steps 2,3,4,5,6 the user will see the product name linked by normal permalink ( like ttps://example.com/aaa-product ).
If, the permalink is generated with query strings that indicates fields’ selections( like ttps://example.com/aaa-product?field1=a_field2=b ), that will be so nice!
Because, the user can retry the selections from the cart page without resetting. At my-account order detail page, the user can re-buy the same order without re-selecting.
As a solution idea, a WordPress hook ‘woocommerce_cart_item_permalink’ may be suitable for this situation.
Of course I know a custom permalink is generated in case of using WooCommerce variations by default (like ttps://example.com/aaa-product?attribute_pa_color=black&attribute_pa_size=l&attribute_size=L). If your plugin has similar functions, please tell me.
Thank you.
The topic ‘Custom product permalink’ is closed to new replies.