Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.