Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Email for Pricing

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 03-07-2005, 01:22 PM
 
Danielle Danielle is offline
 

Senior Member
  
Join Date: Jan 2005
Posts: 138
 

Default

Yes I'm about to do that, I'm just still new to all this and it looks like a lot of code to play around with, I guess I'm just paranoid of messing something up, lol. I thought I'd just check again before I went ahead with it. But this is definitely something I want so *deep breath* here I go! I'll post if it works or not
__________________
Danielle
X-Cart Pro 4.0.10
X-Gift-Registry
X-AOM
Reply With Quote
  #12  
Old 03-07-2005, 01:27 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Just save the original, nothing bad can happen Seriously, you'll be surprised how easy it is once you dig in!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #13  
Old 03-07-2005, 01:36 PM
 
Danielle Danielle is offline
 

Senior Member
  
Join Date: Jan 2005
Posts: 138
 

Default

Thanks...I have played around with a few things and made some rather ummm LARGE mistakes hehe. Gotta say, I LOVE that restore button, lol.
__________________
Danielle
X-Cart Pro 4.0.10
X-Gift-Registry
X-AOM
Reply With Quote
  #14  
Old 03-07-2005, 01:39 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Just be very careful, if you hit restore to a template you have already modified, it will go back to the ORIGINAL, default x-cart template. I usually save a back-up of the template locally and restore from that if I am using a modified template.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #15  
Old 03-21-2005, 08:22 PM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default

Quote:
Originally Posted by balinor
Just be very careful, if you hit restore to a template you have already modified, it will go back to the ORIGINAL, default x-cart template. I usually save a back-up of the template locally and restore from that if I am using a modified template.

What I do is test the template, if its ok I overwrite the original via FTP, that way if you restore, you restore with the most updated tested version anyway.
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
  #16  
Old 11-28-2005, 09:39 PM
 
Falkayn Falkayn is offline
 

Newbie
  
Join Date: Jun 2005
Location: Sydney, Australia
Posts: 4
 

Default

Thank you for this solution, it has helped me today tremendously! In the spirit of Christmas sharing I thought it might be handy if I told you how I got around the SPAM problem ...

Instead of using the mailto: link, I linked it to my Contact Us page and then hacked that template to get the subject automatically populated. So for example on the products.tpl page I used:
Code:
Contact us for a price quote.

Whilst on the product.tpl page I used:
Code:
Contact us for a price quote.

In the contactus.tpl page I added this to the subject field:
Code:
<INPUT type="text" id="subject" name="subject" size="32" maxlength="128" value="{$userinfo.subject}{if $smarty.get.subject}{$smarty.get.subject}{/if}">
__________________
Angus McDonald
Snowy Software
X-Cart v4.0.13 [Linux/Zeus]
Reply With Quote
  #17  
Old 01-02-2007, 07:43 PM
 
nfc5382 nfc5382 is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 477
 

Default Re: Email for Pricing

How about an automated response for the price??? We have distributors that will disallow any online price discounts so it would be nice if we could automatically reply with a link to a hidden product with a discounted price or coupon code.
__________________
-----------------------
x-cart v4.7.6 [LIVE]
x-cart v4.0.18 [retired 2004-2016]
x-cart v3.5.13 [retired]
x-cart v3.4.14 [retired]
Reply With Quote
  #18  
Old 01-30-2007, 02:56 AM
 
sammig sammig is offline
 

Newbie
  
Join Date: Jan 2007
Posts: 1
 

Default Re: Email for Pricing

HI, could anyone tell an x-cart newbie how to do the "email for prices" for version 4.1.5 please?
__________________
Version 4.1.5
Reply With Quote
  #19  
Old 04-27-2007, 06:51 PM
 
nfc5382 nfc5382 is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 477
 

Default Re: Email for Pricing

I don't think there exists a good solution for this.
__________________
-----------------------
x-cart v4.7.6 [LIVE]
x-cart v4.0.18 [retired 2004-2016]
x-cart v3.5.13 [retired]
x-cart v3.4.14 [retired]
Reply With Quote
  #20  
Old 05-18-2007, 07:07 PM
 
gardel gardel is offline
 

Member
  
Join Date: May 2004
Location: San Francisco
Posts: 20
 

Default Re: Email for Pricing

If you have $0 items and don't want the customer to enter a price, here are the instructions for 4.1.7:

In Admin->Languages, add the following text topic:

Variable: txt_contact_us_for_pricing

Value:
PHP Code:
<a href="help.php?section=contactus&mode=update&subject=Requesting prices for - {{product}}">Contact us</a> for pricing


In product.tpl, replace:

PHP Code:
<input type="text" size="7" name="price" /> 

with:

PHP Code:
{$lng.txt_contact_us_for_pricing|substitute:"product":$product.product


In products.tpl, replace:

PHP Code:
<font class="ProductPrice">{$lng.lbl_enter_your_price}</font

with:

PHP Code:
<font class="ProductPrice">{$lng.txt_contact_us_for_pricing|substitute:"product":$products[product].product}</font


In contactus.tpl, replace:

PHP Code:
<input type="text" id="subject" name="subject" size="32" maxlength="128" value="{$userinfo.subject}/> 

with:

PHP Code:
<input type="text" id="subject" name="subject" size="32" maxlength="128" value="{$userinfo.subject} {if $smarty.get.subject}{$smarty.get.subject}{/if}" /> 

Disabling Add to Cart and not displaying $0 in the Wish List is left as an optional exercise for the reader.
__________________
x-cart 4.1.8 [unix]
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:46 AM.

   

 
X-Cart forums © 2001-2020