Hello,
I'd like to use [pto prices="Product Name"] with the product name fetched by another shortcode {link saved}. But I need it vice versa.
I'd be happy to get a solution for that!
Daniel
Hello Daniel,
I may need to look into this further depending on the "greediness" with which shortcodes are processed at the top level by WordPress, but it could be as simple as modifying pto.php and looking for the following code at line 428:
$pto_product = pto_common_normalise($v);
...and REPLACE with:
$v = do_shortcode($v); $pto_product = pto_common_normalise($v);
Hope this helps!
Cheers, David. -- PriceTapestry.com
Perfect, that's it!
Thanks David
©2006-2025 IAAI Software | Contact Us | Privacy Policy
Hello Daniel,
I may need to look into this further depending on the "greediness" with which shortcodes are processed at the top level by WordPress, but it could be as simple as modifying pto.php and looking for the following code at line 428:
$pto_product = pto_common_normalise($v);
...and REPLACE with:
$v = do_shortcode($v);
$pto_product = pto_common_normalise($v);
Hope this helps!
Cheers,
David.
--
PriceTapestry.com