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

'Add to cart' button & currencies

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › 'Add to cart' button & currencies

  • This topic has 1 reply, 1 voice, and was last updated 13 years, 3 months ago by dangermoose.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 21, 2012 at 4:21 pm #5613
    dangermoose
    Spectator

    Hi there,

    We have added some functionality to the plugin (just using include files) to allow us to display product choices & currency options in a dropdown. Of course I don’t expect support for anything we have done but just wanted to see if you could shed some light on this issue. If not, I completely understand.

    The client wants to change from selling ‘subscriptions’ to allowing users to add each item to the cart & this is where I’ve stumbled.

    Previously, the subscribe button was displayed in the page template using this:

    <?php echo print_eStore_subscribe_button_form(1); ?>

    Now I want to change this to an ‘add to cart’ button I can’t seem to get it to recognise the currencies we have specified in our include file. Adding a ‘buy it now’ button, however works BUT of course redirects users to PayPal straight away. We want to simply add each item to the cart.

    The ‘Add to cart’ button kind of works, but ignores the currencies from the include file and adds everything in GBP, the default currency.

    I’m using this to display the add to cart.

    <?php echo get_button_code_for_product(19); ?>

    Maybe I’m trying to do something that can’t be done easily but if you could have a quick look I’d appreciate it.

    Page template code

    http://pastebin.com/s5k641He

    Include file (js) which specifies currencies & prices.

    http://pastebin.com/YAhiWyZV

    February 21, 2012 at 5:32 pm #42174
    dangermoose
    Spectator

    I found my answer, of course the cart cannot support more than one currency.

    Thanks!

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

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • 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
  • 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

Our Other Plugins

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

Copyright © 2025 | Tips and Tricks HQ