Price near add-to-cart button - by ilab - on WordPress WooCommerce support

This topic has 4 replies, 3 voices, and was last updated 5 years, 8 months ago ago by Rose Tyler

  • Avatar: admin@ilab.kiev.ua
    ilab
    Participant
    March 5, 2019 at 18:54

    Hello!
    How can I place a price near add-to-cart button?
    Also, how set a bigger font of price and attributes on main page of shop.
    Thank you.

    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 5, 2019 at 19:19

    Hello,

    Maintenance mode is enabled and we can’t check your site to find out what design type of the product page you enabled and give you correct instructions. Please, provide temporary Dashboard access to check the site and help with your questions.

    Regards

    Avatar: admin@ilab.kiev.ua
    ilab
    Participant
    March 13, 2019 at 18:50

    Hello!
    I’m be happy, if you help me)
    Site is open now.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 14, 2019 at 09:04

    Hello,

    You can display the price here http://prntscr.com/mkwtml by adding this code in functions.php of your child theme

    remove_action('woocommerce_single_product_summary', 'woocommerce_template_single_price', 10);
    add_action('woocommerce_single_product_summary', 'woocommerce_template_single_price', 30);

    Add this code in Theme Optiuons > Custom CSS > Global Custom CSS:

    .products-grid .content-product .price,
    .products-slider .content-product .price {
        font-size: 16px;
    }
    .content-product .st-swatch-popup > .et_st-default-holder ul.st-swatch-size-normal li.type-label a, 
    .content-product .st-swatch-popup > .et_st-default-holder ul.st-swatch-size-normal li.type-label span,
    ul.st-swatch-size-large li.type-label a, ul.st-swatch-size-large li.type-label span {
        font-size: 13px;
    }

    http://prntscr.com/mxo1o7 > https://prnt.sc/mxo1wa

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.