Site logo

Archived topic

WooCommerce image variable inside the Select, not the full image

5 replies · Started by Olivier on June 29, 2018

Viewing posts 1–6 of 6

Hi
I search the solution with code or plugin to insert the image variable in the Select and no in the image (left).

Thank you :)

[url=https://www.noelshack.com/2018-26-5-1530264648-variations.png][img]https://image.noelshack.com/minis/2018/26/5/1530264648-variations.png[/img][/url]

Hi there,

hmm images in drop downs is a plugin thing, you may want to search (dare i say it) Codecanyon for this type of thing.

To remove the product image you can use this filter:

remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 );

https://docs.generatepress.com/article/adding-php/

And for the summary to occupy the full width this CSS:

.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
	width: 100%;
	float: none;
}

Ah ok, sorry for the misunderstanding.
Is this now resolved?

Hi David

No because the plugin is an horror... many many many many many many bugs... :'(

I go take a simple for my variations.

Thank you

I am sorry to hear that - i was reluctant to suggest code canyon for that possible reason. It may be worth you joining one of the Woocommerce forums on Facebook and asking them for advice.

This archived topic is closed to new replies.