- This topic has 1 reply, 2 voices, and was last updated 14 years, 6 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 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 › WP eStore Tweaks › Products page URL title added
Tagged: Products page URL title
Thanks for thus plug-in, not tested allready in production, but seem realy interesting.
I patch it with simple feature who seem usefull : Products page URL title
Because I would personalise the “Visit The Shop” string too, i add a field in the .php file.
Please find herewith the diff of you last file and my modification :
32d31
< add_option(‘wp_cart_visit_shop_text’, ‘Visit The Shop’);
157d155
< $wp_cart_visit_shop_text = get_option(‘wp_cart_visit_shop_text’);
165c163
< $output .= ‘
‘.$wp_cart_visit_shop_text.’‘;
—
> $output .= ‘
Visit The Shop‘;
552d549
< update_option(‘wp_cart_visit_shop_text’, (string)$_POST[“wp_cart_visit_shop_text”]);
583,585c580
< $cart_products_page_url = get_option(‘cart_products_page_url’);
< $wp_cart_visit_shop_text = get_option(‘wp_cart_visit_shop_text’);
<
—
> $cart_products_page_url = get_option(‘cart_products_page_url’);
686,689d680
< <tr valign=”top”>
< <th scope=”row”>Products page URL title</th>
< <td><input type=”text” name=”wp_cart_visit_shop_text” value=”‘.$wp_cart_visit_shop_text.'” size=”40″ /></td>
< </tr>
691a683
>
Tanks,
mike
Remember, you can also change any customer visible text or message from the “Language” files (e.g. eng.php). This way you don’t even have to modify any code so the update will be very smooth.