drowubl Posted September 6, 2005 Share Posted September 6, 2005 Hello, I tried to use the "call for pricing" contrib, and it works. Now I wanted to add the nifty little code Paul added to the Contribution : <a href="' . tep_href_link(FILENAME_CONTACT_US, 'enquiry=Price Inquiry%0D%0A%0D%0AProduct Id: ' . $listing_values['products_id'] . '%0D%0AProduct Name: ' . $listing_values['products_name'] . '%0D%0AProduct Url: ' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing_values['products_id'] .'%0D%0A%0D%0A') . '') . '">Call For Price</a> I added the code to product-info.php and on a very basic level it works ... It adds the following to the enquiry field on contact_us : Price Inquiry Product Id: Product Name: Product Url: http://www.mywebsite.com/test/catalog/prod...hp?products_id= :'( Obviously it just ignores all the listingvalue-thingies, sadly i have no idea how I could use this knowledge and change the little listingvalue-thingies into something that works. :o My Code: <?php if ($product_info['products_price'] == 0){ echo '<a href="' . tep_href_link(FILENAME_CONTACT_US, 'enquiry=Price Inquiry%0D%0A%0D%0AProduct Id: ' . $listing_values['products_id'] . '%0D%0AProduct Name: ' . $listing_values['products_name'] . '%0D%0AProduct Url: ' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing_values['products_id'] .'%0D%0A%0D%0A') . '') . '">Call For Price</a>'; }else{ echo $products_price;} ?> Please help me :'( Quote Link to comment Share on other sites More sharing options...
Naegle Posted November 8, 2005 Share Posted November 8, 2005 ....Obviously it just ignores all the listingvalue-thingies, sadly i have no idea how I could use this knowledge and change the little listingvalue-thingies into something that works. :o I havnt had any luck with it either. If I find a solution, I'll post it.... Quote Link to comment Share on other sites More sharing options...
shelbyparts Posted September 22, 2007 Share Posted September 22, 2007 I havnt had any luck with it either. If I find a solution, I'll post it.... Same here :( jes Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.