- This topic has 7 replies, 4 voices, and was last updated 7 years, 7 months ago by .
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Fancy 14 display product name not turning into a link
Tagged: fancy display, product details, Product Name
I’m using the fancy 14 display (usadogtreats.com) and I have set the product page url [http://thepetwash.com] and the product name is NOT turning into a link.
Fancy 14 doesn’t use a link on the product name by design. You can see a template of all the templates here:
http://www.tipsandtricks-hq.com/ecommerce/stylish-product-display-options-for-wp-estore-829
Can you tell me how to make the product name a link in fancy 14?
open the “fancy_template_include.php” file in the extra shortcodes addon and find the following line of code:
$output .= $ret_product->name;
Replace that line with the following:
$output .= '<a href="'.$ret_product->product_url.'">'.$ret_product->name.'</a>';
Thank you
I want to use Fancy 14 for the store grid. When I did the page I did not realized there will be no links. I read the note above, so where this code located exactly “$output .= $ret_product->name;”?
Thanks.
@Ewa Pringle wrote:
I read the note above, so where this code located exactly “$output .= $ret_product->name;”?
@admin wrote:
…open the “fancy_template_include.php” file in the extra shortcodes addon…
Found it: Plugins > Extra Shortcodes for WP eStore > Edit > Edit Plugins > Plugin Files (on the right) > eStore-extra-shortcodes/fancy_template_include.php
And now it is turning into a link.
Thanks.