Page 1 of 2

Hide a product editing menu at front store My Seller Account

PostPosted: Wed May 08, 2013 11:43 pm
by shokinro
Some customers have asked for information on how to hide certain menus/steps on the product editing page to make the system simpler to use.

Here, we introduce one way to help implement this.

A. Available menus/steps/pages
Here are available menus and pages on the product management page at My Seller Account --> Products tab :

1. Information
2. Images
3. Features
4. Associations
5. Prices(Discounts)
6. Quantity(Stock)
7. Combinations
8. Virtual Product
9. Shipping
10. Attachments


B. Here is an example code change to to hide menu 3 and menu 4

You will need to make these changes in following file:

For prestashop 1.5x
/modules/agilemultipleseller/views/templates/front/products/product_top.tpl

For PrestaShop 1.6x
/modules/agilemultipleseller/views/templates/front/products/product_nav.tpl

Replace the following lines:

CODE: SELECT ALL
{foreach from=$product_menus item=menu}
<option value="{$menu.id}" {if $menu.id==$product_menu}selected{/if}>{$menu.name}</option>
{/foreach}


With the lines below:

CODE: SELECT ALL
{foreach from=$product_menus item=menu}
{if $menu.id !== 3 AND $menu.id !== 4}
<option value="{$menu.id}" {if $menu.id==$product_menu}selected{/if}>{$menu.name}</option>
{/if}
{/foreach}


C. Change Menu Name

Further more, after hiding menu option 3 and menu option 4, you will see the rest of the menu names with numbers are not in contiguous order.

You can change menu display name by using the translation system to modify the text at back office Localization --> Translation --> Translate installed modules

Hope this helps...

Re: Hide a product editing menu at front store My Seller Acc

PostPosted: Tue Jan 28, 2014 11:32 pm
by adrian.torj_3468
Hi, can I hide a specific field from a menu? not the entire menu. Thanks.

Re: Hide a product editing menu at front store My Seller Acc

PostPosted: Wed Jan 29, 2014 1:16 am
by shokinro
thanks for your inquiry

Hi, can I hide a specific field from a menu? not the entire menu. Thanks.

what do you mean specific field?

If you just want to hide a field in the page, you can use stlye="display:none;" to hide a specific field.

for example:
Code: Select all
<input type="textbox" name="city" stlye="display:none;">

Re: Hide a product editing menu at front store My Seller Acc

PostPosted: Wed Jan 29, 2014 1:37 pm
by adrian.torj_3468
Your assumption was correct. This is what I've wanted. Thanks.

Re: Hide a product editing menu at front store My Seller Acc

PostPosted: Fri Jun 06, 2014 7:14 am
by happeningnow94_3364
Could you explain how can one merge some sellers product tab. For prestahop 1.6. Most sellers dont really want to be clicking a lot of tabs just to create a product.

Merge product information + shipping + product image to become one page--- Is this possible and how can one do this, so that after product SEO ,then shipping info then image and then save on one page

hopefully this would be easy.

Re: Hide a product editing menu at front store My Seller Acc

PostPosted: Fri Jun 06, 2014 11:53 am
by shokinro
thanks for your inquiry.

PrestaShop product manage functions is quite complicated. there are a lot of information, that why we separate them into different tabs.
Just like prestashop back office catalogue - products menu, it is the same.

It is possible to merge them into one, but it will not be that easy. you need to merge all code together and especially the GUI.

Re: Hide a product editing menu at front store My Seller Acc

PostPosted: Fri Jun 06, 2014 4:25 pm
by happeningnow94_3364
Thank You very well for quick response and understandable.

Re: Hide a product editing menu at front store My Seller Acc

PostPosted: Sat Jun 07, 2014 3:03 am
by shokinro
your very welcome!

Re: Hide a product editing menu at front store My Seller Acc

PostPosted: Tue Jul 15, 2014 5:01 pm
by philandheatherj_3989
I'm not seeing the code above in the product_top.tpl file. I just updated to the latest version of Multiple Seller. Is it somewhere else or does the code need to be different? Thanks!

Re: Hide a product editing menu at front store My Seller Acc

PostPosted: Wed Jul 16, 2014 12:12 am
by shokinro
thanks for using our modules.

I'm not seeing the code above in the product_top.tpl file. I just updated to the latest version of Multiple Seller. Is it somewhere else or does the code need to be different? Thanks!



For prestashop 1.6x, it should be in following file
/modules/agilemultipleseller/views/templates/front/products/product_nav.tpl