Home Forums Themes Support Claue Set the variation with stock as default variation in Woocommerce variable produc

Viewing 9 reply threads
  • Author
    Posts
    • #39137

      Hi Harry,

      I have a lot of variations on the product some of them are out of stock but if i trigger this

      Out of stock visibility: Hide out of stock items from the catalog

      woocommerce -> settings -> products -> inventory

       

      the variation will get cross mark but the problem is the default variation it will not show anything like images etc. because the default variation is already have cross mark. Is there anyway to put a custom code for this?

      Thank you

      Regards,
      Art

      Attachments:
      You must be logged in to view attached files.
    • #39146

      Hi Art,

      Can you send link so me can check?

      Thanks

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #39157

      Hi Harry,

      Please see this link

      https://rumiearth.com/us/product/earth-yoga-mat-test/

      Default Variation: Coral

      We tick this option to disabled the variation with out of stock item.

      Out of stock visibility: Hide out of stock items from the catalog

      woocommerce -> settings -> products -> inventory

      Thank you

      Regards
      Art
      Rumi Co.

       

      Attachments:
      You must be logged in to view attached files.
    • #39161

      Can you send me admin account to check too.

      Thanks

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #39164

      aaa

      • This reply was modified 4 years, 1 month ago by kalarit.
    • #39166
      This reply has been marked as private.
    • #39167

      Hi Rumi,

      Where is the code you added to set variation class to “disabled” when product out of stock? I think the code cause the issue.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #39175

      Hi Harry,

       

      We didn’t add custom code for this

       

      Please see this functionality of the woocommerce

       

      We tick this option to disabled the variation with out of stock item.

      Out of stock visibility: Hide out of stock items from the catalog

      woocommerce -> settings -> products -> inventory

       

      or try this link

      https://rumiearth.com/us/wp-admin/admin.php?page=wc-settings&tab=products&section=inventory

       

      Regards,
      Art
      Rumi Co.

      • #39176

        Hi Harry,

        after ticking that functionality it will automatically disabled also the variation with cross mark

         

        Regards
        Art
        Rumi Co.

        • This reply was modified 4 years, 1 month ago by kalarit.
    • #39178

      Hi Art,

      I check on my local it still work well https://prnt.sc/vhth83 https://prnt.sc/vhthyq

      I see your site customize so much in code, and version of theme and plugin variation swatch outdated. Please move your customize code to child theme and update parent theme and plugin.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #39179

      Hi Harry,

       

      Thanks will try this.

       

      Regards
      Art
      Rumi Co.

Viewing 9 reply threads

You must be logged in to reply to this topic.