View Single Post
  #6  
Old 11-15-2003, 04:39 PM
  finestshops's Avatar 
finestshops finestshops is offline
 

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

Default

Quote:
Originally Posted by adpboss
If it could create and import quantity pricing it would truly be the bomb.

This is easy. I'm using it already for several months.
Modify import file like this:

$columns[0] - is your product code in import file
$columns[1] - is your product price in import file
$columns[2] - is your product min qty for this price price in import file

in 2 places change

Code:
quantity=1

to

Code:
quantity='$columns[2]'

change

Code:
$f = "INSERT $sql_tbl[pricing] VALUES ('','$pid[productid]','1','$columns[1]','$membership')";

to

Code:
$f = "INSERT $sql_tbl[pricing] VALUES ('','$pid[productid]','$columns[2]','$columns[1]','$membership')";


done
enjoy
__________________
Best regards,

Anton Pachkine
finestshops.com/x-cart
Reply With Quote