WooCommerce - excelling eCommerce
How to replace the price (txt inserted) with a price returned from a shorcode (2 posts)

  1. jefersonbmx
    Posted 1 year ago #


    Please, check this site I created: http://www.descontomail.com.br

    I'll install a new theme (Mystile) with Woocommerce on this site.

    I'm doing offline tests.

    Do you think it's possible to do what I want:

    Change what is displayed on the product price, which is entered manually when a post of products is created, replaced by a shortcode?

    See that on my home page now. There is a ladder advertised, with their own prices and an store icon. The price, the icon, and the link to where the user is sent, is created from a shortcode.

    In this shorcode (in each post) I will add multiple links of different stores for the same product. In this theme functions.php file I added a php script created by myself of comparison price, which returns to the shortcode: the price, store icon, and the button link to the store that has the lowest price.

    I would like to show this same way using the Woocommerce.

    The pages of product categories, ones that list a lot of products, should display below of the image the product price, returned from the shortcode. And on the product page, besides the price, return the icon of the store and in the "buy" or "go to the store" button, the respective link returned from shortcode. Therefore, both the price, as the link will not be inserted into the product creation page. They will returned from the shortcode with a list of links to different stores.

    Thank you


  2. jefersonbmx
    Posted 1 year ago #

    I put in this image what I have done, and to describe better what I want to do.


    sorry my english =/

    [Moderator Note: No bumping. If it's that urgent, consider hiring someone.]

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic