Forums / Templates, Stylesheets, Page Layout / Showcase with prices - contact us

Showcase with prices - contact us

Locked

Views: 1,778

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
21 Jul 2008, 12:39 AM
#1
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Location:
London
Posts:
557
Plugin Contributions:
0

Showcase with prices - contact us

I have set my store to 'Store Status - 2 - Showcase with prices' and instead of the price, a 'contact us' link is shown.
Clicking the link takes you to the contact us page.
This is exactly as I want it ... but ... is there any way of passing any of the product information (Product name or ID) to the contact form?

Or can anyone suggest another way to do this?

Thanks in advance.

26 Jul 2008, 8:21 PM
#2
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Location:
London
Posts:
557
Plugin Contributions:
0

Re: Showcase with prices - contact us

Nobody at all have an answer of any kind on this one?

26 Jul 2008, 8:30 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Showcase with prices - contact us

The Showcase with Prices is two fold ...

1 you can see prices if you put them in

2 all add to cart and buy now buttons revert to links for Contact Us

You would need to customize it further to get the product info into the Contact Us ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

26 Jul 2008, 9:30 PM
#4
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Location:
London
Posts:
557
Plugin Contributions:
0

Re: Showcase with prices - contact us

Yes, I understand that.

I know I have to mod the code somehow, (possibly this from tpl_product_info_display.php)

<div id="cartAdd"><div class="cart_display">
    <?php
      echo $display_qty;
      echo $display_button;
            ?></div>

But I am not sure what.

In normal html you would add this to an email link, for example:

mailto:[email protected]?subject=This is The Subject

What I need to do is combine the 2 somehow to have something like:

<div id="cartAdd"><div class="cart_display">
<a href="http://mysite.com/contact_us?subject=prod_id">Contact Us</a></div>
26 Jul 2008, 10:22 PM
#6
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Location:
London
Posts:
557
Plugin Contributions:
0

Re: Showcase with prices - contact us

Steven, might be a viable option.
What do you get at your end after the form is submitted?

26 Jul 2008, 10:58 PM
#8
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Location:
London
Posts:
557
Plugin Contributions:
0

Re: Showcase with prices - contact us

ooo! It worked!

:smile:

Needs tweaking to match but I also had to exclude it from Simple SEO URLs as the link was pointing to /ask-a-question/% - once the file was added to the 'ignore' list it worked fine.

Thanks for that.