Rishi Mehta
Forum Replies Created
-
Forum: Plugins
In reply to: [Woocommerce Ajax add to cart for variable products] Adding wrong variationWelcome.
I guess than issue resolved. So marking ticked resolved. you can activate ticket again anytime, if anything come up or can create new ticket if new issue come up.
Hi,
Can you provide url, which have variable product ? I am not getting it translated automatic. so i need exact page from website, where variable product listed.
Make sure plugin is installed and activated.
I also get one thing that, you don’t have product detail page. so if you want variable option selection and add to cart button on shop page or category page, you need to activate option from setting. I have put that setting in plugin.
From here you can activate this, hope this will give you better idea :
https://i.imgur.com/QJdJTMX.pngForum: Plugins
In reply to: [Woocommerce Ajax add to cart for variable products] How does this work?Hi Danz,
Thanks for the quick Response. I checked your link. Things which are come to my mind first.
1) you need to install and activate plugin on site, so i can test it from here and give you respond based on that.
2) You are missing one product type variable class in your template. I have attached Screen shot where you need to put this class “product-type-variable” – Without this class, js will not work.
Hi Haidar,
Will look into it. As it is custom request, i will check if i can implement for global use and provide new update of plugin.
Else will send you custom js to implement on your own site.
Forum: Plugins
In reply to: [Woocommerce Ajax add to cart for variable products] How does this work?Hi Danz,
There are 4 type of products in woo-commerce. Simple, Variable, Group and Virtual.
Now if you have simple product and want to add through ajax, that is already in woo-commerce setting.
This plugin is adding Ajax functionality for Variable products only as that is not inside woo-commerce. To get that functionality working, you only need to activate plugin.
If its not working, it means your template have missing woo-commerce default classes in html.
It will be good if you can provide testing url, so i can look into it and give you exact solution.
Forum: Plugins
In reply to: [Woocommerce Ajax add to cart for variable products] Adding wrong variationHi Lucawater,
Can you provide me testing url. so i can look into it. As i never get anyone having wrong variable added. I mostly getting issue like its totally not working or having issue in IE. Else if its working than its working totally fine. so if possible provide development url and once i will check and provide you solution for same.
Hi Daniel,
First sorry for the delay, was out of town. so didn’t get back to any ticket this month.
I checked your url, you have made custom js for attributes. it’s working fine. I can do this way but issue is if you going to add new attribute or client is going to add new attribute in future. it will not get that attribute data.
You can use same js, just copy attribute data part from plugin js and put it in your custom js and it will work for all attributes in future.
Hi,
Can you provide me a link where you are testing. Most of the time plugin doesn’t work cause of wrong template classes or default woo-commerce classes removed in template override. So if you can provide me a testing link, i can check generated code and give exact resolution for issue.
Hi,
Thanks for the information. will update ids in next update. Working on more detailed features for next update.
Forum: Plugins
In reply to: [Woocommerce Ajax add to cart for variable products] Design of pluginHi Dumstrei,
I checked your design. Basically, plugin only activate option which is already inside woocommerce and works with ajax.
For design issue, you need to edit your template file. you can find one for variable at here :
Wp-content/themes/youractivetheme/woocommerce/single-product/add-to-cart/variable.php – this file you need to edit. if you don’t get this file here. you can copy it from woocommerce template folder here and make changes to it as per your need.
You can also make it look nicer just making little css tweaks for this.
Forum: Reviews
In reply to: [See message below] Waste of Time and moneyHi StokedSys,
I revert back to you on email with reply. I am not sure you got reply or not. So i reply back again today.
Forum: Plugins
In reply to: [Woocommerce Ajax add to cart for variable products] Its Not Working'Hi,
You need to find out file as i described or if you bought the theme, ask theme developer to inform where they put content-product.php file.
1) First as per your comment above, you are checking wrong name. I Wrote to check woocommerce folder not wordpress folder.
2) Again, its issue with theme, your theme is customize some other way, so there is minor change you need to do in content-product.php file or where ever that code is in your theme. AS theme is premium theme, i cannot provide support for same. For this if you are not getting where its lined up in code, you need to ask theme developer for same.
Plugin is made for themes which follows woocommerce default classes and structure. So if any theme customized that and plugin is not working, than you need to cross check with theme developer. Still i am pointing what is issue and from where you can solve with a detailed description. After that if you cannot make it from your side, i advice you to ask about same code from theme developer. If you bought this premium theme, they will help better than me as they are creator of theme and they know which code is placed where better than me.
Forum: Plugins
In reply to: [Woocommerce Ajax add to cart for variable products] Its Not Working'Hi,
I look into code, its quite simple issue in theme, variable options are coming in link. LIke Variation form is coming into link of product detail page. so when you try to select variable option, it directly take you to detail page.
What you have to do now is, go to your theme directory -> woocommerce -> content-product.php
Check code and complete link tag after price one. Or you can say, you can complete a link after first hook “<?php do_action( ‘woocommerce_before_shop_loop_item_title’ ); ?>”
That’s it.
Forum: Plugins
In reply to: [Woocommerce Ajax add to cart for variable products] Its Not Working'Hi,
First you don’t need to add that code in your theme, we already have this added in our plugin, you only need to tick option from setting. you will get setting here. Tick setting and you will get selection option on any theme.
Now about redirection after selection, it can be possible cause of active theme javascript. First finalize you theme, activate option and than check if its working or not, than if not working let me know. i will check for particular theme and give you best solution for same.
Hi Ronald,
Welcome, Glad you got it working ??