Guest Posted February 27, 2014 Posted February 27, 2014 How do I link the manufacturers image to link to the manufacturers url in index.php? At the moment it is clicking through to the home page.
♥toyicebear Posted February 27, 2014 Posted February 27, 2014 index.php?manufacturers_id=1 Change the id number to the one of the manufacturer you want to link to. Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here]
Guest Posted February 27, 2014 Posted February 27, 2014 @@toyicebear I am not sure how this helps. I am looking for the image to click through to the url. Here is an example: http://www.womensbusinessclub.co.uk/index.php?manufacturers_id=14 On this page I want to advertiser image to click through to the advertiser url. This is set as the manufacturer image and manufacturer url but at the moment it does not go through to the manufacturer url but to the home page because of this code: <?php echo ' <a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $catimg, $catname, 785, 150, 'class=shadow1') . '</a>' . "\n"; ?> So what I want to know is what do I put in the place of (FILENAME_DEFAULT, $cPath_new) to get it to go through to the manufacturer url
♥toyicebear Posted February 27, 2014 Posted February 27, 2014 you have to edit index.php and add the manufacturer url to the query and then you can reference it again in the link. Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here]
Guest Posted February 27, 2014 Posted February 27, 2014 @@toyicebear Thank you for your help, please can you tell me how to do this as I am stuck
♥toyicebear Posted February 27, 2014 Posted February 27, 2014 <?php echo ' <a href="' . tep_href_link(FILENAME_REDIRECT, 'action=manufacturer&manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id']) . '">' . tep_image(DIR_WS_IMAGES . $catimg, $catname, 785, 150, 'class=shadow1') . '</a>' . "\n"; ?> Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here]
Guest Posted February 27, 2014 Posted February 27, 2014 @@toyicebear Brilliant thank you so much for your help! Any idea how I can add a text field if I make the image square on the left to have a text field square on the right?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.