stevenrwoolley Posted January 9, 2006 Posted January 9, 2006 I have been working on the call for price contribution more specifically the call for pricing link where you click the link and the contact us page opens up and the customer can get pricing without having to type the product information. I can get everything to work, but the product information is not encluded. It is supposed to show the product Id and so on. Instead it just shows http://onlinetransmissionparts.com/catalog...id=%0D%0A%0D%0A This is the code I have, Can you see what I am missing? 103 <tr> 104 <td class="pageHeading" valign="top"><?php echo $products_name; ?></td> 105 <td class="pageHeading" align="right" valign="top"><?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;} ?></td> 106 107 </tr> 108 </table></td> Any information would be great, Thank you, Steve Quote
stevenrwoolley Posted January 9, 2006 Author Posted January 9, 2006 I have been working on the call for price contribution more specifically the call for pricing link where you click the link and the contact us page opens up and the customer can get pricing without having to type the product information. I can get everything to work, but the product information is not encluded. It is supposed to show the product Id and so on. Instead it just shows http://onlinetransmissionparts.com/catalog...id=%0D%0A%0D%0A This is the code I have, Can you see what I am missing? 103 <tr> 104 <td class="pageHeading" valign="top"><?php echo $products_name; ?></td> 105 <td class="pageHeading" align="right" valign="top"><?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;} ?></td> 106 107 </tr> 108 </table></td> Any information would be great, Thank you, Steve Any idea's? This would be a great help for the customers. Quote
kgt Posted January 9, 2006 Posted January 9, 2006 I'm not familiar with this contribution, but it seems that $listing_values does not contain the values. Where is $listing_values initialized? Is this code added to products_info.php? Quote Contributions Discount Coupon Codes Donations
stevenrwoolley Posted January 9, 2006 Author Posted January 9, 2006 I'm not familiar with this contribution, but it seems that $listing_values does not contain the values. Where is $listing_values initialized? Is this code added to products_info.php? Thank you for the reply, I will search the contribution to see if their is any mention of listing_values along with the rest of the files. Thanks, Steve Quote
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.
Note: Your post will require moderator approval before it will be visible.