Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)

I need a function to add the same product attributes to more than 50 products.....

To save time I wrote this hack.

I wish everyone a lot of fun with this hack......

 

Description:

This hack helps you to save a lot of time to setup products options.

Just generate products-options-lists and assign them to the products of your choice.

Now you are able to share a single options-list between multiple products.

 

You had the choice between selected lists for a single product (mostly a new one) or lists to already existing products....

lists -> products

products -> lists

 

If you change prices or add an other product-option it will affect all products where this list is assigned to.....

 

The contribution may be downloaded here

Edited by Johnson

Greetings Thomas

Posted

HI, I am getting this error. Plus I am getting some stuff in I guess, German

 

This is the Page link--- catalog/admin/global_attribute_update.php?pr_id=23&action=product_list

 

Preise aendern

 

<< overview

Attach options-lists to this product:

 

 

Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/aatest.us/httpdocs/oscommerce-2.2ms2/catalog/admin/global_attribute_update.php on line 347

 

I hope you can help me fix this

ChrisG

Posted
HI, I am getting this error. Plus I am getting some stuff in I guess, German

 

This is the Page link--- catalog/admin/global_attribute_update.php?pr_id=23&action=product_list

 

Preise aendern

 

<< overview

Attach options-lists to this product:

 

 

Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/aatest.us/httpdocs/oscommerce-2.2ms2/catalog/admin/global_attribute_update.php on line 347

 

I hope you can help me fix this

ChrisG

 

Maybe....

I guess you try to assign options-lists to a existing product.

 

This error occures because of the script did not found any options-lists.

Is there a list? If not create one.....

 

If the problem is not solved please check if you make a error at the setup of AttributesWizzard (forgot something etc).

 

Give me some time....

I try to reproduce this error and find a fix.......

 

The German stuff I forget to delete from the file.

Wait until the next release and then its gone......

:rolleyes:

Greetings Thomas

Posted (edited)

Maybe....

I guess you try to assign options-lists to a existing product.

 

This error occures because of the script did not found any options-lists.

Is there a list? If not create one.....

 

If the problem is not solved please check if you make a error at the setup of AttributesWizzard (forgot something etc).

 

Give me some time....

I try to reproduce this error and find a fix.......

 

The German stuff I forget to delete from the file.

Wait until the next release and then its gone......

:rolleyes:

 

 

 

I found the problem. It is an effect from the mysql problem with the language_id (update to v.011).

I did not realize how deep this problem will be.......

 

I had to fix several places in the global_attribute_update.php

 

Please change the global_attribute_update.php in your admin directory with the version from 0.12

:(

You find v 0.12 here

 

To use the setting you have already done in your shop you had to execute these two sql order in your database.

UPDATE `gattributes` SET `language_id` = '1'

UPDATE `global_options` SET `language_id` = '1'

Edited by lalelunet

Greetings Thomas

Posted

Yet another bug fix.......

You should update your AttributesWizzard.......

 

Details and the new version you find here

 

There is also a documentation with screenshots available....

Because of the size of the package from ~500kb you can not download it from oscommerce at the moment.

A copy you will found here

 

Note to all users:

Please do not post support questions in this thread.

Use this instead....

http://www.oscommerce.com/forums/index.php?showtopic=172703

Greetings Thomas

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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