vladismenko Posted April 11, 2023 Share Posted April 11, 2023 Hello, please how to solve this bug?https://green-bike.sk/hardtail-pevne-bicykle/92159-351011-ctm-horsky-bicykel-rambler-20-matna-pieskovcova-siva-29-2022.html#/102-velkost_ramu-m/1082-predajna-ruzova_dolina Combination: M; Ružová dolina - in stock Combination: L; Ružová dolina - out of stock So i cannot click on combination L. How to mage it, that it will automatically choose L; Cyprichova (in stock) ? Link to comment Share on other sites More sharing options...
JBW Posted April 11, 2023 Share Posted April 11, 2023 You should be able to select the combination regardless of the stock level (it should give you out of stock message afterwards). But there is a JS error on your shoip as soon as you select a combination that could cause the problem To avoid selection of out of stock attributes you can either hide them in the shop settings or use a module to indicate them propoerly on the product page Link to comment Share on other sites More sharing options...
vladismenko Posted April 11, 2023 Author Share Posted April 11, 2023 In admin - I have hide out of stock combinations. But here "L" is in stock - but not with attribute "Ruzova dolina" but only with attribute "Cybrichova" . And because of this, I cannot choose L . Do you know some modul that can help? Or some fix of this bug? Link to comment Share on other sites More sharing options...
TiaNex Shopping Posted April 11, 2023 Share Posted April 11, 2023 there are also 403 errors in console, to load resource: the server responded with a status of 403 () it maybe caused by the js file doesn't load, Link to comment Share on other sites More sharing options...
JBW Posted April 12, 2023 Share Posted April 12, 2023 15 hours ago, vladismenko said: Do you know some modul that can help? Or some fix of this bug? You can check out my module Attribute Price and Availability Display (https://addons.prestashop.com/en/product.php?id_product=50460) - it can help you with the visualisation of out of stock combination. But you should fix the java script bug anyway as it seems to prevent the proper attribute selection - maybe get in touch with the theme developer Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now