Page 5 of 85 FirstFirst ... 345671555 ... LastLast
Results 41 to 50 of 848
  1. #41
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,977
    Plugin Contributions
    109

    Default Re: Quantity Discounts for 1.3

    Another suggestion has been added to the Quantity Discounts FAQ:

    http://www.thatsoftwareguy.com/zenca...discounts.html

    If you are concerned that people don't know they might have a discount coming
    when they look at their cart, try changing SUB_TITLE_SUB_TOTAL in includes/languages/english/shopping_cart.php to something like 'Sub-Total BEFORE Discount'
    This will emphasize the fact that a discount will be added at checkout time.

    Good luck,
    Scott
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.

  2. #42
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    273
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Is there a way to add an 'if' statement before this code so when I place it into
    tpl_product_info_display.php, it will only display the discount info if that item is actually one of the items that include a quantity discount? Otherwise, nothing will appear (so it won't confuse the customer with a generic statement that's not needed otherwise.

    I don't mind typing in all my included (or excluded) categories or items, but I can't figure out the code to create an 'if' statement.

    thanks,
    Jeff Michaels
    Musical Creations Ltd.


    <?php
    $value = "ot_quantity_discount.php";
    include(zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] .
    '/modules/order_total/', $value, 'false'));
    include(DIR_WS_MODULES . "order_total/" . $value);
    $discount = new ot_quantity_discount();
    echo '<div class="content" id="discountPolicy">';
    echo '<h2>' . STORE_POLICY . '</h2>';
    echo $discount->get_html_policy();
    echo '<br /></div>';
    ?>

  3. #43
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,977
    Plugin Contributions
    109

    Default Re: Quantity Discounts for 1.3

    Yes you can, Jeff. Just be sure to put a reminder note in ot_quantity_discount.php (in whatever user exits you have used) to keep this file in sync with tpl_product_info_display.php.

    The code in tpl_product_info_display.php for a specific category would be:

    if ($current_category_id == 14) {
    ...
    }

    or for a specific product

    if ((int)$_GET['products_id'] == 27) {
    ...
    }

    Good luck,
    Scott
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.

  4. #44
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    273
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Scott,

    Is this to include or exclude?

    thanks,
    Jeff

  5. #45
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    273
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Scott,

    2 other questions:

    1--

    How do you correctly write this code for multiple exits (multiple ifs) ?
    What did I do wrong here?

    I did one and it worked perfectly, but I cannot get 2 to 'code' correctly.


    <?php
    if ($current_category_id == 68)
    if ($current_category_id == 69) { {
    $value = "ot_quantity_discount.php";
    include(zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] .
    '/modules/order_total/', $value, 'false'));
    include(DIR_WS_MODULES . "order_total/" . $value);
    $discount = new ot_quantity_discount();
    echo '<div class="content" id="discountPolicy">';
    echo '<h2>' . STORE_POLICY . '</h2>';
    echo $discount->get_html_policy();
    echo '<br /></div>';
    } }
    ?>


    2--

    What is the code for 'exclude', instead of 'include?
    I have less to exclude, so there would be less of them to write in

    thanks,
    Jeff

  6. #46
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,977
    Plugin Contributions
    109

    Default Re: Quantity Discounts for 1.3

    Examples of inclusion and exclusion of this message for specific product and category ids are provided in my page

    http://www.thatsoftwareguy.com/zenca..._messages.html

    Good luck,
    Scott
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.

  7. #47
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    273
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Yep,

    That does it! thanks Scott

  8. #48
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,977
    Plugin Contributions
    109

    Default Re: Quantity Discounts for 1.3

    Quantity Discounts interoperates with 1.3.6. There have been changes to the tax computation in other order total modules that I may incorporate (possibly optionally) at a later date.

    Thanks,
    Scott
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.

  9. #49
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,977
    Plugin Contributions
    109

    Default Re: Quantity Discounts for 1.3

    Oh, by the way, the customization to shopping_cart.php from early versions of Quantity Discounts is no longer needed if you're upgrading to 1.3.5 or 1.3.6. Just upgrade to the latest Quantity Discounts and you'll be all set.

    Scott
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.

  10. #50
    Join Date
    Aug 2004
    Location
    Fountain Hills, AZ
    Posts
    515
    Plugin Contributions
    1

    Default Re: Quantity Discounts for 1.3

    scott, I sent you an email, hopefully you received it. I have a what seems to be a more complicated discount model than can be created with the current exits.

    I have two categories that are sub-cats of the same parent - I want to create a discount where the customer can mix or match quanties from either or both of thse categories. the discount from categoryA with items >4 = X and the discount from category B =Y. The >4 as I said can be composed of products from either, or both categories. I've explained it in more detail in email.

    My question is, can this be done with your additional exits that you offer on your site? I really am pressed on this and am interested in contacting you.

    Thanks

 

 
Page 5 of 85 FirstFirst ... 345671555 ... LastLast

Similar Threads

  1. v153 quantity discounts for attributes
    By delia in forum General Questions
    Replies: 1
    Last Post: 14 Oct 2014, 02:34 PM
  2. v150 Quantity Discounts for shipping 1.5
    By jpmill in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 7 Apr 2013, 05:28 PM
  3. v150 Quantity Discounts for 1.5?
    By mobishelf in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 21 Feb 2012, 12:40 AM
  4. Hide quantity discounts for general customers, show for groups only?
    By swamyg1 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 3
    Last Post: 16 Nov 2009, 09:22 PM
  5. Quantity Discounts for Sets?
    By mwlahn in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 30 Mar 2008, 07:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR