Back office product page - can not assign product to seller

In this board, we will periodically list various tips and tricks we find that may help in your use of PrestaShop. This will also include tips on the use of Agile modules. If you have a great tip, fix, or workaround for a PrestaShop feature, feel free to post it here...

Back office product page - can not assign product to seller

Postby shokinro » Wed May 15, 2013 11:54 pm

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...
Follow us at Twitter Like us on Facebook Watch our Tutorial Videos on YouTube
shokinro
Site Admin
 
Posts: 3091
Joined: Sat Jun 25, 2011 3:08 pm

Return to Tips and Tricks for PrestaShop and Agile Modules

Who is online

Users browsing this forum: No registered users and 3 guests