josul
Forum Replies Created
-
Yes it would be really tedious but it has become impossible: when I edit an image, no way to access the links to change them. So, no more possible to change the links.
Of course I put the code in the chid theme. But I don’t understand why this change continues (attachment display settings) while the code was put into the child theme and has been removed since
I’ll look after Interconnect/IT tool.
Thanks for your answer.Forum: Plugins
In reply to: [WooCommerce] since update woocommerce variations cannot be seenHi, Caleb !
I already said : the website is is catalog mode, for the moment (perhaps it will change later, that is why I chose woocommerce) ; the user makes selections to list the various colors -most of the products have each several colors- and see the corresponding large images, at the same time (that’s not for no apparent reason since they can’t add to cart with those selections).
Thank you very much for these explanations and your help !
Have a good day !
I put your blog in my favorites(I mark as resolved)
Forum: Plugins
In reply to: [WooCommerce] since update woocommerce variations cannot be seenHi, caleb !
Thanks very much to you !!!!
I added the php code and the selector of options is back.The sentence was still there. So I added css code and it disappeared.
I’m glad.
Only if you have time and if you agree, I would like to ask you some questions (because I like understanding and I would want to progress). Of course, if you agree, answer only the questions you want.
- the code you pasted, what does it mean ?
I understand that : when woocommerce is going to hide invisible variations, send to woocommerce a message FALSE so that it doesn’t hide the variations
Is that right or wrong ? - the sentence “this product is currently out of stock and unavailable” was still on the page.
Why din’t it disappeared after adding php code? - Which link (clear, precise, including codes or examples) would allow me to progress in understanding woocommerce?
Thank you !
have a good day- This reply was modified 7 years ago by josul.
Forum: Plugins
In reply to: [WooCommerce] since update woocommerce variations cannot be seenHi, Caleb
Thanks for trying to help me !
I thank you for the link with the code.I copied exactly what I saw :
// Filter ‘woocommerce_hide_invisible_variations’ to optionally hide invisible variations (disabled variations and variations with empty price)
– if ( apply_filters( ‘woocommerce_hide_invisible_variations’, false, $this->get_id(), $variation ) && ! $variation->variation_is_visible() ) {even if something seemed to me strange, may be wrong : After the { I think something is missing, at least }
So I tried to set the php code in the functions.php file of my children theme but I do not know if I copied what I had to copy – with or without “continue; } after {- because I obtained a completely white page.
Please, excuse my inexperience in php language !
Forum: Plugins
In reply to: [WooCommerce] since update woocommerce variations cannot be seenhi,
there was no price because of catalog mode
the products are not missing ;
is missing the selector of options which appears because there are variations (of colours)
but actually on the pages I can see the image, the description of the product but I can’t choose the color because the selector of options (choose an option …) is not visible ; it is replaced by the sentence ““this product is currently out of stock and unavailable”
I think the probleme is “out of stock”, probleme resolved if I write a price for each variation ( I tested it for one product ; for another product I wrote the price only for one variation and the sentence disappeared but I saw only one variation, that one ; the variations without prices were not visible)
I hope I managed to explain you clearly.
I marked “no management of stock” but that is not enough ; there are no prices for the variations, so woocommerce thinks there are no products and write the sentence, and doesn’t write the attributes of colours.
(It’s very difficult, it’s not easy to use woocommerce)
thank youForum: Plugins
In reply to: [WooCommerce] since update woocommerce variations cannot be seenHi, John
I did just as you said : I switched to Twenty Seventeen, then I disabled all the plugins except woocommerce ; this doesn’t resolve the issue. No change at all.
I’m going to write a price for each variation of each product even if it does not satisfy me.
If you have another idea, please, tell me !
Thank you for your help, I appreciate !Forum: Plugins
In reply to: [WooCommerce] since update woocommerce variations cannot be seenHi, John
yes, as I wrote in my post, I switched from my avada child to another theme but it was the same result (as well as I deactivated the other plugins). I tried to write a price for each variation of one product and it was ok for that product only.
is there any php code (I could put in functions.php in the child theme) to indicate that the stock is always OK ?
ThanksForum: Plugins
In reply to: [WooCommerce] How to to remove “choose an option”Thanks a lot, to you, Rynald0s and edouardcoleman !!!
- the code you pasted, what does it mean ?