Stock Control for dynamically-generated shortcode product
-
I’ve read your tutorial “Creating a Payment Button by Dynamically Adding Item Details in the Shortcode” and wonder if there’s a way to specify there only being 1 of a particular item? For example, I have 2 unique products for sale. I’d like to copy/paste the shortcode for each and just have to change the name. That way, once the product sells nobody else can pay for it. Something like below…
[accept_stripe_payment name=”Product-1″ price=”50″ button_text=”Buy Now” billing_address=”1″ shipping_address=”1″ stock=”1″]
[accept_stripe_payment name=”Product-2″ price=”50″ button_text=”Buy Now” billing_address=”1″ shipping_address=”1″ stock=”1″]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Stock Control for dynamically-generated shortcode product’ is closed to new replies.