On check out page product quantity + & – button is not working

This topic has 8 replies, 2 voices, and was last updated 5 months, 1 weeks ago ago by Luca Rossi

  • Avatar: Deep
    Deep
    Participant
    July 10, 2024 at 07:30

    on check out page product quantity + & – button is not working not able to increase and decrease quantity

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    7 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    July 10, 2024 at 08:06

    Hi @Deep,

    We appreciate your prompt response.

    Please try to add the next code in the functions.php file located in your child theme:

    function etheme_update_cart_item_quantity() {
    	if ( ( isset( $_REQUEST['item_id'] ) && $_REQUEST['item_id'] ) && isset( $_REQUEST['qty'] ) ) {
    		global $woocommerce;
    		if ( $_REQUEST['qty'] )
    			WC()->cart->set_quantity( $_REQUEST['item_id'], $_REQUEST['qty'] );
    		else
    			WC()->cart->remove_cart_item($_REQUEST['item_id']);
    	}
    	WC_AJAX::get_refreshed_fragments();
    }

    If this doesn’t help, we need FTP access from you to check the issue more deeply.

    Best Regards,
    8Theme’s Team

    Avatar: Deep
    Deep
    Participant
    July 10, 2024 at 08:17

    how to and where to add this code? please guid me with the step by step process please

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    July 10, 2024 at 10:47

    Hi @Deep,

    We would need access to your WP Admin and FTP accounts to further investigate and address the problem.

    To grant WP-Admin access, kindly create a new user account with an administrator role via your WordPress Dashboard. Once the account is set up, please securely share the login credentials with us through the Private Content section designated for this purpose.

    For FTP access, please provide us with the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you require assistance in setting up these credentials, your hosting provider should be able to assist you.

    Thank you for your cooperation and assistance. We look forward to your prompt response.

    Best Regards,
    8Theme’s Team

    Avatar: Deep
    Deep
    Participant
    July 10, 2024 at 11:27

    Details are Provided …

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    July 10, 2024 at 11:50

    Hi @Deep,

    We couldn’t connect to your FTP Accounts, please double check: https://prnt.sc/xrxmyLtiXpDA

    If you can login to your FTP Accounts, please add the following code at the end of this file: /wp-content/themes/xstore-child/functions.php

    
    function etheme_update_cart_item_quantity() {
    	if ( ( isset( $_REQUEST['item_id'] ) && $_REQUEST['item_id'] ) && isset( $_REQUEST['qty'] ) ) {
    		global $woocommerce;
    		if ( $_REQUEST['qty'] )
    			WC()->cart->set_quantity( $_REQUEST['item_id'], $_REQUEST['qty'] );
    		else
    			WC()->cart->remove_cart_item($_REQUEST['item_id']);
    	}
    	WC_AJAX::get_refreshed_fragments();
    }
    

    Hope it helps!

    Avatar: Deep
    Deep
    Participant
    July 10, 2024 at 12:07

    issue resolved thanks ….

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    July 10, 2024 at 14:28

    Dear Deep,

    We would like to inform you that the issue you reported will be addressed in our forthcoming updates.

    We apologize for any inconvenience this may have caused you.

    Best Regards,
    The 8Theme Team

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

The issue related to '‘on check out page product quantity + & – button is not working’' has been successfully resolved, and the topic is now closed for further responses

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