Your account expired support, please renew to get your support.

Home Forums Themes Support Claue On product page after selecting option Add to cart button is disabled

Viewing 5 reply threads
  • Author
    Posts
    • #30537
      shopnslime
      Support 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.
    • #30544
      Harry
      Support 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

    • #30547
      shopnslime
      Support Expired

      We have updated both plugin but still the error is present.

    • #30548
      Harry
      Support 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

    • #30555
      shopnslime
      Support Expired

      Thanks we have deffered javascript to make website fast. But if we remove how to make the website optimized in google page speed.

    • #30572
      Harry
      Support 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

Viewing 5 reply threads

You must be logged in to reply to this topic.