- This topic has 1 reply, 2 voices, and was last updated 8 years, 4 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore Add to Cart button for a specific variation
Tagged: add to cart button
Is it possible to link to a variation of a product? For example an “Add to Cart” linked to a small white t-shirt instead of the user using the drop down menu to select the size and color. I want to enter the information into the database with variations so I don’t need to add one product with variations as a bunch of products. However I also don’t want the user to select the variations themselves.
The reason it matters is because the user picks a style and color. Then they are taken to a product page to choose the specific products. The products they order must be the same style and color so they match.
On the second page, you could use HTML buttons, containing URL links, that trigger a specific Add To Cart action; that includes variations:
You will need to install & activate the Extra Shortcodes Addon:
https://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460