collapsible sections open

This topic contains 5 replies, has 4 voices, and was last updated by Avatar Sushobhan 6 days, 5 hours ago.

  • Author
    Posts
  • #102506
    Avatar
    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
    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
    Avatar
    ozkancol
    Participant

    Hi when Collapsible Sections.. variotions not working please help

  • #107627
    Avatar
    Sushobhan
    Keymaster

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

    • #107679
      Avatar
      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
    Avatar
    Sushobhan
    Keymaster

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

You must be logged in to reply to this topic.