I mistakenly closed the topic I still have some concerns related to my last topic.

This topic has 12 replies, 2 voices, and was last updated 1 years, 5 months ago ago by Rose Tyler

  • Avatar: Golden Eagle
    Shehzad Ghazi
    Participant
    June 20, 2023 at 23:34

    This is the post I am taking about.

    https://www.8theme.com/topic/limited-or-out-of-stock-after-cart-update/#post-359784

    I have contacted to woo-commerce support and they suggested a way to test it in order to find the main problem. I tried deactivating plugins and shifting the theme, so what happening is if I disable all the plugins except Woocomerce and shift to the storefront theme the error got fixed, and when I shift from the storefront theme to Xstore we required a plugin called Xstore core right after activating Xstore core plugin again it starts showing the parent item but not the variation.

    Please, contact administrator
    for this information.
    11 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 21, 2023 at 06:53

    Hello, Shehzad Ghazi,

    Thank you for your response.

    Please provide screenshots or video of the desired behavior with the default theme and screenshots of video of current result with XStore that you would like to change.

    Thank you for your cooperation and we look forward to hearing from you soon.

    Kind Regards,
    8theme team

    Please contact administrator
    for this information.
    Avatar: Golden Eagle
    Shehzad Ghazi
    Participant
    June 21, 2023 at 09:02

    Here is the default theme, no plugins are activated, but only woocommerce with default theme.
    https://prnt.sc/CTOaCIyrNhPJ
    in which it shows which varaint is now out of stock after customer added and slept on it for a day, the item is no longer in stock

    now below screenshot
    https://prnt.sc/PU0fiWUa519c

    we activated just the core plugin provided by xtheme, while keeping all the others deactivate, and now behavior is different

    as you can see main title of the item shows out of stock,
    we have varients as large as 50 or 60, and if it shows just the title and not the variant name, customer have no idea which one is out of stock,

    plus my suggestion is ever further in this area, not only it should say which variant, but in cart it should highlight the item itself,
    in some theme we have even seen, if the item now has zero quantity avaliable if customer has 4, it has the message in item line which shows, you have selected 4, and now we have this much avaliable so please adjust it. Some theme even goes further, and adjust the quantities by itself, and let the customer know, since your order is 4, and now we have 2 avalaible, the quantities have to been adjusted.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 21, 2023 at 09:33

    Hello, Shehzad Ghazi,

    Thank you for your response.

    Please provide FTP access also.
    To create FTP access, please contact your hosting provider for assistance.

    We can’t access Dashboard with the access you provided, please set an administrator role for ethesham user.

    Kind Regards,
    8theme team

    Avatar: Golden Eagle
    Shehzad Ghazi
    Participant
    June 21, 2023 at 12:19

    The ftp is for actual demo site but currently we are working on staging2 but when you do the ftp you see see both the actual and sub domain, I also change the user to admin access as well

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 21, 2023 at 13:45

    Hello, Shehzad Ghazi,

    Thank you for your response.

    Please try to add the next code in xstore-child/functions.php:
    remove_filter( 'woocommerce_product_variation_title_include_attributes', '__return_false' );
    Or the next one
    add_filter('woocommerce_product_variation_title_include_attributes', '__return_true');
    Clear the cache and check the result.

    Also, check this topic – https://www.8theme.com/topic/product-name-with-variation-on-woo-orders/#post-358749

    Kind Regards,
    8theme team

    Avatar: Golden Eagle
    Shehzad Ghazi
    Participant
    June 21, 2023 at 16:27

    Thanks for the response,

    I tried the given code but unfortunately, it didn’t work. Need to fix this ASAP.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 21, 2023 at 17:01

    Hello, Shehzad Ghazi,

    We added the next code in functions.php of your child theme:

    add_action( 'after_setup_theme', function() {
     add_filter( 'woocommerce_product_variation_title_include_attributes', '__return_true' );
    } , 999 );

    Please clear cache and check the Cart page now.

    Post your requests on our Taskboard at https://www.8theme.com/taskboard/. If it receives enough votes from other customers, our development team will consider adding it in one of the upcoming updates.

    Kind Regards,
    8theme team

    Avatar: Golden Eagle
    Shehzad Ghazi
    Participant
    June 21, 2023 at 17:33

    Thanks for the new code it worked, But when I put multiple items in the cart and unstock them the message is only mentioning the 1 product but not multiple items which are out of stock in the cart.

    Also we need to display a message if item are limited in stock.

    Please find the screenshot in private content area.

    Thanks

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 21, 2023 at 18:59

    Hello, Shehzad Ghazi,

    Please test how it works with the default WC theme – Storefront.

    Kind Regards,
    8theme team

    Avatar: Golden Eagle
    Shehzad Ghazi
    Participant
    June 21, 2023 at 22:52

    As I mentioned earlier the problem we are facing after converting from storefront theme to xstore theme.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 22, 2023 at 15:31

    Hello, Shehzad Ghazi,

    The Storefront theme does not display several out-of-stock products in the cart (see video 1 from the Private content area), and it does not have notifications for limited in stock (see video 2).

    This is not a default functionality, so you can leave a request for adding such functionality on the Taskboard at https://www.8theme.com/taskboard/. If it receives enough votes from other customers, our development team will consider adding it in one of the upcoming updates.

    You can contact our partners with a request about additional customization service, the Codeable team, who will perform your task quickly and with high quality – https://codeable.io/?ref=qGTdX

    Kind Regards,
    8theme team

    Please contact administrator
    for this information.
  • Viewing 12 results - 1 through 12 (of 12 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.