X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   CONSIGNGMENT STORE (https://forum.x-cart.com/showthread.php?t=15943)

HEK 08-15-2005 08:21 PM

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

balinor 08-16-2005 03:37 AM

Use product variants. You can read about them in the help manual :)

HEK 08-16-2005 10:31 PM

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

cotc2001 08-16-2005 11:46 PM

Why would you need to 2 x add to cart buttons??

HEK 08-16-2005 11:49 PM

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 08-16-2005 11:51 PM

To: cotc2001

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

Thank you

HEK 08-17-2005 12:33 AM

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


All times are GMT -8. The time now is 03:30 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.