Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

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

by

Tips and Tricks HQ Support Portal › Forums › Simple PayPal Shopping Cart › Simple shopping Cart Usage › How to add variation control using the "Add to cart" button in the template?

Tagged: add to cart, variation, variation control

  • This topic has 10 replies, 6 voices, and was last updated 12 years ago by amin007.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • February 8, 2010 at 11:41 am #758
    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])?

    March 9, 2010 at 1:07 pm #17833
    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…

    March 10, 2010 at 2:23 am #17834
    amin007
    Participant

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

    April 18, 2010 at 11:14 pm #17835
    jkudish
    Member

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

    April 19, 2010 at 7:38 am #17836
    amin007
    Participant

    @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.

    April 23, 2010 at 3:32 am #17837
    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.

    April 23, 2010 at 8:50 am #17838
    amin007
    Participant

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

    April 24, 2010 at 4:09 am #17839
    VelmaG
    Member

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

    April 24, 2010 at 12:12 pm #17840
    amin007
    Participant

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

    March 24, 2011 at 3:28 pm #17841
    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

    March 24, 2011 at 10:46 pm #17842
    amin007
    Participant

    I just added the proper shortcode version last night. Get a new build from here:

    https://support.tipsandtricks-hq.com/update-request

    After the update you will be able to use the following which will give you a Buy Now button only:

    [wp_eStore_buy_now id=1]

  • Author
    Posts
Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • WP PDF Stamper Documentation
  • WP Photo Seller Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial
  • WP Photo Seller Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2023 | Tips and Tricks HQ