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
You are here: Home

amin007

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 2 posts - 5,806 through 5,807 (of 5,807 total)
← 1 2 3 … 386 387 388
  • Author
    Posts
  • October 13, 2009 at 9:25 am in reply to: How to Remove the Quanity Field #15759
    amin007
    Participant

    The above will remove the “Quantity” header from the table so customer won’t see it but they can still click the “Add to Cart” button twice the quantity will go up. So to take care of that open the “wp_eStore1.php” file and look for the following block of code:

    if ($item['name'] == stripslashes($_POST['product']))
    {
    $req_qty = $item['quantity']+1;
    $update_quantity = is_quantity_availabe($item['item_number'],$req_qty);

    $count += $item['quantity'];
    if ($update_quantity)
    {
    $item['quantity']++;
    unset($products[$key]);
    array_push($products, $item);
    }
    }

    Once you find it, change it to the following to finalize the quantity removal:

    if ($item['name'] == stripslashes($_POST['product']))
    {
    $count =2;
    }

    Thanks to Ian Clarke for modifying the code to match with the current version of eStore.

    October 11, 2009 at 10:54 pm in reply to: How to use a different Page Style for the paypal checkout page #15758
    amin007
    Participant

    Yes, you can modify the simple shopping cart to specify a different page style.

    Once the Page Style is set in PayPal all that is necessary to activate it (on the fly) as it passes to Paypal, is one line of HTML code.

    <input type="hidden" name="page_style" value="style name">

    where “style name” is the name of the Page Style page you set in Paypal.

    If you didn’t know your way around HTML and PHP then here is what you need to do…

    1. Open the “wp_shopping_cart.php” file and search for the following line:

    <input type="hidden" name="cmd" value="_cart" />

    2. Now, add the line that adds a custom page style like the follwoing:

    <input type="hidden" name="cmd" value="_cart" /><input type="hidden" name="page_style" value="style name">

    3. Save and upload the modified file and you are done.

    Now when someone clicks the checkout button and goes to PayPal they will see the customer checkout page that you have specified.

  • Author
    Posts
Viewing 2 posts - 5,806 through 5,807 (of 5,807 total)
← 1 2 3 … 386 387 388

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