New Landing How can we help? Themeforest Theme Support Nota Issue moving up add to cart button

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Nota
  • #314938
    stefanhuberfilms
    Member
    Post count: 6

    Hi all,

    I’m having issues customizing the product page, i’d like to move the add to cart button above the product description and below the price – all solutions i found on the web did fail unfortunately.

    thanks in advance!

    #314945
    David Martin – Support
    Moderator
    Post count: 20834

    Please install and activate the supplied child theme, inside the child theme functions.php file paste this:

    remove_action( 'woocommerce_single_product_summary', 'nota_product_short', 20 );
    add_action( 'woocommerce_single_product_summary', 'nota_product_short', 30 );
    #314954
    stefanhuberfilms
    Member
    Post count: 6

    just found the solution – edited the functions.php file of the child theme – i added these few bits to change the order of the button to above the description:

    remove_action( ‘woocommerce_single_product_summary’,
    ‘woocommerce_template_single_add_to_cart’, 30 );
    add_action( ‘woocommerce_single_product_summary’,
    ‘woocommerce_template_single_add_to_cart’, 11 );

    #315089
    David Martin – Support
    Moderator
    Post count: 20834

    Marking as resolved.

    Thanks.

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register