Pass the selected item value to store url
-
Hi. Could you help me how to pass the slug of selected category to store url in search results and redirect visitor to category page of vendor shop?
Default store url is https://hmerelay.com/vendor/life-care-supplies/
I need dinamicaly pass the slug to this link so url would be
https://hmerelay.com/vendor/life-care-supplies/?post_type=product&product_cat=some_category_slug
I know where to edit url but how to pass the variable (category slug) to the end of urlThe page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Pass the selected item value to store url’ is closed to new replies.