collapsible sections open

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 6 reply threads
  • Author
    Posts
    • #102506
      Ivan Black
      Participant

      Hello,

      How do I make the ‘add new product’ form a single page without collapsible sections??

      I have experience some issues where the sections don’t open fully. Can I make all collapsible sections open by default?

      Thank you

    • #106059
      WCFM Forum
      Keymaster

      Hi,

      Please add this code to your site for the purpose-

      add_action( 'after_wcfm_products_manage', function() {
      	?>
        <style>
        .wcfm-tabWrap .page_collapsible, .wcfm-tabWrap .page_collapsible + .wcfm-container {
        	width: 98% !important;
        	position: relative !important;
        }
        .wcfm-tabWrap {
        	height: auto !important;
        }
        </style>
        <script>
        jQuery( document ).ready( function( $ ) {
        	setTimeout(function() {
        		$('.wcfm-tabWrap .page_collapsible').off('click');
        		$('.wcfm-tabWrap').find('.wcfm-container').removeClass('collapse-close').addClass('collapse-open').show();
        	}, 2000 );
        });
        </script>
      	<?php
      });

      Add this code to your child theme’s functions.php
      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

      Thank You

    • #106577
      ozkancol
      Participant

      Hi when Collapsible Sections.. variotions not working please help

    • #107627
      Sushobhan
      Keymaster

      Hello,
      What do you mean by not working? Can you please show me a snapshot of the problem?
      Thanks!

      • #107679
        ozkancol
        Participant

        i mean all the collapse opened, when we select for examlple size Xsmall or Large
        Variations not refreshing apened collapse sections
        images attached res-1 ,res2

        Attachments:
        You must be logged in to view attached files.
    • #108040
      Sushobhan
      Keymaster

      Hello,
      Kindly enable “Use as Variation” checkbox option.
      Thanks

    • #113745
      sarah
      Participant

      I need this also and am having the same problem with the variations. I have the appropriate attribute enabled, but using the code above, the variations section does not change and load the appropriate variation fields. Even if I uncheck the attribute and then recheck it, the variations section does not trigger and open correctly.

    • #113834
      Sushobhan
      Keymaster

      Hi Sarah,
      Can you please share a screen capture video or snapshot of the issue?
      Thanks

Viewing 6 reply threads
  • You must be logged in to reply to this topic.