Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2006
    Posts
    46
    Plugin Contributions
    0

    Default Calculate after coupon total before checkout?

    Is there a way to have Zen Cart calculate a customers total (so they can see it) after they apply a coupon code, but before they enter their credit card number? Im setting up my cart and testing coupons.. i personally would want to see what my actual total was before i entered my credit card number and pressed "next" ~ even if it wasnt going to charge it yet.

    Is there some kind of code that can be added or a mod for this?? Any suggestions welcome ;-)

    M

  2. #2
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Calculate after coupon total before checkout?

    If the customer enters the coupon code and presses Enter, the screen will refresh to say that they've redeemed the coupon. It will show the coupon code, along with the revised subtotals, and a message asking them to provide payment information.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Aug 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: Calculate after coupon total before checkout?

    Quote Originally Posted by DrByte View Post
    If the customer enters the coupon code and presses Enter, the screen will refresh to say that they've redeemed the coupon. It will show the coupon code, along with the revised subtotals, and a message asking them to provide payment information.
    Wonderful.. I was able to duplicate that result.

    Next question(s) would be, can i add some text to that discount coupon area on the checkout page to inform the customer they may press enter or refresh to see updated total? And on the same note, add text to the shipping insurance area right underneath that to show the fee schedule for insuring their package?

    I am using version 1.3.7, and someone made a template for me.. so i would need to know where to locate the file to change.. if one exsists.

    Thank you so much for your time
    M

  4. #4
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Calculate after coupon total before checkout?

    FAQ on language file overrides:
    https://www.zen-cart.com/tutorials/i...hp?article=231

    Files in question:
    /includes/languages/english/YOURTEMPLATE/checkout_shipping.php
    /includes/languages/english/YOURTEMPLATE/checkout_payment.php
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Aug 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: Calculate after coupon total before checkout?

    I did it!

    Thanks a bunch ;-)

    M

  6. #6
    Join Date
    Jun 2005
    Location
    Texas
    Posts
    59
    Plugin Contributions
    0

    Default Re: Calculate after coupon total before checkout?

    DR Byte,

    Is this feature only available on 1.3+? I am still using 1.2.6 (upgrading in process) and tried this but it gives me an error asking for the credit card info.

  7. #7
    Join Date
    Jun 2007
    Posts
    72
    Plugin Contributions
    0

    Default Re: Calculate after coupon total before checkout?

    Quote Originally Posted by DrByte View Post
    FAQ on language file overrides:
    https://www.zen-cart.com/tutorials/i...hp?article=231

    Files in question:
    /includes/languages/english/YOURTEMPLATE/checkout_shipping.php
    /includes/languages/english/YOURTEMPLATE/checkout_payment.php
    Suggestion makes sense. I'd like to change the Discount Coupon text on the checkout_payment page but can't seem to find the proper DEFINE fields to modify in the two files you mentioned above. Can you please tell me how I can modify the copy in the "Discount Coupon" area of that page?

    thanks,
    Don

  8. #8
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Calculate after coupon total before checkout?

    Find the text you want to change, or text near where you want to add something, and look up where that existing text is found ... many times you will make your changes in the same file ...

    https://www.zen-cart.com/tutorials/index.php?article=38
    https://www.zen-cart.com/tutorials/index.php?article=39
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Calculate free ship total after coupons
    By mysh in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 29 Dec 2013, 06:48 AM
  2. How can I make an attribute calculate a by-the-inch price and show before checkout?
    By Z888999777T in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 28 Feb 2011, 11:42 AM
  3. Replies: 2
    Last Post: 5 Jan 2011, 10:31 AM
  4. Google checkout: Coupon entered before or after?
    By neckwood in forum Addon Payment Modules
    Replies: 2
    Last Post: 17 May 2009, 10:16 PM
  5. See coupon and total before creadit card
    By silenceway in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Jul 2008, 05:13 PM

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