Littlepants Posted July 1, 2016 Share Posted July 1, 2016 On some items on my categories pages (Front Office) it shows text sayng "Product available with different options" Other items which also have different options don't show this text. Also some items say (In stock) and the odd one doesn'yt say anythng. I'm blowed if I can find out how to change these texts. Can anyone help please? I'm sure it's something really simple - I just cant see it - maybe its word blindness! Link to comment Share on other sites More sharing options...
musicmaster Posted July 2, 2016 Share Posted July 2, 2016 Can you give an url so that we can see for ourselves? Link to comment Share on other sites More sharing options...
Littlepants Posted July 2, 2016 Author Share Posted July 2, 2016 http://www.littlepants.co.uk/index.php?id_category=249&controller=category&id_lang=2 Link to comment Share on other sites More sharing options...
musicmaster Posted July 2, 2016 Share Posted July 2, 2016 It means that the default option is not available. With products with combinations you can have a buy button on your category page. In that case your will not have the opportunity to select attributes and always get the default combination. If that is not available you get this message. Link to comment Share on other sites More sharing options...
rocky Posted July 2, 2016 Share Posted July 2, 2016 The "Product available with different options" is displayed when the default combination is out of stock, but other combinations are in stock. It signals to the customer that even though the "Add to cart" button is disabled, they can still click on the product and select another combination to add the product to their cart. You can change the text by going to the Localization > Translations tab, selecting "Front Office translations", your theme and "English (English)" and then clicking the "Modify" button. Scroll down to the "product-list" section and then click the header to reveal the translations. You can then change the translation for "Product available with different options" and then click the "Save" button. Link to comment Share on other sites More sharing options...
kerami82 Posted February 26, 2020 Share Posted February 26, 2020 Hi. How can I hide this info "Product available with different options"?? I want "out of stock" info stay. I cant do this with CSS because both have the same id/class. I dont wont translate it. Link to comment Share on other sites More sharing options...
LauraDo Posted November 4, 2020 Share Posted November 4, 2020 Hi, i'm facing the same problem. Do you find a solution ? Thank you Link to comment Share on other sites More sharing options...
tomerg3 Posted November 5, 2020 Share Posted November 5, 2020 Try this free module, that will automatically change the default combination when it's out of stock https://www.presto-changeo.com/home/154-out-of-stock-combination-change.html Link to comment Share on other sites More sharing options...
Yulia Vitun Posted November 11, 2020 Share Posted November 11, 2020 On 11/5/2020 at 5:45 AM, tomerg3 said: Try this free module, that will automatically change the default combination when it's out of stock https://www.presto-changeo.com/home/154-out-of-stock-combination-change.html this module does not work for me, (PS 1.7.6.5) Link to comment Share on other sites More sharing options...
JBW Posted November 11, 2020 Share Posted November 11, 2020 I'm right now developing a module that can indicate or disable (but still display) attributes without stocks. There is also the option to display price impacts. Please send me a private message if you want to beta test it. Link to comment Share on other sites More sharing options...
tomerg3 Posted November 11, 2020 Share Posted November 11, 2020 57 minutes ago, Yulia Vitun said: this module does not work for me, (PS 1.7.6.5) Send us a message on our contact form, and we'll investigate Link to comment Share on other sites More sharing options...
LauraDo Posted November 15, 2020 Share Posted November 15, 2020 On 11/5/2020 at 5:45 AM, tomerg3 said: Try this free module, that will automatically change the default combination when it's out of stock https://www.presto-changeo.com/home/154-out-of-stock-combination-change.html Thank you, I need to try this module on a local version first. I let you know. Link to comment Share on other sites More sharing options...
LauraDo Posted November 15, 2020 Share Posted November 15, 2020 No one have a non module solution ? just by modifying a part of prestashop's code ? Link to comment Share on other sites More sharing options...
Guest Posted November 16, 2020 Share Posted November 16, 2020 (edited) . Edited July 26, 2021 by Guest (see edit history) Link to comment Share on other sites More sharing options...
LauraDo Posted November 29, 2020 Share Posted November 29, 2020 On 11/5/2020 at 5:45 AM, tomerg3 said: Try this free module, that will automatically change the default combination when it's out of stock https://www.presto-changeo.com/home/154-out-of-stock-combination-change.html I testes and installed your module. It works perfectly. Than you very much. Link to comment Share on other sites More sharing options...
LauraDo Posted November 29, 2020 Share Posted November 29, 2020 On 11/16/2020 at 6:15 AM, Guest said: Take a look at the module codes and you will find that it is not that simple. If you want to make changes to the Prestashop files, you will need to edit the Product.php and ProductControllerCore.php files I do not recommend !!! What's wrong with using a module that does what you need? Thant's what I've done and that's why I finally decided to use a module. Nothing wrong with using a module I'm just a student who likes to learn how to do thinks. I will search in the direction you pointed me in a local version, thank you very much. Link to comment Share on other sites More sharing options...
Guest Posted November 30, 2020 Share Posted November 30, 2020 (edited) . Edited July 26, 2021 by Guest (see edit history) Link to comment Share on other sites More sharing options...
LauraDo Posted December 8, 2020 Share Posted December 8, 2020 On 11/30/2020 at 6:12 AM, Guest said: If you program a mini module, just use the actionProductUpdate hook. In this hook, you can only find out from the ps_product table and the cache_default_attribute column and the ps_stock_available table if the quantity is 0 or less. If it is less, you change the cache_default_attribute. For example, you can find out by SQL querying the ps_stock_available table. Thank you for this clarification and for your help. Effectively, I was thinking of using an SQL query to retrieve the stock of the default combination. However, I didn't know which tables to look for or which hook to use so thank you again for these details. Link to comment Share on other sites More sharing options...
Guest Posted December 8, 2020 Share Posted December 8, 2020 (edited) . Edited July 26, 2021 by Guest (see edit history) Link to comment Share on other sites More sharing options...
danilinked Posted November 7, 2022 Share Posted November 7, 2022 On 11/11/2020 at 5:46 PM, tomerg3 said: Send us a message on our contact form, and we'll investigate You solved somehow this? Thank you 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