close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

data assist Inserting Categories

Thread began 4/08/2011 2:05 am by eladgraphics386618 | Last modified 4/15/2011 8:34 am by eladgraphics386618 | 2699 views | 8 replies

Jason ByrnesWebAssist

for the error; Field 'ProductWeight' doesn't have a default value

In the database, edit the products table, either assign a default value, or set the ProductWeight column to allow NULL Values.

for the headers already sent error, change lines 85 - 87:

php:
?>

<?php?>
<?php



to:

php:
?>

<?php



see the following post for more details on that error:
showthread.php?t=19285



For the product categories, lets back up a moment.
You assign the product to a category on the products insert page

read my initial response about that again:

  1) You would need to use data assist to create the Products insert page where you can assign the product to the category.

Run the data assist wizard, and select the products table. Set category column to be a menu, click the lightning bolt next to the menu and select the categories table. Set the category ID to be used as the value, and the Category name to be used as the label.  




re read this part:

  Set category column to be a menu, click the lightning bolt next to the menu and select the categories table. Set the category ID to be used as the value, and the Category name to be used as the label.  



this will add a select list to the products insert page that will allow you to select the category that the product belongs to.

To be able to add other categories, you will need to re run the data assist wizard for the categories table, but that is not the same as assigning the product to a category.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...