Home Forums Pro Themes eCommerce Market Pro Apply Coupon on cart page not working

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #69624
    Matthew Young
    Participant

    Hi,

    On the cart page, the button to submit a coupon code does not work. On the checkout page, it does work. Ideally both would work. I think something is off in the PHP? Other themes have has similar issues with woo commerce.

    the link to my site is https://nomadic6.com/cart/

    This was the solve for another theme but I believe the your php is already correct.

    Orignal code in “cart.php”

    Original cart.php
    =========================

    <?php if ( wc_coupons_enabled() ) { ?>
    <div class=”coupon”>

    <label for=”coupon_code”><?php _e( ‘Coupon’, ‘siteorigin-north’ ); ?>:</label>
    <input type=”text” name=”coupon_code” class=”input-text” id=”coupon_code” value=”” placeholder=”<?php esc_attr_e( ‘Coupon code’, ‘siteorigin-north’ ); ?>” />
    === orig ===> <button type=”submit” class=”button” name=”apply_coupon”><?php esc_attr_e( ‘Apply Coupon’, ‘siteorigin-north’ ); ?></button>

    <?php do_action( ‘woocommerce_cart_coupon’ ); ?>
    </div>
    <?php } ?>

    Changed code in “cart.php” – only change “button” to “input”

    Modified cart.php
    =========================

    <?php if ( wc_coupons_enabled() ) { ?>
    <div class=”coupon”>

    <label for=”coupon_code”><?php _e( ‘Coupon’, ‘siteorigin-north’ ); ?>:</label>
    <input type=”text” name=”coupon_code” class=”input-text” id=”coupon_code” value=”” placeholder=”<?php esc_attr_e( ‘Coupon code’, ‘siteorigin-north’ ); ?>” />
    === chng ===> <input type=”submit” class=”button” name=”apply_coupon”><?php esc_attr_e( ‘Apply Coupon’, ‘siteorigin-north’ ); ?></button>

    <?php do_action( ‘woocommerce_cart_coupon’ ); ?>
    </div>
    <?php } ?>

    #69828
    wensolutions
    Keymaster

    Hello @myoun008,

    First of all our sincere apology in the delay in replying to you.

    Actually, it is noted as the known issue and we will definitely fix it in the coming updates.

    As for now to resolve the issue you have to create the child theme.

    You can create the child theme manually or simply by using the plugin given below:

    https://wordpress.org/plugins/wp-child-theme-generator/

    After activating the child theme in your child theme create the folder “woocommerce”. Inside the folder woocommerce create another folder “cart” and again inside the folder cart create the file “cart.php” and paste below-given code:

    https://gist.github.com/Steeru/669df25af7156aa5b2cefd8de3597b71

    Please make sure to follow the same path as mentioned above in your child theme.

    Hope this helps.

    Best Regards!!

    #70352
    Matthew Young
    Participant

    Yes this worked! Thanks for your help 🙂

    #70355
    wensolutions
    Keymaster

    Hello @myoun008,

    Glad we could help you.

    Any further issues are always welcome.

    We would also really appreciate if you could help us by rating our theme by following the link given below:

    https://wordpress.org/themes/ecommerce-market/

    Thank you.

    Best Regards!!

    #74616
    Matthew Young
    Participant

    Hi again,
    my child theme seems to be reacting badly with some plugins, lots of bug on my site now, especially in the footer section. Any Idea when your new update will be released with the working coupon button I mentioned above?

    #74765
    wensolutions
    Keymaster

    Hello @myoun008,

    We are working on the updates and hopefully, we will soon release the update after all the necessary testings.

    Hoping for the co-operation.

    Thank you.

    Regards!!

    #80081
    Matthew Young
    Participant

    Hi,

    We’ve been working to increase the speed on our site but my developer is saying this theme is really slow, and suddenly after I updated some plugins there are all kinds of bugs on the site nomadic6.com They are suggesting we switch to a faster theme but honestly I rather not have to re develop the site. Can you offer any help?

    #80731
    wensolutions
    Keymaster

    Hello @myoun008,

    The significance of website speed is very less with the theme that you are using as generally theme handles layout part of the website only and uses minimal resources as fas as possible.

    Furthermore, all of our theme are developed with best coding practices and WordPress standards and thus is unlikely to have caused issues regarding pagespeed.

    However, if you are still having trouble with your page speed due to the theme, please provide us details on the issues caused by the theme so that we can look into the issues further and provide some precise fix.

    Best Regards !!

    #150632
    SAHIB
    Participant

    Hi
    I found this information very informative for new bloggers and for those who want to make such kind of themes and download themes from such sites that you created for bloggers. it’s really make my interest to purchase themes from your site. The similar sites I found that have similar tools and services that you are provided (revglue.com/blog-detail/5-how-to-setup-a-uk-discount-voucher-website-in-ten-minutes) if you think it will be beneficial for people then please visit here for more information. This site has huge amount of coupons data and i also noticed that it is updating this data daily which is the best thing for someone who is looking to make a set up for discount coupons. Revglue.com is also providing with free templates to setup a free site for us in few minutes. By the way I am here to know if anyone else is using Revglue.com? If yes kindly share your experience with me.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.