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

FREE items

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 09-04-2006, 07:40 AM
  leon's Avatar 
leon leon is offline
 

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

Default FREE items

There should be an option when creating a product in order to mark it as FREE, that is easier and more understandable to deal with for both admin and users, then the current give your price when an item has a price iqual to 0.

When ordering FREE items only, there is no need for the customer to detail payment method, that process should be ignored and only requiere admins approval (order processed or completed) in order to send the items.
__________________
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
  #2  
Old 09-07-2006, 03:15 PM
  leon's Avatar 
leon leon is offline
 

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

Default Re: FREE items

Ok, got a fix for this, for those who need it.

1. In /skin1/customer/main/product.tpl in lines 64-66 where it says:
{else}
<input type="text" size="7" name="price" />
{/if}

2. Change to:
{else}
<b>{$lng.lbl_enter_your_price}</b>
{/if}

3. Then change your language variables for lbl_enter_your_price to:
FREE ITEM !

That gets rid of the price box when no price is established.
__________________
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
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 06:49 PM.

   

 
X-Cart forums © 2001-2020