iimike9 Posted October 31, 2007 Posted October 31, 2007 Hi, I am trying to show a link to each products url in the product_listing.php results. I couldn't find any contrib or information about that anywhere. Any help would be much appreciated... Thank you very much Mike
Jack_mcs Posted October 31, 2007 Posted October 31, 2007 I don't understand what you are trying to do. The product listing module already has links to the products. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
♥geoffreywalton Posted October 31, 2007 Posted October 31, 2007 The product listing module is written to allow combinations of the 8 standard columns. You would need to edit sql command, $listing_sql, in the calling script to include the field containing the product url and the edit product_listing.php to handle an extra column. Enjoy Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
iimike9 Posted October 31, 2007 Author Posted October 31, 2007 The product listing module is written to allow combinations of the 8 standard columns. You would need to edit sql command, $listing_sql, in the calling script to include the field containing the product url and the edit product_listing.php to handle an extra column. Enjoy Geofrey, Actually I wouldn't need an extra column since I want to switch the buy now button to a link to the product URL. Could you please explain me further about the editing of $listing_sql. Thank you very much for taking the time to help me... Mike
♥geoffreywalton Posted October 31, 2007 Posted October 31, 2007 In the calling script, you need to amend the sql to get the data you need try index.php. You could replace all references to one of the standard columns or create new code for a new column. Enjoy Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.