News:

Support the VirtueMart project and become a member

Main Menu

COM_VIRTUEMART_PRODUCT_ADD_PRODUCT - What is this?

Started by gonzete, March 05, 2013, 15:54:37 PM

Previous topic - Next topic

gonzete

This message appears in the details of the user account.

What is? and how I can remove?



Uploaded with ImageShack.us

jenkinhill

That is "Add a product" in the English language file (en-GB.com_virtuemart.ini), looks like it is not translated in the language file you are using, so you will need to add it.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

gonzete

#2
thanks is solved. but now I have to put a picture to add products jejeje

one question, the link takes me to http://web.com/cuenta/product/edit?tmpl=component&virtuemart_product_id=0 how i can change this link?

thanks

Favazza

Have the same problem?
What is this good for? The user shouldn't see such a link?!
Also I have the text "Register" above (but it's not a link). How do I remove these 2?

Zer0g

Got the same problem.
Solution:
Go to components/com_virtuemart/views/user/view.html.php (don't know if it is possible to do a template override here)
Go to line 246 & 247 and uncomment these lines (my version 2.022a)
$add_product_link = JRoute::_( '/index.php?option=com_virtuemart&tmpl=component&view=product&view=product&task=edit&virtuemart_product_id=0' );
$add_product_link = $this->linkIcon($add_product_link, 'COM_VIRTUEMART_PRODUCT_ADD_PRODUCT', 'new', false, false, true, true);