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

moving "add to cart" button on [wp_eStore:product_id:4:end]

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › moving "add to cart" button on [wp_eStore:product_id:4:end]

  • This topic has 5 replies, 3 voices, and was last updated 13 years, 5 months ago by gg1965.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • December 22, 2011 at 7:28 pm #5105
    gg1965
    Member

    Hi all again,

    Further from my previous post for moving the “add to cart” button on the fancy 2 template, now I’d like to move the button when using the [wp_eStore:product_id:4:end] shortcode.

    This time, I’d like the variant to appear on the same line as the “add to cart” button. Example:

    [variant name]: [variant drop down box] [add to cart]

    Currently the “add to cart” button is on the next line.

    How can i get it on the same line?

    Thanks

    Graham

    December 23, 2011 at 6:09 am #40017
    admin
    Keymaster

    “Further from my previous post” – can you please post a link to this previous post so I can read up on that and catch up?

    December 23, 2011 at 8:16 am #40018
    gg1965
    Member

    Hi

    Yes – the previous post is here:

    changing location of "add to cart" and variants in fancy 2?

    it was answered by Peter.

    Thanks

    GRaham

    December 23, 2011 at 11:03 pm #40019
    Peter
    Member

    Hi Graham,

    I had a go myself and it became too messy :(

    Maybe you could try this:

    https://support.tipsandtricks-hq.com/forums/topic/how-to-change-position-of-add-to-cart-button

    If that doesn’t work, let’s see what Admin suggests :)

    December 24, 2011 at 6:01 am #40020
    admin
    Keymaster

    Change the following line

    $var_output = get_variation_and_input_code($ret_product,$line_break);

    To the following:

    $var_output = get_variation_and_input_code($ret_product,false);

    December 26, 2011 at 7:17 pm #40021
    gg1965
    Member

    Thanks again – that worked and I’ve got the display that I’m wanting.

    BTW – I’m really impressed with the service on this forum.

    Thanks

    Graham

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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