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

CONSIGNGMENT STORE

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-15-2005, 08:21 PM
 
HEK HEK is offline
 

Member
  
Join Date: Jul 2005
Posts: 23
 

Default CONSIGNGMENT STORE

Hey, everyone.

I am thinking to make online consignment store, so I need to put one product but 2 or more different prices.

Of course, we can do to put 2 same items on 2 each pages but what I want to do is 2 or more diffrent prices on the same page and customer can choose what they want.

like;
name: Black Jacket
Brand: Gucci
item#: 555555
price:

$250.00 [Choose your size](S,M) Add to cart
$240.00 [Choose your size](S,L) Add to cart

Please give me some advise!

Thank you

--
HEK

X-Cart Gold v4.0.14
Reply With Quote
  #2  
Old 08-16-2005, 03:37 AM
 
balinor balinor is offline
 

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

Default

Use product variants. You can read about them in the help manual
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 08-16-2005, 10:31 PM
 
HEK HEK is offline
 

Member
  
Join Date: Jul 2005
Posts: 23
 

Default

Thank you Ryan,

Yes, I put variants.

Then more questions are coming up...
How can I put 2 or more "add to cart" buttons next to each selecct fields?

--

HEK
xcart4.0 macosx
Reply With Quote
  #4  
Old 08-16-2005, 11:46 PM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

Why would you need to 2 x add to cart buttons??
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #5  
Old 08-16-2005, 11:49 PM
 
HEK HEK is offline
 

Member
  
Join Date: Jul 2005
Posts: 23
 

Default

I put 2 varients,

one's class name is size1
anothers is size2

OPTION LIST
size1: Select Size, S, M
size2: Select Size, S, L

Varients
varients price amount
size1: Select Size 0 0
size2: Select Size

size1: US9.0(27.0cm) $20 2
size2: Select Size

size2: Select Size
size1: US11.0(29.0cm) $20 1

size2: US9.5(27.5cm) $23 1
size1: Select Size

size2: US9.5(27.5cm) $0 0
size1: US9.0(27.0cm) (This situation should not be happend.)

size2: US9.5(27.5cm) $0 0
size1: US11.0(29.0cm) (This situation should not be happend.)

size2: US10.0(28.0cm) $23 3
size1: Select Size

size2: US10.0(28.0cm) $0 0
size1: US9.0(27.0cm) (This situation should not be happend.)

size2: US10.0(28.0cm) $0 0
size1: US11.0(29.0cm) (This situation should not be happend.)


I write in the Validation script (Javascript)

var sz1 = product_option('size1');
var sz2 = product_option('size2');
if (sz2) if (sz2.selectedindex > 1){
sz1.selectedindex = 1;
return=true;
}

Then I thought IF users select one size from whichever they like.
Other one goes back to "Select Size" means first line
So, I don't need to put 2 "Add to cart" buttons.

It would be a good idea...
nnnn...
doesn't work...why...
--
HEK

X-Cart Gold v4.0.14
__________________
HEK

X-Cart 4.1.3 Gold
PHP 4.3.11
MySQL server 4.0.27
Reply With Quote
  #6  
Old 08-16-2005, 11:51 PM
 
HEK HEK is offline
 

Member
  
Join Date: Jul 2005
Posts: 23
 

Default

To: cotc2001

Ya, you are right!
I posted my idea but it doesn't work...
Please give me some idea.

Thank you
__________________
HEK

X-Cart 4.1.3 Gold
PHP 4.3.11
MySQL server 4.0.27
Reply With Quote
  #7  
Old 08-17-2005, 12:33 AM
 
HEK HEK is offline
 

Member
  
Join Date: Jul 2005
Posts: 23
 

Default

Finally, I put EXCEPTIONS.
It works what I wanted!

Now I really want to know,
How to the selected field goes back to "Select your size"(first line) automatically when user selects from another select field?

--

HEK
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 11:20 PM.

   

 
X-Cart forums © 2001-2020