Elementor Widget – Product View style templates

This topic has 5 replies, 2 voices, and was last updated 4 years, 6 months ago ago by Olga Barlow

  • Avatar: Fiz
    Fiz
    Participant
    May 24, 2021 at 17:29

    Hi, Im using elementor widget “Ajax Product Tabs”. There’s an option to select the predefined layout for Product View. https://snipboard.io/E3ba5F.jpg

    I want to edit some of the default view layout. Which files/template files should I look into?

    4 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    May 25, 2021 at 11:07

    Hello,

    What exactly do you want to change? Order of elements or elements style?

    Regards

    Avatar: Fiz
    Fiz
    Participant
    May 25, 2021 at 17:48

    I want to add item Sold Count next to the pricing.
    Already created a shortcode to display the sold count. Normal woocommerce hook not working well, so i decided to modify the file directly.

    Avatar: Fiz
    Fiz
    Participant
    May 25, 2021 at 18:29

    Using the default loop filter, the sold count showing below the price. I want it to display inline with the price. Price on the left while Sold cont on the right.
    https://snipboard.io/V12MFe.jpg

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    May 26, 2021 at 08:09

    Hello,

    Use the woocommerce_after_shop_loop_item hook in child theme functions.php if you want to show additional content after the price https://www.businessbloomer.com/woocommerce-visual-hook-guide-archiveshopcat-page/
    For example
    add_action ( 'woocommerce_after_shop_loop_item', 'custom_function' ) ;

    Regards

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

The issue related to '‘Elementor Widget – Product View style templates’' has been successfully resolved, and the topic is now closed for further responses

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