My shop page change the slug, the product cannot display

This topic has 20 replies, 4 voices, and was last updated 5 months, 1 weeks ago ago by Andrew Mitchell

  • Avatar: Sam
    Sam
    Participant
    July 7, 2024 at 06:32

    I use the xstore default theme. I have a page slug problem.

    I want to change my shop page’ slug from /shop-2/ to /shop/.

    Original, /shop-2/ can display the product as normal, but I change the slug from /shop-2/ to /shop/ after. The product is not displayed.

    How do I do?

    Thank you.

    Files is visible for topic creator and
    support staff only.
    19 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 7, 2024 at 07:01

    Hello,

    Thank you for reaching out to us with your query. We understand that you are experiencing issues with changing the slug of your shop page from /shop-2/ to /shop/ and the subsequent display of products on your page.

    To assist you effectively, could you please confirm if you have any other pages or posts that might be using the /shop/ slug? Often, issues like this occur due to slug conflicts where the desired slug is already in use elsewhere on your site.

    If the problem persists, we would be happy to investigate further. Please provide us with temporary wp-admin access.

    Thank you for your patience and cooperation.

    Best Regards,
    8Theme’s Team

    Avatar: Sam
    Sam
    Participant
    July 7, 2024 at 08:04

    Please help me check,

    And, I have another problem.

    I test the checkout page.
    If I try to change the quantity, but the quantity cannot change,
    e.g. from 3 to 1, or from 3 to 4.

    Thank you.

    Please contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 7, 2024 at 08:44

    Hello,

    We appreciate your prompt response.

    We kindly request that you post different questions under separate topics for better clarity and organization.

    1/ We have removed duplicate pages. Could you please verify the Shop page URL at your earliest convenience?

    2/ Could you please provide FTP access?
    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Best Regards,
    8Theme’s Team

    Avatar: Sam
    Sam
    Participant
    July 7, 2024 at 10:18

    Thank you very much.

    I checked. The shop page is normal.

    But, I also have two problems that have not yet been solved.

    If I try to change the quantity, but the quantity cannot change,
    e.g. from 3 to 1, or from 3 to 4,

    and I try to update the cart quantity, the green cart update notice continues to display on the shop page.
    Where can I set these notice bars?

    Thank you very much.

    Files is visible for topic creator and
    support staff only.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 7, 2024 at 10:25

    Hello,

    Could you please provide FTP access?
    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Best Regards,
    8Theme’s Team

    Avatar: Sam
    Sam
    Participant
    July 7, 2024 at 15:48

    Please help me check,

    Thank you.

    Please contact administrator
    for this information.
    Avatar: Sam
    Sam
    Participant
    July 8, 2024 at 09:54

    I updated the information.

    Please help me check,

    Thank you.

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

    Hi @Sam,

    We’ve added the following codes under functions.php file locates 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();
    }
    

    Now everything is working fine now.

    Can you please check again?

    Thank you!

    Avatar: Sam
    Sam
    Participant
    July 8, 2024 at 15:34

    Thank you very much.

    I checked the checkout update quantity problem is solved.

    But, after updating the quantity on the cart page,
    the notice bar display on the shop page problem has not been solved.

    How to solve this problem?

    I want the update notice only displayed on the cart page and the notice bar doesn’t show several times.

    Thank you.

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    July 9, 2024 at 05:20

    Hi @Sam,

    We’ve changed the Cart Elemenent to shortcode and it’s working fine now:

    https://prnt.sc/Ex2PcnvIRejJ

    Can you please check?

    Best Regards,
    8Theme’s Team

    Avatar: Sam
    Sam
    Participant
    July 9, 2024 at 08:19

    Thank you very much.

    I checked.
    The notice bar shows several times the problem was solved under the shortcode.

    However, I cannot customise the cart table or cart totals by Cart Page Builder, e.g. I cannot disable or enable SKU, or I cannot set the cart total’s Border Radius and Colour.

    I try to use Cart Page (default) by Elementor widget. I can customise the cart table and cart totals, but the cart update notice bar shows several times will occur.

    How can solve this problem?
    I want to customise the cart table or cart totals by Cart Page Builder and the cart update notice bar doesn’t show several times.

    Thank you.

    Avatar: Justin
    Luca Rossi
    Support staff
    July 10, 2024 at 06:13

    Hi @Sam,

    Please try adding the following code under functions.php file locates in your child theme:

    
    add_action('woocommerce_before_cart_table', 'woocommerce_output_all_notices');
    

    Best Regards,
    8Theme’s Team

    Avatar: Sam
    Sam
    Participant
    July 10, 2024 at 09:55

    Thank you. Your supporting service is great.

    I checked.
    I try adding the code to the function.php file.
    The notice bar shows several times the problem was solved.

    But, it has caused another problem.
    After I try to update the quantity, the cart update notice bar displays on the Cart Table, but the Cart Totals are up. It does not balance the Cart Table.
    How do I do?

    And I have another question.
    I test the mini cart to update the cart quantity.
    The mini cart updates the cart quantity moment, the mini cart product list will flash.
    I tested your Electronics Mega Market default theme which does have not this problem.
    How do I do?

    Thank you very much.

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    July 11, 2024 at 08:33

    Dear Sam,

    We hope this message finds you well.

    But, it has caused another problem.
    After I try to update the quantity, the cart update notice bar displays on the Cart Table, but the Cart Totals are up. It does not balance the Cart Table.
    How do I do?

    Please navigate to XStore > Theme Options > Theme Custom CSS > Global CSS and add:

    
    .elementor-widget-woocommerce-cart-etheme_page .etheme-elementor-cart-checkout-page-wrapper {
        padding-top: 50px;
    }
    .elementor-widget-woocommerce-cart-etheme_page .etheme-elementor-cart-checkout-page-wrapper .woocommerce-notices-wrapper {
        position: absolute;
        top: -50px;
        width: 100%;
    }
    

    And I have another question.
    I test the mini cart to update the cart quantity.
    The mini cart updates the cart quantity moment, the mini cart product list will flash.
    I tested your Electronics Mega Market default theme which does have not this problem.
    How do I do?

    We would like to inform you that the behavior you observed, where a notification appears to indicate changes or updates to the mini cart, is indeed the default functionality. It is possible that the demo you viewed may be utilizing an older version of the XStore theme, which could explain the discrepancy in behavior you experienced.

    Best regards,
    8Theme’s Team

    Avatar: Sam
    Sam
    Participant
    July 11, 2024 at 11:33

    Thank you.

    I tested.
    The first time it updated the quantity was normal,
    but the second time, the third time updated the quantity, the notice bar would go down first and then return to normal.

    I bought your theme on 9-6-2024 and the first download.
    I downloaded it again on 26-6-2024 and installed the theme.
    So, The version should be relatively new.

    Please help me to solve the problem.

    Thank you.

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

    Dear Sam,

    We hope this message finds you well. Could you kindly add the following custom CSS codes to the project and verify their functionality?

    
    form.woocommerce-cart-form {
        position: static !important;
    }
    

    We appreciate your assistance with this matter.

    Thank you!

    Best Regards,
    8Theme’s Team

    Avatar: Sam
    Sam
    Participant
    July 12, 2024 at 09:19

    Thank you very much.

    I tested. The code is working. The problem is solved.

    I have another problem.
    How to change the background colour of the cart page breadcrumb?

    And,
    I set the mini cart checkout button on
    Normal or Hover colour is the same colour,
    but click on the checkout button, the colour of the checkout button has blurred.

    How do I do?
    Thank you.

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

    Hi @Sam,

    Please also add this custom CSS codes:

    
    .woocommerce-checkout .cart-checkout-nav,
    .woocommerce-cart .cart-checkout-nav {
        background-color: #735730 !important;
    }
    
    body .btn-checkout:hover, 
    body .mini-cart-buttons .btn-checkout:hover {
        opacity: 1 !important;
    }
    

    Best Regards,
    8Theme’s Team

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 13, 2024 at 11:44

    Dear Sam,

    Choosing our theme reflects your commitment to quality, and for that, we’re genuinely grateful. As we constantly strive to elevate your experience, your feedback is an invaluable gift. Could you kindly take a moment to rate our product with 5 stars on ThemeForest?

    Click here to share your insights: https://themeforest.net/downloads

    Your support fuels our journey, and we appreciate it more than words can express.

    Best Regards,
    The 8Theme Team

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

The issue related to '‘My shop page change the slug, the product cannot display’' 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.