Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Pricelist contribution


PSX Norge

Recommended Posts

  • 2 months later...

Solved the problem myself :P

 

In line 81 I changed the line from

$products_price_query = tep_db_query("select products_description.products_name, products.products_quantity, products.products_price, products.products_model, products_to_categories.products_id, products_to_categories.categories_id FROM products, products_description, products_to_categories where products.products_id = products_description.products_id and products.products_quantity <>0".$query." and products.products_id = products_to_categories.products_id and products_to_categories.categories_id = ".$id_group);

 

To

$products_price_query = tep_db_query("select products_description.products_name, products.products_quantity, products.products_price, products.products_model, products_to_categories.products_id, products_to_categories.categories_id FROM products, products_description, products_to_categories where products.products_id = products_description.products_id and products.products_id = products_to_categories.products_id and products_to_categories.categories_id = ".$id_group);

 

Removed a part in the midle that said:

and products.products_quantity <>0".$query."

 

 

I'm beginning to get a hang on the php now.... :thumbsup:

Link to comment
Share on other sites

Join the conversation

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

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