Jump to content

Is there a module, that has all store products on one page in BO


Recommended Posts

You can go to Stats > Product details (in the Navigation box) to view a list of all products on one page. You can't actually edit the products from there though. Perhaps the module could be modified to let you go to the product editor for the products.

Link to comment
Share on other sites

Thanks Rocky, yea that would be great if we could edit the products from there,

I'm really dont have a clue on where to begin to edit the module but if there is someone who wants to, I would be certainly willing to make it worth their time.

Thanks Chris

Link to comment
Share on other sites

Try changing line 205 of modules/statsproduct/statsproduct.php from:

$this->_html .= ''.$product['reference'].'<a href="'.$currentIndex.'&token='.Tools::getValue('token').'&module='.$this->name.'&id_product='.$product['id_product'].'">'.$product['name'].''.$product['quantity'].'';



to:

$this->_html .= ''.$product['reference'].'<a href="'.substr($currentIndex, 0, -12).'Catalog&token='.Tools::getAdminToken('AdminCatalog'.intval(Tab::getIdFromClassName('AdminCatalog')).intval($cookie->id_employee)).'&id_product='.$product['id_product'].'&updateproduct">'.$product['name'].''.$product['quantity'].'';



This will take you to the product's page, but when you click Save, it will take you back to the Catalog tab, so you'll have to click the Back button twice (or press Backspace twice) to get back to the list of all the products. I tried to get it to automatically go back using the following code:

$this->_html .= ''.$product['reference'].'<a href="'.substr($currentIndex, 0, -12).'Catalog&token='.Tools::getAdminToken('AdminCatalog'.intval(Tab::getIdFromClassName('AdminCatalog')).intval($cookie->id_employee)).'&id_product='.$product['id_product'].'&updateproduct&back='.urlencode($currentIndex).'=token='.Tools::getValue('token').'=module=statsproduct">'.$product['name'].''.$product['quantity'].'';



and changing line 782 of admin/tabs/AdminProducts.php from:

Tools::redirectAdmin($currentIndex.'&id_category='.intval(Tools::getValue('id_category')).'&conf=4&token='.($token ? $token : $this->token));



to:

$back = Tools::get('back');
if ($back)
   Tools::redirectAdmin($back.'&conf=4');
else
   Tools::redirectAdmin($currentIndex.'&id_category='.intval(Tools::getValue('id_category')).'&conf=4&token='.($token ? $token : $this->token));



but it caused problems because the URL is too long.

Link to comment
Share on other sites

  • 2 months later...

Hi,

You were asking whether there is a module where all your store products will show on one page in Prestashop BO. The answer is YES with Store Commander for Prestashop.

With Store Commander, you can gain a great deal of time in creating, editing and managing your Prestashop products' catalog. You can for instance :

-- View all your products on one page
-- Reorganise your product categories using simple drag and drop
-- Create and update your product sub-categories in a blink of an eye
-- Mass-edit products very quickly
-- Manage your product discounts in 2 clicks !
-- Find a product in less than a second !
-- Import CSV files in 3 easy clicks
-- Mass-upload your photos and much more !

91% of our customers could not go back to managing their catalog without Store Commander as it is so addictively easy an efficient to use !

Official international launch has not yet occurred, although Store Commander's interface is already available in English and reactive support as well. If you are interested to check it out, let me know via private message and I shall set up a private demo in English for you.

Link to comment
Share on other sites

  • 3 months later...
×
×
  • Create New...