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

Import product options

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 11-04-2003, 11:52 AM
  finestshops's Avatar 
finestshops finestshops is offline
 

eXpert
  
Join Date: Oct 2002
Location: Toronto, Canada
Posts: 335
 

Default

Quote:
Originally Posted by lildawg
Does this allow for when importing lets say a 1XL to still be able to add more money if that size is choosen? Example would be in x-cart adding a option I would put 1XL=+5 to add $5.00 to the base price if that is choosen. Has anyone done this yet and know?

Yes. Just specify it the same way as you would in the Control panel:

1139, Size, S=+5\r\nM=+7\r\n1XL=+10

__________________
Best regards,

Anton Pachkine
finestshops.com/x-cart
Reply With Quote
  #12  
Old 11-12-2003, 09:16 PM
  BoomBoomBap's Avatar 
BoomBoomBap BoomBoomBap is offline
 

Senior Member
  
Join Date: Nov 2002
Location: San Francisco
Posts: 184
 

Default

I tried this - the install was no problem (thanks for the detailed howto) but the SQL code seems to be missing the product id.

Here's the output:
Code:
SELECT count(*) FROM xcart_product_options WHERE productid='' AND optclass='Color' UPDATE xcart_product_options SET optclass='Color', opttext='Color', options='Black\r\nRed\r\nRoyal Blue' WHERE productid=''

My csv file:
Code:
1, Color, Black\r\nRed\r\nRoyal Blue

I also tried with semicolons but to no avail...
__________________
Site 1 > XCART LIVE 3.4.12

Site 2 > XCART LIVE 4.0.17
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 01:55 PM.

   

 
X-Cart forums © 2001-2020