Results 1 to 10 of 3052

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,697
    Plugin Contributions
    11

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by mvstudio View Post
    I assumed the APPLY button wouldn't need the T&C box to be checked. A customer might not know that and do the same I did. In any case, I tried checking the T&C box and the message displayed is the message from define_checkout_one.php but no message about the coupon being applied.
    Yep, if the Admin >> Configuration >> Regulations are set to true, the system will not continue and throw the error.

    Knowing that you get the same coupon result either way, can help with the troubleshooting.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  2. #2
    Join Date
    Apr 2008
    Posts
    446
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by dbltoe View Post
    Yep, if the Admin >> Configuration >> Regulations are set to true, the system will not continue and throw the error.

    Knowing that you get the same coupon result either way, can help with the troubleshooting.
    I removed the the regulations, entered the coupon code, clicked APPLY and no coupon confirmation message either, so I'm guessing T&C box has no effect on this. I do need to have the regulations set to true though. I'll keep on working on the suggestions and see what I get.

  3. #3
    Join Date
    Apr 2008
    Posts
    446
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    Re-installed the plugin as it comes out of the box (well folder) before trying the suggestions and still the "Congratulations you have redeemed the Discount Coupon" won't display.

  4. #4
    Join Date
    Apr 2008
    Posts
    446
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    @lat9 I'm guessing this is what you where telling me to look for. I have no idea how to read that though

    Click image for larger version. 

Name:	messagestack.jpg 
Views:	64 
Size:	20.8 KB 
ID:	18623

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,937
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by mvstudio View Post
    @lat9 I'm guessing this is what you where telling me to look for. I have no idea how to read that though

    Click image for larger version. 

Name:	messagestack.jpg 
Views:	64 
Size:	20.8 KB 
ID:	18623
    You got it, @mvstudio! That coupon-related message is 'targeted' (via that class parameter) to be displayed for a checkout group (which isn't one of the groups looked at by OPC). The base checkout_one-page template (tpl_checkout_one_default.php) will display the checkout_payment, checkout_shipping and redemptions groups by default.

    If you make a template-override copy of that module, changing this section:
    Code:
    $messages_to_check = array('checkout_shipping', 'checkout_payment', 'redemptions');
    foreach ($messages_to_check as $page_check) {
        if ($messageStack->size ($page_check) > 0) {
            echo $messageStack->output ($page_check);
        }
    }
    to read
    Code:
    $messages_to_check = array('checkout_shipping', 'checkout_payment', 'redemptions', 'checkout');
    foreach ($messages_to_check as $page_check) {
        if ($messageStack->size ($page_check) > 0) {
            echo $messageStack->output ($page_check);
        }
    }
    ... I believe that you'll find that coupon/reward-points message now displays.

    FWIW, I've created a GitHub issue for OPC and will add that 'class' to its default display for the next release.

  6. #6
    Join Date
    Apr 2008
    Posts
    446
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    You got it, @mvstudio! That coupon-related message is 'targeted' (via that class parameter) to be displayed for a checkout group (which isn't one of the groups looked at by OPC). The base checkout_one-page template (tpl_checkout_one_default.php) will display the checkout_payment, checkout_shipping and redemptions groups by default.

    If you make a template-override copy of that module, changing this section:
    Code:
    $messages_to_check = array('checkout_shipping', 'checkout_payment', 'redemptions');
    foreach ($messages_to_check as $page_check) {
        if ($messageStack->size ($page_check) > 0) {
            echo $messageStack->output ($page_check);
        }
    }
    to read
    Code:
    $messages_to_check = array('checkout_shipping', 'checkout_payment', 'redemptions', 'checkout');
    foreach ($messages_to_check as $page_check) {
        if ($messageStack->size ($page_check) > 0) {
            echo $messageStack->output ($page_check);
        }
    }
    ... I believe that you'll find that coupon/reward-points message now displays.

    FWIW, I've created a GitHub issue for OPC and will add that 'class' to its default display for the next release.
    You're AWESOME!!!!! Thank you!!!
    It does work beautifully for the coupons, but not for the reward points. Actually no message is generated at all for reward points not even on the regular ZC checkout.

    But I can work with this. Since I have prevented coupons and reward points from being used together, I can reword the message for customers to remove the coupon if they want to use their rewards and viceversa.

    Thank you so, so much!!!

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,937
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    No problems, @mvstudio; the resolution of your issue hinged on providing that screenshot!

 

 

Similar Threads

  1. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 146
    Last Post: 2 Nov 2023, 12:50 AM
  2. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2021, 03:36 PM
  3. v151 Site Map/Page Not Found: Combined [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Jan 2016, 02:19 PM
  4. v151 PayPal Express Checkout Using NVP 84.0 [Support Thread]
    By lat9 in forum Addon Payment Modules
    Replies: 32
    Last Post: 28 Dec 2015, 04:54 PM
  5. Checkout Amazon Style -- Support Thread
    By CJPinder in forum All Other Contributions/Addons
    Replies: 72
    Last Post: 13 Apr 2011, 08:18 PM

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