PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Image of the variation

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello,

I have some problems with the color variations in my shop. I want to change the image of the product by choosing the color. I enabled this option and set it up properly. Now the images are doubled:

https://sottoluce-test.webdesign-fox.de/produkte/

I tried to hide the entery-image and it worked, but the variation image is not clickable, it has no link like original entery-image.

 

The other question is to setup landing pages with this specific attribute. I wanted to set up pages with a color and as result to get all products with the specific variation image. Is it possible? I've tried it with:

[woof_products is_ajax=1 taxonomies=pa_lampenschirmfarbe:773]

[woof is_ajax=1 taxonomies=pa_lampenschirmfarbe:773]

on this page

https://sottoluce-test.webdesign-fox.de/produkte/bunte-deckenleuchte/

as result it needed to be:

https://sottoluce-test.webdesign-fox.de/produkte/bunte-deckenleuchte/swoof/lampenschirmfarbe-rot/

 

I hope you can answer my questions. Thank you!

 

Best regards

Hello

1)Now the images are doubled: - Unfortunately, this functionality is incompatible with the current template.

2) In that case try this - https://products-filter.com/manipulate-search-data-options

 

 

Hi, thank you for your reply.

1)This is strange because I'm using one of the most common themes Ocean WP with its standard configuration

2)I tried it and it don't worked. Maybe it did some thing wrong.

Added this code to functions.php:

 

if (is_front_page())
{
add_filter('woof_get_request_data', 'my_woof_get_request_data');
}

function my_woof_get_request_data($request)
{
$request['pa_lampenschirmfarbe'] = 'rot';
return $request;
}

And this shortcodes to the front page: [woof taxonomies=pa_lampenschirmfarbe:773] and [woof_products taxonomies=pa_lampenschirmfarbe:773]

Disabled AJAX

Hello

  1. Unfortunately even popular themes use custom templating solutions and don't implement standard hooks.
  2. If you want to display it here - https://sottoluce-test.webdesign-fox.de/produkte/bunte-deckenleuchte/

add_filter('woof_get_request_data', 'my_woof_get_request_data');

function my_woof_get_request_data($request)
{

if (is_page('bunte-deckenleuchte')) {
$request['pa_lampenschirmfarbe'] = 'rot';

}
return $request;
}

and  shortcodes:

[woof]   [woof_products ]

Thank you for your reply

  1. Ok. I try to do it by CSS
  2. I didn't work. The filter was set but the image was still the same (image of the main/parent variation). Do you maybe have an idea what the issue could be?
  3. Is there a possibility to match some attributes? Ex. to make from color attributes like light grey, dark grey and anthrazit one what's named grey. So if someone clicks to filter grey out, that all products will show that has as attribute light grey, dark grey or anthrazit?

Best regards!

Hello

2) I don't see any product right now - https://c2n.me/4hbw2vw.png

3) The filter cannot manage product data. And the search goes on specific attributes. The only solution is to create a new attribute with alternate colors. And assign it to your products

Hi,

2) Yes I've tested something else.

Please check it now with

https://sottoluce-test.webdesign-fox.de/produkte/bunte-deckenleuchte/

https://sottoluce-test.webdesign-fox.de/produkte/bunte-deckenleuchte/swoof/lampenschirmfarbe-anthrazit-silber/

Thanks

Hello

Please  try  to add( https://share.pluginus.net/image/i20221124091422.png ) :

$request['swoof'] = 1;

Hello,

added it. Now it is:

 

add_filter('woof_get_request_data', 'my_woof_get_request_data');

function my_woof_get_request_data($request)
{

if (is_page('bunte-deckenleuchte')) {
$request['swoof'] = 1;

}
return $request;
}

No! Try  it please

add_filter('woof_get_request_data', 'my_woof_get_request_data');

function my_woof_get_request_data($request)
{

if (is_page('bunte-deckenleuchte')) {

$request['pa_lampenschirmfarbe'] = 'rot';
$request['swoof'] = 1;

}
return $request;
}

Ok, I replaced it.

ok! but it looks like you disabled the plugin

Yes it was disabled for 5 mins. Now it's online again.

Hello

Ok!  Please  drop  me  wp-admin+FTP access - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130637.png

Hello

 

sorry for my late reply. I added the access to the private chat.

 

Thanks!

Hello

Unfortunately our developer couldn't test it today. We will definitely do it tomorrow

Thanks for understanding

Hello

I found the reason. the problem is in this code - https://share.pluginus.net/image/i20221206150725.png - This function works when products are processed in a loop. But in the loop it's already a product page

I changed the code, now check by URL

Hello,

it looks like it's working. Many thanks for it!

Hello

Great! Welcome;)