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

Quantity with the base of 6

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-29-2008, 05:00 AM
 
boccio boccio is offline
 

Member
  
Join Date: Aug 2008
Posts: 23
 

Default Quantity with the base of 6

Hi all,

I need to set the quantity of my products (all without exception) to the base of 6. This means one can order 6/12/18/24/30, etc. bottles of wine (which are actually my product )

How can I set this? Tried searching forum, but no joy...

TIA
__________________
4.1.10
Reply With Quote
  #2  
Old 09-01-2008, 06:38 AM
  Vetrivel's Avatar 
Vetrivel Vetrivel is offline
 

eXpert
  
Join Date: Apr 2008
Posts: 398
 

Default Re: Quantity with the base of 6

just go to cart .tpl page and mutiply the quantity with 6....
Reply With Quote
  #3  
Old 09-01-2008, 06:49 AM
  Alex Malkov's Avatar 
Alex Malkov Alex Malkov is offline
 

Newbie
  
Join Date: Sep 2008
Posts: 7
 

Default Re: Quantity with the base of 6

If you don't want to edit any x-cart files, you can also add a product named somth like "Pack of 6 bottles" and leave ability to buy 1, 2 ... packs.
__________________
Regards,
Alex Malkov

X-Cart PDF Catalog Generator NEW
Professional X-Cart Skins Store (7 new skins added in August 2008!)

ahedOffice.com - Web 2.0 Online Groupware
Reply With Quote
  #4  
Old 09-01-2008, 07:54 AM
 
boccio boccio is offline
 

Member
  
Join Date: Aug 2008
Posts: 23
 

Default Re: Quantity with the base of 6

Thanks for replying.

I don't think that cart.tpl is the right place for this (correct me if I'm wrong), because I want the right quantity directly on product details page. Here's the actual page, btw:
http://www.vinser.eu/store/product.php?productid=1

I'd like the "quantity" drop-down in "Options" section just below the product price to reflect 6/12/18 instead of 1,2,3,4,5,etc.

Adding a product "pack of 6 bottles" is also something different to what I'm seeking for.

Is there any way I can have drop-down on product details page display quantities with the base of 6 ?

TIA
__________________
4.1.10
Reply With Quote
  #5  
Old 09-24-2008, 07:11 AM
 
boccio boccio is offline
 

Member
  
Join Date: Aug 2008
Posts: 23
 

Default Re: Quantity with the base of 6

Anyone? Is this really such a problem to do?
__________________
4.1.10
Reply With Quote
  #6  
Old 09-24-2008, 09:13 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Quantity with the base of 6

http://forum.x-cart.com/showthread.php?t=36781

Except use...
Code:
{section name=quantity loop=$mq start=$start_quantity step=6 start=6}
__________________
xcartmods.co.uk
Reply With Quote
  #7  
Old 09-25-2008, 01:54 AM
 
boccio boccio is offline
 

Member
  
Join Date: Aug 2008
Posts: 23
 

Default Re: Quantity with the base of 6

Worked like a charm. Thank you buddy so much!
__________________
4.1.10
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


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:13 AM.

   

 
X-Cart forums © 2001-2020