help with writing a link please
-
HI I’m working the e-commerce plugin and I received this advice for a change I want to make ( below). But I can’t make the change without getting error messages .I got a book out the library and I’m slowly learning php but I wonder if anyone would help in the meanwhile
basically I can’t change the href etc line
you can see on my site I want “visit the store” to point to the page I made for the store found in my navigation, not the product list page that is automatically created by the plug-in. I must be adding a ” or a ‘ or a something ! I can do html a bitI was thinking it was
$output .= "<a href="http://www.soulsilver.co.nz/store">".TXT_WPSC_VISITTHESHOP."</a>";what do I need to change??? HELP
Here is advice from the e-commerce forum:
EDIT: You can change the URL that it points to in “shopping_cart_functions.php” on line 364.You’ll see this line:
$output .= "<b href='".get_option('product_list_url')."'>".TXT_WPSC_VISITTHESHOP."</b>";Just change the href to point to where you’d like it to...and remember in that href there are ” …and a ‘ …messing that up, will mess up your link also.
i changed the “a” tags to “b” so that all the code would show up.
The topic ‘help with writing a link please’ is closed to new replies.