Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password?

Search the Forum

Tips and Tricks HQ Forum » Simple PayPal Shopping Cart » Simple shopping Cart Usage

How to add variation control using the "Add to cart" button in the template?

(11 posts) (6 voices)
  • Started 2 years ago by Gian
  • Latest reply from amin007
  • Related Topics:
    1. Mutiple Add to Cart Button Styles
    2. How to change position of Add to Cart Button
    3. Remove Add to Cart button in [wp_eStore_all_products_stylish:end] view
    4. Add to Cart Button and Buy Now Button issues: Not working at all.
    5. Add to cart button: no anchor

Tags:

  • add to cart
  • variation
  • variation control
12Next »
  1. Gian
    Member

    Hello!
    I'm using WP Simple Shopping Cart with the "Add to cart button" in the template (<?php echo print_wp_cart_button_for_product('PRODUCT-NAME', 'PRODUCT-PRICE'); ?>).
    Is there the possibility to add variation control as in the triggered mode ([wp_cart:PRODUCT-NAME:price:PRODUCT-PRICE:var1[VARIATION-NAME|VARIATION1|VARIATION2|VARIATION3]:end])?

    Posted 2 years ago #
  2. nico
    Member

    Same problem for me.

    I'm working with the "Add to cart button" in a template file and I'm searching for a way to add variation control in the php code...

    Posted 1 year ago #
  3. amin007
    Key Master

    This option is not available... I will add in a function so this can be done.

    Posted 1 year ago #
  4. jkudish
    Member

    Any update on this? Would need to use this functionality?

    Posted 1 year ago #
  5. amin007
    Key Master

    @jkudish, This turned out to be a lot of work so didn't do anything. If you are using eStore then you should be able to use variation control using PHP function call anyway.

    Posted 1 year ago #
  6. VelmaG
    Member

    I figured the work around for this would be a shortcode sidebar plugin. I tried 3, and none of them worked. It simply showed the shoppingcart's shortcode.

    Bummer. Not sure why this shortcode wouldn't work in any of them.

    Posted 1 year ago #
  7. amin007
    Key Master

    Because the shortcode was created using a filter not a proper wordpess shortcode API (wordpress introduced it later).

    Posted 1 year ago #
  8. VelmaG
    Member

    Is there any chance you'll be converting it over to the shortcode API?

    Posted 1 year ago #
  9. amin007
    Key Master

    Yep, I will be adding a proper shortcode for it in a few days.

    Posted 1 year ago #
  10. primated
    Member

    The Shortcodes still don't all work in the sidebar widgets.
    I just want to add a simple buy now button, but all I get is the actual code and not the button. But, strangely enougn, this shortcode works:
    [wp_eStore_buy_now_fancy id=1]

    It's not what I need, but it works for now.
    What I want to use is:
    [wp_eStore_buy_now:product_id:1:end]

    Any suggestions or solutions?

    Oh, I'm using the latest update for the paid plugin and I also have eStore-Extra-shortcodes plugin installed.

    Thanks

    Posted 10 months ago #

RSS feed for this topic

12Next »

Reply »

You must log in to post.

Tips and Tricks HQ Forum is proudly powered by bbPress

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin