You are here:  » %DESCRIPTION%

Active Forum Topics


%DESCRIPTION%

Submitted by Tobix on Wed, 2020-11-18 14:32 in

I wanted to structure my page like this:

- Image + Best price shop summary
- Price table
- Description
- Related products.

This is my exemple: {link saved}

Moving the description above related articles unfortunately %DESCRIPTION% does not work. How can I solve?

Submitted by support on Thu, 2020-11-19 08:55

Hi,

To add support for the %DESCRIPTION% placeholder to the Related Products / Before template (wp-admin > Settings > PriceTapestry.org) edit pto_product.php and look for the following code at line 279:

    $html .= $pto_html_related_before;

...and REPLACE with:

    $html .= $pto_html_related_before;
    $html = str_replace("%DESCRIPTION%",$product->description,$html);

Cheers,
David.
--
PriceTapestry.com