Home Forums WoodMart support forum Whats the point?

Whats the point?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #200854

    lover69
    Participant

    Whats the point of the

    “After “Add to cart button” text area”

    if the wishlist icon moves down below the content you add? I am sure this must be some sort of bug? As it looks like an error as every website has the add to wishlist with the add to cart.

    #200897

    Artem Temos
    Keymaster

    Hi,

    Try to add the following PHP code snippet to the child theme functions.php file to fix this

    add_action(
       'wp',
       function() {
          remove_action( 'woocommerce_single_product_summary', 'woodmart_after_add_to_cart_area', 31 );
          add_action( 'woocommerce_single_product_summary', 'woodmart_after_add_to_cart_area', 34 );
       }
    );

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)