| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Assigning manufacturers to multiple items | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Assigning manufacturers to multiple items
I recently upgraded to 4.0.18 from 3.5.10, and one of the new things is the whole manufacturer thing, but none of my products had this data so I'm having to add it for all of them (loads and loads.....)
to make it quicker i wrote this php file. It lists all of the products without a manufacturer in the xcart_products table, and creates a drop sown box for each listing all of the manufacturers. Notes: I have it set to only show 20 at once, saves me scrolling. Cahnge loop=20 to whatever number you like, or {$productlisting} to list them all. Add the following code to common_templates.tpl Code:
Copy the following and save as ag_manufacturers.php and place in your /provider folder Code:
save the following as ag_manufacturers.tpl and place in your skin1/provider folder Code:
I take no responsability for this destroying everything. It seems to work on my set up, but use at your own risk etc etc... hth
__________________
X-Cart version 5 (Previously 3.5-4) Previous Versions included BCSE Reward Points Mod Altered Cart On Sale Mod Wordpress Plugin Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there. Shout me a Coffee! |
|||||||||
|
|||
X-Cart forums © 2001-2020
|