I am attempting to create a new product page format for via dynamic pages, however I can’t seem to figure out how to create a dynamic add to cart button that will work for each different product/dynamic page.
The regular add to cart button from the stores menu does not change with the change of the pages and I don’t see any way to connect it to the dataset so it does.
I think I’ve figured out how to turn a regular button into an add to cart one via code, but how do I connect the code/button to the dataset so it knows exactly which product to add to cart?
I did search through the forums and found similar questions and attempted to implement, but I’m getting nowhere.
I would greatly appreciate a basic rundown of the steps required. Thank you.