Cart quantity is not able to update on checkout , cart on woocommerce

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

  • Avatar: Festigift
    Festigift
    Participant
    July 9, 2024 at 06:55

    Cart quantity is not able to update on checkout , cart and other pages of on woocommerce

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    17 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 9, 2024 at 07:26

    Hello Festigift,

    Thank you for contacting us and for using XStore.

    We kindly request that you contact your hosting provider and relay our need for FTP access credentials. Specifically, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type.

    Should you need any assistance in creating these credentials, please do not hesitate to reach out to your hosting provider, who will be able to guide you through the process.

    Thank you for your attention to this matter.

    We would like to bring to your attention that utilizing the Appearance theme editor or a file manager plugin via the site Dashboard to implement fixes or code carries the risk of inducing fatal errors. Such errors could potentially result in you being locked out and the website becoming inaccessible. It is for this reason that we recommend editing files through FTP; the use of the File Manager or theme editor alone does not offer the level of security and control required for such operations.

    Best Regards,
    8Theme’s Team

    Avatar: Festigift
    Festigift
    Participant
    July 9, 2024 at 07:34

    MAy

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 9, 2024 at 07:59

    Hello Festigift,

    You provided incorrect wp-admin access https://prnt.sc/G-pSzO2NUmla and did not provide FTP access, which means we can’t check the situation on your site more deeply, unfortunately.

    Best Regards,
    8Theme’s Team

    Avatar: Festigift
    Festigift
    Participant
    July 9, 2024 at 08:50

    wait i am providing

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 9, 2024 at 09:25

    Hello Festigift,

    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: Festigift
    Festigift
    Participant
    July 9, 2024 at 11:49

    i think

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

    Dear Festigift Team,

    We are pleased to inform you that we have successfully added the custom codes to your system. This update now allows for the modification of quantities on both the cart and checkout pages.

    Could you kindly verify the functionality at your earliest convenience?

    Best regards,
    The 8Theme Team

    Avatar: Festigift
    Festigift
    Participant
    July 10, 2024 at 06:24

    That is working fine but now customer cant able to add product on cart from home page and shop page

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    July 10, 2024 at 07:24

    Hi @Festigift,

    We advise disabling all third-party plugins that are not included with the XStore theme. You can view a list of the included plugins here: https://www.8theme.com/documentation/xstore/plugins/included-plugins/. After deactivating these plugins, please clear your browser’s cache and verify if the issue still persists. This is an important step as third-party plugins can often lead to conflicts.

    If the problem continues, please keep all third-party plugins deactivated and grant us permission to debug your site. This includes deactivating any on-site customizations. This measure will enable us to conduct a thorough investigation and provide you with the necessary assistance.

    Before proceeding with the troubleshooting or any updates, we strongly recommend taking a complete backup of your site to safeguard against any potential data loss.

    Best Regards,
    8Theme’s Team

    Avatar: Festigift
    Festigift
    Participant
    July 10, 2024 at 07:29

    before it was working well but after you added some code for checkout function then only it is creating problem,
    so kindly check the code problem is from your side only not plugin

    Avatar: Justin
    Luca Rossi
    Support staff
    July 10, 2024 at 08:11

    Dear Festigift Team,

    We hope this message finds you well.

    We would like to clarify that our custom code does not interact with the add-to-cart functionality on the homepage or shop page. To illustrate this, we have temporarily removed our custom code, yet the issues previously reported continue to persist, as evidenced by the screenshot available here: https://prnt.sc/4n18xuIeO6wy.

    We kindly request that you conduct a test for potential plugin conflicts to further investigate this matter.

    Thank you for your attention to this issue.

    Best regards,
    8Theme’s Team

    Avatar: Festigift
    Festigift
    Participant
    July 10, 2024 at 08:18

    ok i found the plugin which is conflicting
    you can the previous code again for checkout

    Avatar: Festigift
    Festigift
    Participant
    July 10, 2024 at 08:19

    add the previous code which you used for checkout

    Avatar: Festigift
    Festigift
    Participant
    July 10, 2024 at 08:38

    add on add to cart is not working

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

    Hi @Festigift,

    To make the custom fields work correctly on the single product page, you have to disable the Ajax Add To Cart setting: https://prnt.sc/iA0SDTHD7bjk

    We’ve done that for you.

    Can you check now?

    https://prnt.sc/01EEUhkE_BPg

    Best regards,
    8Theme’s Team

    Avatar: Festigift
    Festigift
    Participant
    July 10, 2024 at 12:51

    yes working thanks

    Avatar: Justin
    Luca Rossi
    Support staff
    July 10, 2024 at 14:29

    Dear @Festigift,

    Should you require any additional assistance, please do not hesitate to contact us.

    Best regards,
    The 8Theme Team

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

The issue related to '‘Cart quantity is not able to update on checkout , cart on woocommerce’' 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.