fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

Variation swatches update plugin has changed all the class and html structure

JENI KHALPADA

I’m using the plugin from starting of my website, now I have version – Version 1.1.19 of this plugin in my site as after that version you guys changes the classes and structure of the whole plugin like this,

Changes related to the woo variation

woo-variation-items-wrapper class removed
class change to woo-variation-raw-select class changed -> rtwpvs-wc-select
ul – li structure change to Div

class change to variable-items-wrapper -> rtwpvs-terms-wrapper

you shouldn’t, we have created our CSS and js accordingly, we have issue now after updating the version and I’m not able to update the plugin from last 1 year. now my concern is what is WordPress will not support the older version one time. can you make it revert or let me know where you have changed?

my everything and anythings is depend on this plugin of version 1.1.19 for a now

this is not a best way of plugin maintenance

Hakik Zaman

Hi JENI,

It’s been about a year since we updated the plugin.

The Class name you have pasted here seems like the other plugin.

We have no such class name inside our plugin.

Please make sure, you have another plugin for swatches or not. Our plugin is Variation Swatches for WooCommerce by Emran Ahmed.

Yes, in the 2.0.0 series, we have changed so many things. Because we had to restructure our whole codebase to optimize our scripts. Our customers like you were facing speed issues. That’s why we had no choice except refactor our plugin structure.

Thank You

Ya, I have checked over the new plugin,

Can you guide me with some basic things,

1. ‘WooCommerce Variation Swatches Pro’ This plugin is managed by you. – https://radiustheme.com/ (somehow link is down currently)

2. Which plugin is yours?
Variation Swatches for WooCommerce
WooCommerce Variation Swatches Pro

After updating the ‘Variation Swatches’ plugin to the latest version, it no longer works with ‘WooCommerce Variation Swatches Pro.’ Before the update, both plugins functioned properly

3.  Additionally, I overwrote the ‘wvs_variable_item‘ hook in my file, but it’s not available in the new plugin. Can you please tell me which hook I should use instead? I want to add the attribute name under the variation color.

Please guide me as soon as possible.

You didn’t reply to me for this3. Additionally, I overwrote the ‘wvs_variable_item’ hook in my file, but it’s not available in the new plugin. Can you please tell me which hook I should use instead? I want to add the attribute name under the variation color.A lot of, and say almost functionality stopped due to this hook. can you please check the file and help from where,

class-woo-variation-swatches-product-page.php

We were using different layouts and we added data to color span, li, and ul to make functionality. Can you please guide us how we can override this now?add_filter( ‘woocommerce_dropdown_variation_attribute_options_html’, array( $this, ‘dropdown’ ), 20, 2 );
item_start and other functions that render HTML.

Hakik Zaman

Hi JENI,

Please check the file class-woo-variation-swatches-product-page.php

Then search for the functions color_attribute, image_attribute, etc.

You will get filter hook there for individual attributes. Here is an example of color: woo_variation_swatches_color_attribute_template

The level of support you are asking for is beyond our support scope. Still, I have given some hints. You can check our support policy here: https://getwooplugins.com/support-policy/

Thank You

I appreciate your guidance; it has proven quite valuable.

I’m currently encountering a problem with the default dropdown functionality of color selection functionality. It was functioning perfectly before I updated the plugin to the latest version.

After updating the plugin to the latest version, this functionality ceased to work. I attempted to troubleshoot the issue by taking the following steps:

Changing the theme: I confirmed that my theme is not the root cause of the problem.
Reverting to the previous plugin version: Reverting to an older version of the plugin resolved the issue, and the functionality started working again.

For reference, you can visit the following link and observe the issue in the “Blade” section: Link to the issue. Specifically, when changing the dropdown, the color section ceases to function correctly.

Your assistance in addressing this matter would be greatly appreciated.

Hakik Zaman

Hi JENI,

For reference, you can visit the following link and observe the issue in the “Blade” section: Link to the issue. Specifically, when changing the dropdown, the color section ceases to function correctly.

The functionality you are referencing is not our feature. You have developed it yourself. Unfortunately, I am saying again it is out of our support scope. We are unable to help you with your custom-made functionality.

Please check our SUPPORT POLICY.

Thank You