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

Remove line breaks on other buttons

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Remove line breaks on other buttons

  • This topic has 2 replies, 2 voices, and was last updated 14 years, 1 month ago by FireSamurai.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 14, 2011 at 9:57 pm #3188
    FireSamurai
    Member

    Hi there,

    I figured out how to remove line breaks from eStore button form when the Add to Cart button is used via the parameters, but I’m unsure of how to do it when there is a Buy Now, Download, or Subscribe button.

    Here is my current button code:

    if($button_type == 1)

    {

    // Add to Cart

    $output .= get_button_code_for_element($ret_product, false);

    }

    else if ($button_type == 2)

    {

    // Buy Now

    $output .= print_eStore_buy_now_button($id);

    }

    else if ($button_type == 3)

    {

    // Subscribe

    $output .= print_eStore_subscribe_button_form($id);

    }

    else if ($button_type == 4)

    {

    // Download

    $output .= eStore_show_download_now_button($id);

    }

    Is there a simple way with parameters to do the same thing with these other type of buttons?

    Thanks,

    FS

    April 15, 2011 at 1:08 am #31352
    amin007
    Participant

    The buy now button functions don’t take those parameters. It needs to be added.

    April 15, 2011 at 5:01 am #31353
    FireSamurai
    Member

    Okay, thanks.

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