Hide Print and Save in User Profile

  • Posts: 12
  • Thank you received: 0
10 years 7 months ago #185045

-- url of the page with the problem -- : www.artnow.it/3/
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.29
-- Browser(s) name and version -- : firefox 34.0.5

Hi
How can I hide the bottons "Print" and"Save" in the Wishlist and "Partner program" in the User Profile?
- Print: doesn't work, it opens the popup under, so the page is in the shadow and no popup.
- Save: where to save in Wishlist even if not loged in?
- I have no partner affiliate program active!!

I am using Jv Flatize as template
How can I show the lent icon to show the preview in a shadow popup of a product when it is still in the category view befor going to product page? as here demo.joomlavi.com/j3/jv-flatize/hikashop/

Thank you

Please Log in or Create an account to join the conversation.

  • Posts: 84220
  • Thank you received: 13673
  • MODERATOR
10 years 7 months ago #185084

Hi,

1. This means that the template doesn't support bootstrap popup. Simply change the option "popup mode" of the HikaShop configuration to "mootools" and that should fix the problem. But if you want to remove the button you can remove it by editing the file "showcart" of the view "cart" via the menu Display>Views and removing the code:

<td><?php
				echo $this->popup->display(
					'<span class="icon-32-print" title="'. JText::_('HIKA_PRINT').'"></span>'. JText::_('HIKA_PRINT'),
					'HIKA_PRINT',
					hikashop_completeLink('cart&task=showcart&cart_type='.$cart_type.'&cart_id='.$cart_id,true),
					'hikashop_print_cart',
					760, 480, '', '', 'link'
				);
			?></td>

2. I'll let Xavier answer about that on monday as I don't know why it is like that. You can remove the save button by editing the file "showcart" of the view "cart" via the menu Display>Views and removing the code:
<td>
					<a href="#" onclick="javascript:document.forms['hikashop_show_cart_form'].submit();">
						<span class="icon-32-save" title="<?php echo JText::_('HIKA_SAVE'); ?>"></span> <?php echo JText::_('HIKA_SAVE'); ?>
					</a>
				</td>

3. Then, deactivate the HikaShop affiliate plugin in the Joomla plugins manager and it will remove the affiliate program from the user control panel.

4. This is a feature of your template. I don't know how you can activate that. Please contact your template provider for help on that.

Please Log in or Create an account to join the conversation.

  • Posts: 12
  • Thank you received: 0
10 years 7 months ago #185221

Thanks Nicolas, now it is perfect but I have a problem with facebook "Like", it gives me this error:

Object Missing a Required Value: Object at URL ' www.artnow.it/shop/index.php?option=com_...&lang=it#prettyPhoto [gallery]/3/' of type 'website' is invalid because a required property 'og:title' of type 'string' was not provided.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 7 months ago #185268

Hi,

I just checked the code and the og:title content should be displayed.
Some tests have been done in local, and the meta tag with "og:title" is well presend on the page.

For this meta tag, the product name is used, does the product name have a specific character ?

Please Log in or Create an account to join the conversation.

  • Posts: 12
  • Thank you received: 0
10 years 7 months ago #185326

What do you mean with specific character?

Last edit: 10 years 7 months ago by kadhum.

Please Log in or Create an account to join the conversation.

  • Posts: 84220
  • Thank you received: 13673
  • MODERATOR
10 years 7 months ago #185349

Please do not post several times the same question.
The following is here:
www.hikashop.com/forum/install-update/87...-plugin-problem.html

Please Log in or Create an account to join the conversation.

Time to create page: 0.089 seconds
Powered by Kunena Forum