After I re-initiated the variations, everything seemed to work. However, on the category pages, the products disappear after a few hours. The site is available in both English and Dutch, with Dutch as the main language. When you switch to English, it seems to work just fine, but on the Dutch site, it does not. The shop page itself works correctly; the issue is only on the category pages. The site is built with Divi and the Divi Builder.
Please Help!!
]]>When clicking a variation product it shows the product page without the variation product selected which may confuse the users.
For example, when clicking on this product: Frosine Γυ?λινο Β?ζο – brown the brown is not selected and the initial product page appears. Is there a way to fix this?
]]>If I make a new product and or adjust the published date of a product from let say today to a date in the past, your plugin still shows that product at the top of a category page as a new product made today. My them will then give it a ‘NEW’ label.
If I deactivate your plugin, that product will not been seen as a new product because of the date in the past, and it will be shown further down the category page and does not get the ‘NEW’ label.
So your plugin does not look at the altered published date. Can you fix this? Re-init variations’ does not fix this.
If I a make a copy of a product, this new product does not show up in the front end of the shop.
I have to click the Re-init variations, which is very slow.
Can’t this be done with the Re-init variations feature?
I have checked: Hide variable products on archive page. So now only the variations are showing
If you have your shop product sorting system on category pages set on: newest products, the newest products/variations will be at the top of the page.
If a variable product has 5 variations made on 1-1-2000 and on 5-7-2024 you add a new variation, this new one is shown at the top of the category page. But the other older 5 variations will be somewhere down on the category page or even on a completely other category page.
I want them to stay together… How can this be done?
I do want to keep the shop product sorting system on category pages set on: newest products.
I can not change the making date of the new variation and I can not change the product ID.
How can I hide products that have the status: concept?
They do not show on the front-end when NOT logged in and this is correct.
But they do show when you are logged in as an admin.
Hello,
it’s possibile to enable the link showing only the color variations and not the size also?
best,
Paolo
Hey there,
The settings text seems incomplete to me, if I read the description of your plugin, this checkbox should have the instruction “Hide the parent
variable products on archive page.”, idem for the title, right?
I installed the plugin and set it but once I click on re-init variations button the website crash due to fatal error:
Uncaught Error: Call to a member function get_variation() on
string in
/var/www/vhosts/domain.com/httpdocs/wp-content/plugins/wpc-show-single-variations/includes/class-admin.php:187
Stack trace:
#0
/var/www/vhosts/domain.com/httpdocs/wp-includes/class-wp-hook.php(324):
Woosv_Admin->setting_page_content()
#1
/var/www/vhosts/domain.com/httpdocs/wp-includes/class-wp-hook.php(348):
WP_Hook->apply_filters()
#2 /var/www/vhosts/domain.com/httpdocs/wp-includes/plugin.php(517):
WP_Hook->do_action()
#3 /var/www/vhosts/domain.com/httpdocs/wp-admin/admin.php(259):
do_action()
#4 {main}
? thrown
Hello guys, awesome plugin ??
I was wondering if it would be possible to hide some of the different variables I have for just some of the products.
As you may see in the pic, these shoes create a singe item for every size, and that’s what I don’t want.
Mind, I have some other products that vary on colurs, and those are fine, I just want to change this particular product.
Thank you so much ??
]]>Hey!
I am having an issue with the plug-in. I followed a quick guide on how to remove parent product from the shop page (set it as hidden in the backend), but upon doing so it is also hidden from my tags – ie the variation products are not shown. If I choose to set the parent as shown in search and archives it does show in the tags-section, but also sets the parent product within the shop. Is there any way where I can achieve both – parent hidden in shop, but variations shown in tags?
]]>The case is as follows
Products with variations in my store are grouped using the WPC Show Single Variations 2.3.5 plugin so that each variation is displayed separately in the product archive. Each of them has a separate gallery and main image.
By filtering, e.g. by colour, all product variants are displayed. I would like to see only variants of a particular colour.
From the suport of the filtering plug-in I got such a reply:
Our plugin is filtering to the product with needed variation and WPC Show Single Variations plugin is showing all the variations from the products. To show there only 1 variation direct integration is needed. Sorry, but we don’t have time for this now.
]]>When WPC Show Single Variations for WooCommerce is active, draft products are displayed on the store.
Could you correct this?
Hello there! Nice job with this plugin! Thank you!
I have one question. We need to show single products from variations by one exact attribute. We know that there is no one function in your plugin to do it now. But we want to customize it. We have tried to make it in the code but something went wrong and no one product was showied. We tried to implement it with this snippet:
class Woosv_Public {
? ? // ... existing code ...
? ? public function product_query( $args ) {
? ? ? ? $enable = get_option( 'woosv_enable', 'yes' );
? ? ? ? $args->set( 'woosv_filter', 'yes' );
? ? ? ? $args->set( 'post_type', [ 'product', 'product_variation' ] );
? ? ? ? $meta_query = (array) $args->get( 'meta_query' );
? ? ? ? if ( empty( $enable ) ) {
? ? ? ? ? ? $meta_query[] = [
? ? ? ? ? ? ? ? 'relation' => 'OR',
? ? ? ? ? ? ? ? [
? ? ? ? ? ? ? ? ? ? 'key' ? ? => '_variation_description',
? ? ? ? ? ? ? ? ? ? 'compare' => 'NOT EXISTS'
? ? ? ? ? ? ? ? ],
? ? ? ? ? ? ? ? [
? ? ? ? ? ? ? ? ? ? 'key' ? ? => 'woosv_enable',
? ? ? ? ? ? ? ? ? ? 'value' ? => 'enable',
? ? ? ? ? ? ? ? ? ? 'compare' => '=='
? ? ? ? ? ? ? ? ],
? ? ? ? ? ? ? ? [
? ? ? ? ? ? ? ? ? ? 'key' ? ? => 'woosv_enable',
? ? ? ? ? ? ? ? ? ? 'value' ? => 'reverse',
? ? ? ? ? ? ? ? ? ? 'compare' => '=='
? ? ? ? ? ? ? ? ],
? ? ? ? ? ? ];
? ? ? ? } else {
? ? ? ? ? ? $meta_query[] = [
? ? ? ? ? ? ? ? 'relation' => 'OR',
? ? ? ? ? ? ? ? [
? ? ? ? ? ? ? ? ? ? 'key' ? ? => '_variation_description',
? ? ? ? ? ? ? ? ? ? 'compare' => 'NOT EXISTS'
? ? ? ? ? ? ? ? ],
? ? ? ? ? ? ? ? [
? ? ? ? ? ? ? ? ? ? 'key' ? ? => 'woosv_enable',
? ? ? ? ? ? ? ? ? ? 'compare' => 'NOT EXISTS'
? ? ? ? ? ? ? ? ],
? ? ? ? ? ? ? ? [
? ? ? ? ? ? ? ? ? ? 'key' ? ? => 'woosv_enable',
? ? ? ? ? ? ? ? ? ? 'value' ? => 'default',
? ? ? ? ? ? ? ? ? ? 'compare' => '=='
? ? ? ? ? ? ? ? ],
? ? ? ? ? ? ? ? [
? ? ? ? ? ? ? ? ? ? 'key' ? ? => 'woosv_enable',
? ? ? ? ? ? ? ? ? ? 'value' ? => 'enable',
? ? ? ? ? ? ? ? ? ? 'compare' => '=='
? ? ? ? ? ? ? ? ],
? ? ? ? ? ? ];
? ? ? ? }
? ? ? ? // add a condition for the color attribute taxonomy=pa_8-tsvet
? ? ? ? $meta_query[] = [
? ? ? ? ? ? 'key' ? ? => 'attribute_pa_8-tsvet',
? ? ? ? ? ? 'compare' => 'EXISTS',
? ? ? ? ];
? ? ? ? // add a condition for the size attribute taxonomy=pa_1-razmernyj-kod
? ? ? ? $meta_query[] = [
? ? ? ? ? ? 'key' ? ? => 'attribute_pa_1-razmernyj-kod',
? ? ? ? ? ? 'compare' => 'EXISTS',
? ? ? ? ];
? ? ? ? // Condition for excluding variations with a single attribute "pa_1-razmernyj-kod"
? ? ? ? $meta_query[] = [
? ? ? ? ? ? 'relation' => 'AND',
? ? ? ? ? ? [
? ? ? ? ? ? ? ? 'key' ? ? => 'attribute_pa_8-tsvet',
? ? ? ? ? ? ? ? 'compare' => 'EXISTS',
? ? ? ? ? ? ],
? ? ? ? ? ? [
? ? ? ? ? ? ? ? 'key' ? ? => 'attribute_pa_1-razmernyj-kod',
? ? ? ? ? ? ? ? 'compare' => 'NOT EXISTS',
? ? ? ? ? ? ],
? ? ? ? ];
? ? ? ? $args->set( 'meta_query', $meta_query );
? ? }
? ? // ... existing code ...
}
Maybe can you help me to make it through the code?
Hi
Its possible display all products attributes in each variation?
Our default shop & category page display all atributtes. In simple & variables: https://prnt.sc/1s6mk1OSCyAm
And with your plugin we can display add to cart button for all variable products: https://prnt.sc/r8Y8QFUoFNN8
But dont display the rest of attribute produts. Its possible display all attribute products? also not used for variations.
best regards
]]>In the search I get the parent product and not the variation
]]>I have installed the plugin, but the variable products, such as single products, are not observed. I have clicked on restart variations and I still can’t get it, I attached the configuration image. Please help, thank you.
]]>Theme astra. What to do? Reindex doesn’t help
]]>How to hide Parent Product once Variation has been set to Enabled?
Don’t see an option for this.
]]>Hi there,
I’m doing some testing and your plugin works great on category pages and search pages.
However when I try to show products using Woocommerce shortcodes, variable product parents are displayed rather than the single variations.
So for example, on my ‘New Arrivals’ page I use shortcodes to display different new arrivals such as DC Comics, Marvel Comics etc. like so:
[product_category category=”marvel-comics” limit=”20″ columns=”5″ orderby=”date” order=”desc”]
This results in the parent variable product being displayed:
Whereas it’s working perfectly in category and search pages, with the single variations being displayed:
Is there a setting or a snippet I need to use for your plugin to be applied in shortcodes?
Thank you for your help!
]]>Hi there,
I think I’ve found a conlict with the BeRocket Advanced AJAX Product Filters.
With both plugins active any attempt to search my site either takes a really, really long time, or more often than not results in a Bad gateway Error code 502.
With either plugin deactivated search results are loaded instantly.
Have tested with Storefront Theme and just Woocommerce, BeRocket Advanced AJAX Product Filters and WPC Show Single Variations for WooCommerce active.
Have also tested with PHP 7.4, 8.0 and 8.2.
Any idea what might cause the issue, and how it could be fixed?
Thank you for your help!
]]>Hello,
Is there a way to exclude categories? I want my categories to show normal variations but shop page all variations as single product. Currently, I think there is no way to do this. Could you please advice?
Thanks!
]]>We are using the Avada theme and its provided layouts for product archive pages. The variable products are hidden, as we have selected them to be hidden, but the the variations do not show as single products. Does anybody have any experience-idea about this?
Thank you
]]>Hello, after installing the plugin and configured all the settings the product variable shows Read more button instead of Add to cart, I am using Goya Theme + Variation Swatches for WooCommerce.
]]>Hi,
In product query for manual selection, the variants doesn’t appear in the selection. is this possible for this plugin in, I would like to manual select the query for the product list.
Thank you
]]>Hello Support Team,
I hope this message finds you well. I am currently using the “Variations as a Single Product” plugin for my online store, and I’m encountering a bit of a challenge with the setup. I have products like shorts, each with a unique article number (e.g., 211466), and they come in four different colors (black, red, green, blue), each with five sizes (S, M, L, XL, XXL). This results in a total of 20 different SKUs for each product variation.
However, when I tried to sync the plugin, it generated an excessive number of products that I don’t actually need. It created separate products for each color and size combination, like “black shorts in size S,” “black shorts in size M,” “black shorts in size L,” and so on. This has led to an overwhelming number of products that are unnecessary and confusing for my customers.
What I would like to achieve is to display only the separate colors as variations, without breaking down each color by size. So, for the shorts model 211466, I’d like the plugin to show the four different colors (black, red, green, blue) as variations, and when customers select a color, they can then choose from the available sizes.
Could you please provide guidance on how to configure the plugin to achieve this setup? I believe this adjustment will greatly improve the shopping experience for my customers and make the product selection process much simpler.
Thank you in advance for your assistance. I appreciate your help in resolving this matter promptly.
Best regards,
Viktorija
tick on “Enable show single variations on archive page. You also can enable/disable at variation basis.”
Thanks
]]>Hello!
The plugin seems to work ok, but in category view all product variations display the same image – the featured image of parent product. Is it possible to display variation image in catalog view?
]]>Hi guys,
Awesome plugin!
Would it be possible to add an option to ‘Exclude categories from hide variable’, that would exclude all products in set categories from the hide variable?
I have a few categories that have quite a few variable products, that I would like to display in the standard way.
As products are added and removed from these categories quite often, it would be extremely useful to be able exclude all products in the categories at once, rather than having to add and remove new and old products each time.
Thank you for your help!
]]>Hello,
I’ve recently installed WPC Show Single Variations for WooCommerce plugin and enabled “WPC Show Single Variations” for all variations that needed to be shown as simple products and it is working fine on shop page, all variations are shown as simple products. However, when I enter any product category page, I don’t get the same result. Variations are not shown as single products.
As of global configuration, I have selected the option – “Hide variable products on archive page.” – to true because I didn’t want to show both variable product and its variations in the same list.
Thanks,
Arsenije