Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Quick Updater Stock Prices by Categories


Recommended Posts

Hello, I need someone to orient the problem I am having now in my website.


I do not see the option to select from the category drop down to update.

Ambien check if I had the default language.



// first select all categories that have 0 as parent:

$sql = tep_db_query("SELECT c.categories_id, cd.categories_name from categories c,

categories_description cd WHERE c.parent_id = 0 AND c.categories_id = cd.categories_id

AND cd.language_id = 1");



- To have an idea, only I have the Spanish as a language.


- Files in which changes are made:


catalog / admin / includes / filenames.php <--- add

defined ('FILENAME_QUICK_STOCKUPDATE', 'quick_stockupdate.php');

(Note that all defines are in alphabetical order)


catalog / admin / includes / boxes / catalog.php <--- add roughly in line 30:

'<a Href="'. Tep_href_link(FILENAME_QUICK_STOCKUPDATE,'','NONSSL').'" Class="menuBoxContentLink">'.


Link to comment
Share on other sites

The category of the menu, already solved.


Now when I try to modify the contribution and the weight of the product, price or stock, gives me the following error:


Warning: Variable Passed to each () Is Not an array or object in / home / indoor / public_html / admin / quick_stockupdate.php on line 75

Link to comment
Share on other sites


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

  • Create New...