How to code dynamic pricing cards for a landing page?

UandF
New Member
8 0 0

I am coding out some pricing cards for a landing page section on our store.

The cards are similar to these two references:

UandF_0-1708450061459.png

UandF_1-1708450071486.png


The question I have is about how to code the button - I would want this to be dynamic so when I enter in the schema for the product id It will pull the price, new price, and then what the product id should be for the button.

I believe I would be doing this with the AJAX cart not a standard button or form? Am I on the right track and where should I go from there or what resources would be good to look into?

Thanks,

 

Replies 0 (0)