Hi,
now if I select a not available attribute appear alert with “not available” message, is possible change this behaviour and select the first available combination with this attribute?
See private content for details…
Thanks!
This topic has 10 replies, 3 voices, and was last updated 8 months ago ago by Tony Rodriguez
Hi,
now if I select a not available attribute appear alert with “not available” message, is possible change this behaviour and select the first available combination with this attribute?
See private content for details…
Thanks!
Dear @M.,
Thank you for reaching out.
Please note that the product flow you are referring to is the default functionality of the WooCommerce plugin and not a feature provided by our XStore theme.
We kindly recommend submitting your feature request or suggestion for improvement directly to the WooCommerce team via the following link: https://woocommerce.com/feature-requests/woocommerce/.
Best regards,
The 8Theme Team
Hi, i’ve created custom javascript for override woocommerce functionality but the alert appear… il possible 8theme have the same code and I show this?
The class “sten-li-disabled” is added by your theme…
My goal si permit to select all disable attributes in order to show the first available combination with this attribute selected… if you can’t do it can you suggest a third part plugin and use it instead your Variation Swatches?
Hi I’ve disabled your attribuites widget and installed third part plugin and all work fine but i would use the theme… how can disabile only the theme variant alert?
Dear @M.,
Unfortunately, all JavaScript files are minified and do not include any specific triggers that would allow you to directly disable this event.
However, you may consider utilizing the following events to remove the sten-li-disabled class:
$( ".variations_form" ).on( "woocommerce_variation_select_change", function () {
// Triggered whenever variation selections are changed
});
$( ".single_variation_wrap" ).on( "show_variation", function ( event, variation ) {
// Triggered when the user has selected all required dropdowns/attributes
// and a final variation is displayed
});
We hope this information proves helpful. Should you have any further questions, please do not hesitate to contact us.
Best regards,
The 8Theme Team
Hi Luca,
the alert is triggered by sten-li-disabled class? If yes can you add code into events for disable?
My problem is disable this alert message…
Thanks
Dear @M.,
Thank you for reaching out.
Please note that all JavaScript files are minified and cannot be edited directly, as any changes made will be lost during theme or plugin updates.
However, if you still wish to review or modify the file, you can find it at the following path:
/wp-content/plugins/et-core-plugin/packages/st-woo-swatches/public/js/frontend.min.js
We hope this information is helpful. Should you have any further questions, please don’t hesitate to contact us.
Best regards,
The 8Theme Team
Dear M.,
Choosing our theme reflects your commitment to quality, and for that, we’re genuinely grateful. As we constantly strive to elevate your experience, your feedback is an invaluable gift. Could you kindly take a moment to rate our product with 5 stars on ThemeForest?
Click here to share your insights: https://themeforest.net/downloads
Your support fuels our journey, and we appreciate it more than words can express.
Best Regards,
The 8Theme Team
The issue related to '‘Change click behaviour on disable product variation’' has been successfully resolved, and the topic is now closed for further responses