Coupons don't work on the checkout page

This topic has 23 replies, 4 voices, and was last updated 9 years, 7 months ago ago by Eva Kemp

  • Avatar: devodrome
    devodrome
    Participant
    March 28, 2015 at 19:45

    Hello,

    When applying (or removing) a coupon on the checkout page the cart totals do not update accordingly.

    Also, I am not able to remove the coupons from the checkout page by removing the action on the theme functions.php file:
    remove_action( 'woocommerce_before_checkout_form', 'woocommerce_checkout_coupon_form', 10 );

    Please advise,
    Victor

    Please, contact administrator
    for this information.
    22 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    March 30, 2015 at 18:50

    Hello,

    Please update Woocommerce plugin to the latest version and remove the file wp-content/thmees/idstore/woocommerce/cart/cart-totals.php.
    I’ve added this code in functions.php and now Coupon field on Checkout page is removed:

    function hide_coupon_field( $enabled ) {
    if ( is_checkout() ) {
    $enabled = false;
    }
    return $enabled;
    }
    add_filter( 'woocommerce_coupons_enabled', 'hide_coupon_field' ); 

    Please check.

    Regards,
    Eva Kemp.

    Avatar: devodrome
    devodrome
    Participant
    March 30, 2015 at 20:43

    Hello Eva,

    The coupon field is now hidden on the checkout page but the user is still able to remove the coupon on the final checkout step, and nothing happens in the font-end if the users removes it.

    How could we fix that?

    Thanks,
    Victor

    Avatar: Eva
    Eva Kemp
    Support staff
    March 30, 2015 at 20:49

    Hello,

    Sorry, but concerning this issue you should contact Woocommerce support as this is their configuration.

    Thank you for understanding.

    Regards,
    Eva Kemp.

    Avatar: devodrome
    devodrome
    Participant
    March 30, 2015 at 21:57

    Eva,

    I know it is easy for you to pass me to others (WooCommerce developers, developers who wrote a plug-in that you theme is not compatible with etc.) but before doing that I would recommend you to check if the issue is also present on a standard WooCommerce installation and one of the WordPress default themes.

    Please activate the “Twenty Thirteen” theme, and you will notice that the coupon functionality works just fine on the checkout page. So, the issue is in your theme.

    Also, there is no surprise to me to add another issue to the other many issues I found and reported with your theme so far.

    So, I hope you ask your developers to fix the bugs I reported, and also to make your theme follows the WooCommerce standards.

    Please understand the I am your customer, not your beta tester, so do not treat me like one.

    Avatar: Eva
    Eva Kemp
    Support staff
    March 31, 2015 at 08:11

    Hello,

    Please specify what exactly you want to achieve with “coupon” form.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: devodrome
    devodrome
    Participant
    March 31, 2015 at 08:32

    Hello Eva,

    Here is the scenario (steps to replicate):
    – on the cart page the user enters/uses a coupon
    – on the cart totals sections he has the option to remove the coupon (but he is not going to do that here on this page)
    – the user goes to the checkout page, and he changes his mind and decides to remove the coupon
    – the user clicks on [Remove] but nothing happens in the front-end
    – furthermore, if the user decides to use the coupon directly on the checkout page, although the notification message informs the user that the coupon was applied, there is no feedback in the front-end (i.e. the cart totals from the checkout page are not updated accordingly).

    However, if you are trying the above on the standard WordPress theme, you will notice it works perfectly. So, my assumption is that the issue is related to your theme.

    Thanks,
    Victor

    Avatar: Eva
    Eva Kemp
    Support staff
    April 1, 2015 at 13:55

    Hello,

    I’ve removed the file review-order.php in the directory wp-content/themes/idstore/woocommerce/checkout and now the default review-order.php of Woocommerce plugin is loading. Please check the Checkout page now.

    Regards,
    Eva Kemp.

    Avatar: devodrome
    devodrome
    Participant
    April 1, 2015 at 14:16

    Hello Eva,

    Yes, it is working now (after I removed the wp-content/themes/idstore/woocommerce/checkout/review-order.php file).

    Thanks,
    Victor

    Avatar: devodrome
    devodrome
    Participant
    April 1, 2015 at 14:28

    Hello Eva,

    I rushed to say the issues is fixed. That specific issue was actually fixed by removing the file but now there are missing both the “payment method” section and “place order” button on the review order page. You can check that by yourself.

    Once again, please perform full testing on your end before getting back to me (it would save both of us time).

    Victor

    Avatar: devodrome
    devodrome
    Participant
    April 8, 2015 at 10:41

    Hello,

    What happened here (I did not hear from you since one week ago)? Do you have any news? Can you provide me with the fix for that issue?

    Thanks,
    Victor

    Avatar: Eva
    Eva Kemp
    Support staff
    April 9, 2015 at 13:30

    Hello,

    Please take our apologies.
    Our developers are working on the theme update and all issues should be fixed in the new release which is to be produced soon.

    We’re very sorry for the troubles you had to experience.
    Thank you for the patience.

    Regards,
    Eva Kemp.

    Avatar: devodrome
    devodrome
    Participant
    April 9, 2015 at 13:35

    Hello Eva,

    Can you please confirm that ALL the issues I reported will be fixed in the next version of the theme?

    Also, could you be more specific on “soon” (1 week, 2 weeks..)?

    Thanks,
    Victor

    Avatar: Eva
    Eva Kemp
    Support staff
    April 10, 2015 at 11:51

    Hello,

    All bugs that you mentioned will be fixed in the theme update.
    It should be released in a week.

    Sorry for inconveniences.

    Regards,
    Eva Kemp.

    Avatar: konair
    konair
    Participant
    April 16, 2015 at 08:30

    Hello,
    exactly the same problem is in the woopress theme!

    Is there also an update or can I update any file there?

    Perhaps the file is outdated:

    System status says:
    woopress/woocommerce/checkout/review-order.php Version 2.1.8 ist veraltet. Die Hauptversion ist 2.3.0,

    Thanks!

    PS: See also this post here: https://www.8theme.com/topic/total-amount-not-updates-after-change-of-shipping-on-checkout/

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    April 16, 2015 at 08:50

    Hello @konair,

    You can remove the file review-order.php.
    Concerning the other issue you’ll be replied in your created topic.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: devodrome
    devodrome
    Participant
    April 16, 2015 at 08:58

    Hello @konair, Eva,

    As I mentioned in one of my previous posts, removing the review-order.php file does not fix the issue. It actually deletes the coupon field from the checkout page but it breaks other things (see here: https://www.8theme.com/topic/coupons-dont-work-on-the-checkout-page/#post-53861).

    Victor

    Avatar: konair
    konair
    Participant
    April 16, 2015 at 09:12

    Hello,

    if I remove the review-order.php it is not the solution because then the payment options are missing etc.

    Perhaps the problem is out of the outdated files?

    Konstantin

    Avatar: Eva
    Eva Kemp
    Support staff
    April 16, 2015 at 12:21

    Hello @konair,

    Please remove “woocommerce” folder in the directory wp-content/themes/woopress and reupload it from the theme package. Then check Checkout page after that.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: konair
    konair
    Participant
    April 16, 2015 at 13:42

    hello Eva,

    thanks, where do it get the theme package?
    THanks!

    Avatar: Brian Johnson
    Brian Johnson
    Member
    April 16, 2015 at 14:05

    Hello

    Please check the zipped theme folder from themeforest.net. You may dowload the latest theme version there using your purchase code and registration.

    With best regards
    Brian Johnson

    Avatar: konair
    konair
    Participant
    April 16, 2015 at 14:21

    Hello Brian,

    thanks!

    I´ve done this, but without success.
    The problem then is that there are no checkout buttons and the design is not the same.

    this checkout update is working fine, if I disable all the woocommerce folders in the woopress theme.

    But then the design is not given.

    I still think the problem is in the outdated files!

    Avatar: Eva
    Eva Kemp
    Support staff
    April 16, 2015 at 17:06

    Hello @konair,

    Could we please continue our conversation in the topic https://www.8theme.com/topic/total-amount-not-updates-after-change-of-shipping-on-checkout/ to avoid misunderstanding and confusion?
    Please write your further queries in that topic and provide us with correct wp-admin panel credentials.

    Thank you.
    Regards,
    Eva Kemp.

  • Viewing 23 results - 1 through 23 (of 23 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.