Love this plugin! It’s already saved my bacon on a new site I’m working on.
Curious as to how I can add an Add to Cart button with variations in my theme files, though?
I would have though I could just do this:
<?php echo do_shortcode("[wp_cart:Product Name:price:150:var1[Color|Black|Granite|Rust]:end]"); ?>
but for some reason, that doesn’t work?
Basically just looking for something like this:
<?php echo print_wp_cart_button_for_product('PRODUCT-NAME', PRODUCT-PRICE); ?>
with the ability to add variations… Any suggestions? Thanks again!
- The topic ‘[Plugin: WordPress Ultra Simple Paypal Shopping Cart] Add to Cart button with variation in theme fil’ is closed to new replies.