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

Width & Length / variants array

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-29-2009, 02:29 AM
 
Coolj Coolj is offline
 

Newbie
  
Join Date: Sep 2009
Location: Washington
Posts: 3
 

Default Width & Length / variants array

I am trying to understand the difference in the width & length
options between the two sites, and how to show only the interer.

The first drop down box show's only the integer ie 25,26,27, etc
and changes the price depeding on size selected

http://coveredhouse.com/store/product.php?productid=16151&cat=250&page=1

The second one the interger show's as 13" (+$2.00) 14" (+$4.00)

http://www.xcart.magentotest.net/product.php?productid=17516&cat=253&page=1

My Question Is how do do you get the first with out the (+$0.00)
showing up in the drop down list.


Thanks
Gary
__________________
Version 4.3
Windows
Hosting Linux
Pacific Time
Reply With Quote
  #2  
Old 12-01-2009, 06:33 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Width & Length / variants array

The second example looks like a price modifier option instead of of a product option variant. Variants allow you to set a price, and price modifiers only add or subtract from your base price.

Be aware that variants are a sub-sku of your original sku and will counted separately. Options are only counted as a whole, regardless of what the option ordered is. I hope this makes sense.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote

The following user thanks JWait for this useful post:
Coolj (12-01-2009)
  #3  
Old 12-01-2009, 08:15 PM
 
Coolj Coolj is offline
 

Newbie
  
Join Date: Sep 2009
Location: Washington
Posts: 3
 

Default Re: Width & Length / variants array

Quote:
Originally Posted by JWait
The second example looks like a price modifier option instead of of a product option variant. Variants allow you to set a price, and price modifiers only add or subtract from your base price.

Be aware that variants are a sub-sku of your original sku and will counted separately. Options are only counted as a whole, regardless of what the option ordered is. I hope this makes sense.

This is what came from the help desk

Does that fit in with what you are suggesting
My thought is this may have to do with javascript and I donot have any
experiance with it / I am probably missing the point
Thanks
Gary
I am trying to understand the difference in the width & length
options between the two sites, and how to show only the interer.

The first drop down box show's only the integer ie 25,26,27, etc
and changes the price depeding on size selected

http://coveredhouse.com/store/produc...cat=250&page=1

The second one the interger show's as 13" (+$2.00) 14" (+$4.00)

http://www.xcart.magentotest.net/pro...cat=253&page=1

My Question Is how do do you get the first with out the (+$0.00)
showing up in the drop down list.

I think this can work with out special programing
if I can figure out the above Question
If you specify the option class as "product variant", it allows to set the separated price per each option combination.
For example:
width 12" 24" 36" 48"
length 12"  $48 56 59 65
length 24"  $58 60 68 70
length 36"  $65 72 75 81

You will set the different prices for:
width 12"; length 12": $48
width 12"; length 24": $58
width 12"; length 36": $65
width 24" for all lengths..
etc


--

Sincerely yours,
Olesya Vinogradova,
Project Manager
__________________
Version 4.3
Windows
Hosting Linux
Pacific Time
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 03:51 PM.

   

 
X-Cart forums © 2001-2020