Jump to content

plaincart modifications


quasiman

Recommended Posts

If you're not familar with it:

http://phpwebcommerce.com

 

I've modified plaincart to make drop shippers per item.

 

When I'm in the admin/product/modify screen, I can't seem to keep the distId (copied/created from catId) in session.  I'm assuming in session anyway.  Here's the error I'm getting:

Notice: Undefined variable: distId in

/public_html/cart/admin/product/modify.php on line 86

 

Notice: Undefined variable: distId in

/public_html/cart/admin/product/modify.php on line 86

yes, it's displayed twice.

 

for the sake of space on this page, here's a zip of my admin directory

admin.zip

 

Here's my distributors table structure:

CREATE TABLE `tbl_distributor` (

  `dist_id` int(11) NOT NULL auto_increment,

  `dist_name` varchar(100) NOT NULL default '',

  `dist_address` varchar(100) NOT NULL default '',

  `dist_address2` varchar(100) NOT NULL default '',

  `dist_city` varchar(100) NOT NULL default '',

  `dist_state` varchar(20) NOT NULL default '',

  `dist_zip` varchar(10) NOT NULL default '',

  `dist_image` varchar(255) NOT NULL default '',

  `dist_thumbnail` varchar(255) NOT NULL default '',

  PRIMARY KEY  (`dist_id`)

) ENGINE=MyISAM AUTO_INCREMENT=1000;

 

Any help would be greatly appreciated!

 

Link to comment
https://forums.phpfreaks.com/topic/37875-plaincart-modifications/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.