Home › Forums › Themes Support › Claue › On product page after selecting option Add to cart button is disabled
- This topic has 5 replies, 2 voices, and was last updated 5 years, 8 months ago by Harry.
-
AuthorPosts
-
-
April 23, 2019 at 1:41 pm #30537shopnslimeSupport Expired
When we go to the product page, after selecting the product option to add to cart button is not enabled. When we edit quantity then it is enabled.
But it should be enabled after selecting option only. How to do the same. Attached is an image for your reference.
Attachments:
You must be logged in to view attached files. -
April 23, 2019 at 2:53 pm #30544HarrySupport Expired
Hi,
Please try update theme, plugins (Woocommerce, Woo AliDropship).
It now your site has error js http://prntscr.com/nfmuon
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
April 23, 2019 at 3:52 pm #30547shopnslimeSupport Expired
We have updated both plugin but still the error is present.
-
April 23, 2019 at 5:35 pm #30548HarrySupport Expired
Hi,
I check your site and see below javascript code
<script type='text/javascript' defer '>//<![CDATA[ window.wp=window.wp||{},function(a){var b="undefined"==typeof _wpUtilSettings?{}:_wpUtilSettings;wp.template=_.memoize(function(b){var c,d={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"};return function(e){return(c=c||_.template(a("#tmpl-"+b).html(),d))(e)}}),wp.ajax={settings:b.ajax||{},post:function(a,b){return wp.ajax.send({data:_.isObject(a)?a:_.extend(b||{},{action:a})})},send:function(b,c){var d,e;return _.isObject(b)?c=b:(c=c||{},c.data=_.extend(c.data||{},{action:b})),c=_.defaults(c||{},{type:"POST",url:wp.ajax.settings.url,context:this}),e=a.Deferred(function(b){c.success&&b.done(c.success),c.error&&b.fail(c.error),delete c.success,delete c.error,b.jqXHR=a.ajax(c).done(function(a){"1"!==a&&1!==a||(a={success:!0}),_.isObject(a)&&!_.isUndefined(a.success)?b[a.success?"resolveWith":"rejectWith"](this,[a.data]):b.rejectWith(this,[a])}).fail(function(){b.rejectWith(this,arguments)})}),d=e.promise(),d.abort=function(){return e.jqXHR.abort(),this},d}}}(jQuery); //]]></script>
It cause error but I don’t know where you add this script.
Please check and remove this script
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
April 23, 2019 at 7:27 pm #30555shopnslimeSupport Expired
Thanks we have deffered javascript to make website fast. But if we remove how to make the website optimized in google page speed.
-
April 23, 2019 at 10:30 pm #30572HarrySupport Expired
Hi,
Please update theme http://support.janstudio.net/forums/topic/updating-the-theme/ and all plugins. If issue still there, please deactivate plugin one by one and check again.
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
-
-
AuthorPosts
You must be logged in to reply to this topic.