Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3615602
Composite products Change order of appearance of your plugins.
Open

Comments

  • Mark started the conversation

    Hi there, In WP I have same situation as in the ticket below. Composite Fields are shown first , then add-ons. I see settings for product options where I can select position above or under add to car button, but I need these options to show on top of composite fields. How do I change the order to where composites fields are moved down to add to car button and product options are above?

    https://wpc.ticksy.com//ticket/3458458/

  •  1,224
    Dustin replied

    Hi Mark,

    If you're using WPC Composite Products together with WPC Product Options, please add the custom code below. (How do you add a custom code?):

    add_action( 'wp_footer', function () {
        ?>
        <script type="text/javascript">
          (function($) {
            $(function() {
              // ready
              if ($('.wooco-wrap').length && $('.wpcpo-wrapper').length) {
                $('.wooco-wrap').insertAfter($('.wpcpo-wrapper'));
              }
            });
          })(jQuery);
        </script>
        <?php
    }, 99 );

    Best regards,
    Dustin

  •  2
    Michael replied

    Thank you Dustin, It worked, YAY!