Title: hs24's Replies | WordPress.org

---

# hs24

  [  ](https://wordpress.org/support/users/hs24/)

 *   [Profile](https://wordpress.org/support/users/hs24/)
 *   [Topics Started](https://wordpress.org/support/users/hs24/topics/)
 *   [Replies Created](https://wordpress.org/support/users/hs24/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/hs24/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/hs24/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/hs24/engagements/)
 *   [Favorites](https://wordpress.org/support/users/hs24/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPC Composite Products for WooCommerce] “Missing a required component product.”](https://wordpress.org/support/topic/missing-a-required-component-product/)
 *  Thread Starter [hs24](https://wordpress.org/support/users/hs24/)
 * (@hs24)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/missing-a-required-component-product/#post-16912207)
 * Hi,
 * Fixed it. Problem was the theme (Porto) and found this code that solved it:
 *     ```wp-block-code
       add_action( 'wp_footer', 'wooco_fix_for_porto_theme', 99 );
       function wooco_fix_for_porto_theme() {
       	?>
           <script type="text/javascript">
             (function($) {
               $(function() {
                 // ready
                 setTimeout(function() {
                   $('.wooco-wrap').each(function() {
                     wooco_init_selector();
                     wooco_init($(this), 'load');
                   });
                 }, 300);
               });
             })(jQuery);
           </script>
       	<?php
       }
       ```
   
 * Kind regards
 * H.

Viewing 1 replies (of 1 total)