Jump to content
Sign in to follow this  
stevenrwoolley

Call for Price

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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?


Contributions

 

Discount Coupon Codes

Donations

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×