Advertisement
Guest User

Untitled

a guest
May 16th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. <?php if ($product->is_type( 'variable' ) ) {
  2. echo '<div class="card-content">
  3. <span>';
  4. echo '<div class="btn modal-trigger" href="#modal5">ello';
  5. echo '<div id="modal5" class="modal" style="overflow: auto;">
  6. <div class="modal-content">';
  7. /**
  8. * woocommerce_single_product_summary hook.
  9. *
  10. * @hooked woocommerce_template_single_title - 5
  11. * @hooked woocommerce_template_single_rating - 10
  12. * @hooked woocommerce_template_single_price - 10
  13. * @hooked woocommerce_template_single_excerpt - 20
  14. * @hooked woocommerce_template_single_add_to_cart - 30
  15. * @hooked woocommerce_template_single_meta - 40
  16. * @hooked woocommerce_template_single_sharing - 50
  17. */
  18. do_action( "woocommerce_single_product_summary" );
  19. echo '</div>';
  20. echo '</div>';
  21. echo '</div>';
  22. echo '</span>';
  23. }else {
  24. echo '<div class="card-content">
  25. <span>';
  26.  
  27. /**
  28. * woocommerce_single_product_summary hook.
  29. *
  30. * @hooked woocommerce_template_single_title - 5
  31. * @hooked woocommerce_template_single_rating - 10
  32. * @hooked woocommerce_template_single_price - 10
  33. * @hooked woocommerce_template_single_excerpt - 20
  34. * @hooked woocommerce_template_single_add_to_cart - 30
  35. * @hooked woocommerce_template_single_meta - 40
  36. * @hooked woocommerce_template_single_sharing - 50
  37. */
  38. do_action( "woocommerce_single_product_summary" );
  39. echo '</span>';
  40. }?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement