| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Price Update/Import by membership level mode | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Price Update/Import by membership level mode
Here is a simple mode for product price update by membership level.
This mod will update or add product/price/membership data from csv file. /provider/price_update.php Note: $columns[0] - is your product code in import file $columns[1] - is your product price in import file Code:
skin1/single/home.tpl Code:
skin1/provider/main/price_update.tpl Code:
skin1/provider/menu.tpl Code:
Let me know if I missed something. |
|||||||||
#2
|
|||||||
|
|||||||
What version is this mod for?
Thanks, Glen
__________________
Never understimate stupidity. -------- X-Cart Version: 3.5.2 Hosting:mind-in-design.net Configuration: Virtual Dedicated Server || Intel Pentium 4 2.4 GHZ CPU || 1024MB PC2100 DDR RAM || Linux || PHP 4.3.2 || MySQL server 4.0.14 |
|||||||
#3
|
|||||||||
|
|||||||||
Quote:
I used it in 3.4.4 and 3.4.7 should work in any 3.4.* |
|||||||||
#4
|
|||||||
|
|||||||
Thanks Anton!
I'll implement it, just did a install of 3.4.7 and looking to see what bells and whistles to add. Regards, Glen
__________________
Never understimate stupidity. -------- X-Cart Version: 3.5.2 Hosting:mind-in-design.net Configuration: Virtual Dedicated Server || Intel Pentium 4 2.4 GHZ CPU || 1024MB PC2100 DDR RAM || Linux || PHP 4.3.2 || MySQL server 4.0.14 |
|||||||
#5
|
|||||||||
|
|||||||||
This is nice but I wish I was smart enough to figure out how to import pricing by qty (wholesale pricing). If it could create and import quantity pricing it would truly be the bomb.
Nice mod nonetheless, thanks Anton. |
|||||||||
#6
|
|||||||||
|
|||||||||
Quote:
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:
to Code:
change Code:
to Code:
done enjoy |
|||||||||
#7
|
|||||||||
|
|||||||||
Anton, you are simply the greatest.
I was about to go back and do another mod that is similar but doesnt add to the pricing tables. For reference that mod is located here http://forum.x-cart.com/viewtopic.php?t=1696 The only question I still have about this mod is what happens when someone accidentally has the same sku for 2 products? Wouldn't that pooch the whole thing? I prefer to update off of Product ID if possible. |
|||||||||
#8
|
|||||||||
|
|||||||||
Quote:
With product id this would be much easier, but most people do not know have product id, they only have productcode. If you want ptoduct id, just change $pid[productid] to $columns[0] |
|||||||||
#9
|
|||||||||
|
|||||||||
This is wonderful, thank you so much for supporting this mod with me.
I really do appreciate it. |
|||||||||
#10
|
|||||||||
|
|||||||||
Let me know if it works
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|