This topic has 9 replies, 3 voices, and was last updated 10 months, 2 weeks ago ago by Rose Tyler
Hi there,
We are having issues with some variable products that are in stock, but when trying to add them to cart, is showing a message saying its out of stock.
So you know why this is happening?
We have 2 products with this issue and keep appearing products more like this:
https://ninaindumentaria.com.ar/product/short-creep-boston-5007b/
https://ninaindumentaria.com.ar/product/blazer-clasico-creep-maui-6003/
Best regards,
Hello, @Jennifer,
Thank you for using our theme and for contacting us.
Upon reviewing the issue you described, it seems that the problem is related to the swatches of the variable products. It appears that the variation and price have been set up correctly, but there’s an oversight in the inventory management settings.
To resolve this, please follow these steps:
a) Navigate to the product in question in your WordPress admin.
b) Edit the product and go to the “Variations” tab.
c) For each variation, ensure that the “Gestionar inventario” (Manage inventory) option is checked.
d) Additionally, make sure to enter the “Cantidad del inventario” (Inventory quantity) for each variation.
By checking the inventory management option and adding the inventory quantity, you should no longer encounter the issue of the product being mistakenly shown as out of stock when it is actually in stock.
For a visual reference, please consult the image provided at the following link: https://imgur.com/a/Vzd8BnU
If you have any further questions or encounter any difficulties, please don’t hesitate to reach out, and we’ll be happy to assist you.
Best regards,
The 8Theme Team.
Hello and thank you for the reply,
Yes, you are right! The productos were out of stock.
We didn´t notice because when other products are out of stock, they appear with an X, and this product is not showing the X for products without stock.
For example:
https://ninaindumentaria.com.ar/product/biker-clasica-corta-microfibra-1077/
We used css code to personalize the X on Out to stock products.
Do you know why this products are not showing the X?
regards,
Hello, @Jennifer,
Thank you for providing additional information. It seems that the issue is specific to the custom CSS applied to indicate out-of-stock products, and we prefer a different approach for managing the visibility of out-of-stock variations. To address this, you can suggest the following steps to the customer:
a) Navigate to the Product:
In your WordPress admin, go to the product in question.
b) Edit the Variation:
Access the “Variations” tab and locate the specific variation for which you want to indicate that it’s out of stock.
c) Disable the Variation:
CheckOFF the “Enabled” option for the variation and turn it off. This will effectively disable the variation and prevent it from being selected by customers.
d) Update the Product:
Save the changes by updating the product.
For a visual reference, please consult the image provided at the following link:
https://imgur.com/a/LjQeBEl
https://imgur.com/a/yehIxxl
By following these steps, the variation will be marked as disabled and not selectable by customers, effectively achieving the desired outcome of indicating that the product is out of stock.
Yours sincerely,
The 8Themes Team
Hi Tony,
We tried Unchecking the ¨enabled¨ box but the problem persists.
The issue is not that the product is being added to the cart when out of stock. The issue is that de X is not appearing on the variations when out of stock.
Seams a little silly, but clients get confused because all other products, when out of stock, shows the variation crossed.
Only this 2 products are not showing the variation crossed when out of stock.
This is a product that is Out of Stock and it shows the variation crossed:
https://ninaindumentaria.com.ar/product/biker-clasica-corta-microfibra-1077/
Do you know what could be causing this?
Hello, @Jennifer,
We kindly request that you provide a screenshot of the Custom CSS, specifically from the location where you have applied the CSS for the “We used CSS code to personalize the ‘X’ on Out-of-Stock products.” This will assist us in closely examining the issue and providing an effective resolution.
To facilitate this process, please upload the screenshots to https://imgbb.com/ and kindly share the provided links in your response.
Furthermore, we would be grateful if you could grant us working administrative access to your WordPress site. This will allow us to conduct a thorough investigation and ensure a more precise diagnosis of the situation.
For a visual reference, please consult the video provided at the following link in private content area:
We kindly recommend that you take a complete backup of your site before proceeding.
Thank you for your cooperation and understanding. We are committed to ensuring your satisfaction and look forward to resolving your issue promptly.
Yours sincerely,
The 8Themes Team
Hello,
Yes, here is the css used
/* Swatches out of stock */
.st-swatch-preview li.sten-li-disabled span:before, .st-swatch-disabled-cross-line.st-swatch-preview li.sten-li-disabled span:before {
background: linear-gradient(to top left,rgba(0,0,0,0) 0,rgba(0,0,0,0) calc(50% – 0.8px),#222 50%,rgba(0,0,0,0) calc(50% + 0.8px),rgba(0,0,0,0) 100%),linear-gradient(to top right,rgba(0,0,0,0) 0,rgba(0,0,0,0) calc(50% – 0.8px),#222 50%,rgba(0,0,0,0) calc(50% + 0.8px),rgba(0,0,0,0) 100%);
}
.st-swatch-preview li.sten-li-disabled {
border-color: #222 !important;
border-top-color: #222 !important;
border-right-color: #222 !important;
border-bottom-color: #222 !important;
border-left-color: #222 !important;
}
Best regards,
Hello, @Jennifer,
Thank you for bringing this to our attention, and We appreciate your efforts in troubleshooting the issue. To further isolate and address the problem, We recommend taking the following steps:
a) Disable all third-party plugins on your site except for the Theme Required/Recommended plugins.
Read the XStore theme documentation of Plugins and theme update:
https://www.8theme.com/documentation/xstore/plugins/included-plugins/
b) Clear your browser cache to ensure a fresh view of the site.
c) By doing this, we aim to identify any potential conflicts with third-party plugins that might be affecting the display of crossed variations on out-of-stock products.
Please follow these steps and check your site again. If the issue persists, kindly keep all third-party plugins deactivated. In that case, We kindly request your permission to perform a thorough investigation, which includes deactivating all third-party plugins and conducting on-site customizations.
Please be assured that we prioritize the security of your site, and we recommend taking a complete backup before making any changes.
Yours Sincerely,
The 8Themes Team.
Hello,
We hope this message finds you well.
We are writing to inform you that we have introduced a new feature on our support forum that allows for the direct uploading of screenshot files. This enhancement is designed to streamline your experience by eliminating the need to use third-party services for sharing screenshots.
Warm regards,
The 8Theme Team
You must be logged in to reply to this topic.Log in/Sign up