WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jefersonbmx
    Member
    Posted 8 months ago #

    Hi

    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

    http://wordpress.org/plugins/woocommerce/

  2. jefersonbmx
    Member
    Posted 8 months ago #

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

    https://lh4.googleusercontent.com/-3cbiC4FjHe8/UqFoI_hHb5I/AAAAAAAABmE/uoqMEQHBQ_o/h880/price-woocommerce-replace-with-shortcode-results.png

    sorry my english =/

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

Reply

You must log in to post.

About this Plugin

About this Topic