Page 1 of 1

Back office product page - can not assign product to seller

PostPosted: Wed May 15, 2013 11:54 pm
by shokinro
If you are using the Agile Multiple Seller/Vendor module in PrestaShop 1.5x, and log in as admin, you are able to create products on behalf of a seller and assign a product to a specific seller.

You can see detailed instructions and related screenshot here

http://addons-modules.com/store/en/cont ... o-a-seller

Potential issue:

If you are facing one or both of following issues, it means your module was not installed correctly or your store is not configured correctly.
1. The "assign to seller" button and/or seller list does not show up on the back office product list page.
2. The Seller file (drop download list of sellers) does not show up.

The module needs to modify the informaitons.tpl file and the add list_header.tpl file during installation. These modifications are done automatically by the module during installation. If for some reason (in most cases caused by permission issues) this is not done correctly, then the issues noted above will happen.

Solutions

1. Check that the informations.tpl file is installed correctly.

When you installed the Agile Multiple Seller module, the following file will be automatically updated by the module.

/YouStoreAdminFolder/theme/default/template/controllers/products/informations.tpl

And the following line will added:

Code: Select all
{if $agilemultipleseller_isinstalled}{include file="$agilemultipleseller_hook./hook_product_information.tpl"}{/if}{if $agilesellerlistoptions_isinstalled}{include file="$agilesellerlistoptions_hook./hook_product_information.tpl"}{/if}


If you do not see this line, please add the line above directly after following line:

Code: Select all
   {include file="controllers/products/multishop/check_fields.tpl" product_tab="Informations"}



2. Check that the informations.tpl file is installed correctly.

Check if following file exists:
/YouStoreAdminFolder/theme/default/template/helpers/list/list_footer.tpl

If the above file does not exist, please copy it from following folder:
/modules/agilemultipleseller/install/1.5x/admin/theme/default/template/helpers/list/list_footer.tpl

3. Check if your store's Smarty compile is disabled.

If Smarty compile is disabled, the new theme file will never take effect, so the new GUI element will not show up.

To make sure the new theme file is compiled, try to set smarty to force compile. See details here on how to enable and force compile.
http://addons-modules.com/store/en/cont ... ce-compile

Why did the installation not complete correctly?

There are many possible reasons, in most scenarios it is because you have special file/folder permission settings on your server that prevent the module from being able to modify or copy related files. The recommended permission settings are:

Files - 644
Folders - 755

Hope this helps...