where is hikashop_add_wishlist

  • Posts: 490
  • Thank you received: 2
7 years 10 months ago #244576

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.5
-- Error-message(debug-mod must be tuned on) -- : none

hi

can you tell me where hikashop_add_wishlist is located?

i would like to hide it on xs or add hidden-xs on it. also will it still work if i do this?

thanks

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

  • Posts: 2143
  • Thank you received: 747
7 years 10 months ago #244595

Hi,

The simplest way to hide something is basic CSS, no need to edit a view:
Right-click the element, study the HMTL structure and find more or less unique selectors, or a combination including parent container(s) (depending on you wanting it to be valid globally or just for one specific occurrence), then add it with "display: none;" to your custom CSS, wrapped in a media query, so it mimics the same behaviour as "hidden-xs".

If you prefer editing a view, or insist on it:
A quick search for "hikashop_add_wishlist" shows it in the frontend view "product / quantity"... as an ID, and multiple times.

Either way, a "display: none;", which is what the mentioned class does, too, only hides the element. It does not affect the functionality. So, if you hide it in one place only, it'll still work at another.

www.hikashop.com/support/documentation/1...ize-the-display.html


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 7 years 10 months ago by lousyfool.

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

  • Posts: 81677
  • Thank you received: 13102
  • MODERATOR
7 years 10 months ago #244580

Hi,

It's in the file "quantity" of the view "product" that you can edit via the menu Display>Views.
It should not be a problem to add that there.

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

  • Posts: 490
  • Thank you received: 2
7 years 10 months ago #244633

hi guys thanks

nicolas

maybe i wasn't clear. im using listing_ img_description. the code is below. I want to find this <div id="hikashop_add_wishlist"> .

<div class="hikashop_product_stock hidden-xs xxs"><a rel="nofollow" class="hikashop_cart_button" href="#" onclick="var field=document.getElementById('hikashop_product_quantity_field_8');if(hikashopCheckChangeForm('item','hikashop_product_form_127_hikashop_category_information_menu_1697')){ return hikashopModifyQuantity('127',field,1,'hikashop_product_form_127_hikashop_category_information_menu_1697','cart',0); } return false;"><div class="cusbut"> <div id="faicon"><i class="fa fa-shopping-cart fa-lg" aria-hidden="true"></i>        </div><div class="adcart hidden-xs xxs">Add to Cart</div></div></a><input id="hikashop_product_quantity_field_8" type="hidden" value="1" class="hikashop_product_quantity_field" name="quantity">[b][u][i]<div id="hikashop_add_wishlist">[/i][/u][/b]<a rel="nofollow" class="hikashop_cart_button" href="#" onclick="var field=document.getElementById('hikashop_product_quantity_field_8');if(hikashopCheckChangeForm('item','hikashop_product_form_127_hikashop_category_information_menu_1697')){ var typeField = document.querySelector('form[name=hikashop_product_form_127_hikashop_category_information_menu_1697] input[name=cart_type]'); if(typeField !== null){typeField.value = 'wishlist';} return hikashopModifyQuantity('127',field,1,'hikashop_product_form_127_hikashop_category_information_menu_1697','wishlist',0); } else { return false; }"><div class="cusbut">
           <div id="faicon">
                  <i class="fa fa-heart fa-lg" aria-hidden="true"></i>
           </div>
           <div class="adcart hidden-xs xxs">Add to Wishlist</div>
 </div>
</a></div>	</div>

product / quantity.php this is the code. i dont see the "id" i am looking for. i modified this class hikashop_product_stock but what i want is to hide add_to_wishlist only.
<?php
/**
 * @package	HikaShop for Joomla!
 * @version	2.6.3
 * @author	hikashop.com
 * @copyright	(C) 2010-2016 HIKARI SOFTWARE. All rights reserved.
 * @license	GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
defined('_JEXEC') or die('Restricted access');
?><?php
global $Itemid;
$url_itemid = '';
if(!empty($this->itemid))
	$url_itemid = $this->itemid;
elseif(!empty($Itemid))
	$url_itemid = '&Itemid='.$Itemid;

if($this->config->get('show_quantity_field') == -2){
	if(@$this->row->product_display_quantity_field == 0)
		$this->row->product_display_quantity_field = 1;
	$this->params->set('show_quantity_field', @$this->row->product_display_quantity_field);
}

$config =& hikashop_config();

$wishlistEnabled = $config->get('enable_wishlist', 1);
$hideForGuest = 1;
if(($config->get('hide_wishlist_guest', 1) && hikashop_loadUser() != null) || !$config->get('hide_wishlist_guest', 1))
	$hideForGuest = 0;

if(!isset($this->cart))
	$this->cart = hikashop_get('helper.cart');

$url = '';
$module_id = $this->params->get('from_module', 0);

if(empty($this->ajax))
	$this->ajax = 'return hikashopModifyQuantity(\''.$this->row->product_id.'\',field,1,0,\'cart\','.$module_id.')';

if(@$this->row->product_sale_start || empty($this->element->main))
	$start_date = @$this->row->product_sale_start;
else
	$start_date = $this->element->main->product_sale_start;

if(@$this->row->product_sale_end || empty($this->element->main))
	$end_date = @$this->row->product_sale_end;
else
	$end_date = $this->element->main->product_sale_end;

$formName = ',0';
if(!$this->config->get('ajax_add_to_cart', 0) || ($this->config->get('show_quantity_field') >= 2 && !@$this->element->product_id)) {
	if(empty($this->formName)) {
		if(@$this->row->product_id)
			$formName = ',\'hikashop_product_form_'.$this->row->product_id.'_'.$this->params->get('main_div_name').'\'';
		else
			$formName = ',\'hikashop_product_form_'.$this->params->get('main_div_name').'\'';
	} else {
		$formName = $this->formName;
	}
}

$showFree = ($this->config->get('display_add_to_wishlist_for_free_products', 1) || (!$this->config->get('display_add_to_wishlist_for_free_products', 1) && !empty($this->row->prices) && $this->row->prices[0]->price_value != '0'));

if($end_date && $end_date < time()) {
?>
	<span class="hikashop_product_sale_end">
		<?php echo JText::_('ITEM_NOT_SOLD_ANYMORE'); ?>
	</span>
<?php
} elseif($start_date && $start_date > time()) {
?>
	<span class="hikashop_product_sale_start"><?php
		echo JText::sprintf('ITEM_SOLD_ON_DATE', hikashop_getDate($start_date, $this->params->get('date_format','%d %B %Y')));
	?></span>
<?php
} elseif(!$this->params->get('catalogue') && ($this->config->get('display_add_to_cart_for_free_products') || !empty($this->row->prices))) {
	if(@$this->row->product_min_per_order || empty($this->element->main))
		$min = @$this->row->product_min_per_order;
	else
		$min = @$this->element->main->product_min_per_order;

	if(@$this->row->product_max_per_order || empty($this->element->main))
		$max = @$this->row->product_max_per_order;
	else
		$max = @$this->element->main->product_max_per_order;

	if($min <= 0)
		$min = 1;

	if($formName == ',0')
		$formName = ',hikashop_product_form';
	$cleanFormName = str_replace(array('\'',','),'',$formName);
	$wishlistAjax =	'if(hikashopCheckChangeForm(\'item\''.$formName.')){ var typeField = document.querySelector(\'form[name='.$cleanFormName.'] input[name=cart_type]\'); if(typeField !== null){typeField.value = \'wishlist\';} return hikashopModifyQuantity(\'' . (int)@$this->row->product_id . '\',field,1' . $formName . ',\'wishlist\','.$module_id.'); } else { return false; }';

	if($this->row->product_quantity == -1 && !empty($this->element->main) && $this->element->main->product_quantity != -1)
		$this->row->product_quantity = $this->element->main->product_quantity;

	$btnType = 'add';
	if($this->row->product_quantity == -1) {
?>
	<div class="hikashop_product_stock hidden-xs xxs"><?php

		if(!empty($this->row->has_options)) {
			if($this->params->get('add_to_cart',1))
				echo $this->cart->displayButton(JText::_('CHOOSE_OPTIONS'), 'choose_options', $this->params, hikashop_contentLink('product&task=show&product_id='.$this->row->product_id.'&name='.$this->row->alias.$url_itemid.$this->category_pathway,$this->row),'window.location = \''.str_replace("'","\'",hikashop_contentLink('product&task=show&product_id='.$this->row->product_id.'&name='.$this->row->alias.$url_itemid.$this->category_pathway,$this->row)).'\';return false;', '');
		} else {
			if($this->params->get('add_to_cart', 1)) {
				echo $this->cart->displayButton(JText::_('ADD_TO_CART'), 'add', $this->params, $url, $this->ajax, '', $max, $min);
				$btnType = 'wish';
			}

			if(hikashop_level(1) && $this->params->get('add_to_wishlist') && $wishlistEnabled && !$hideForGuest && $showFree) {
				echo '<div id="hikashop_add_wishlist">' .
					$this->cart->displayButton(JText::_('ADD_TO_WISHLIST'), $btnType, $this->params, $url, $wishlistAjax, '', $max, $min, '', false) .
					'</div>';
			}
		}
	} elseif($this->row->product_quantity > 0) {
?>
	<div class="hikashop_product_stock hidden-xs xxs">
<?php
		if($this->row->product_quantity == 1 && JText::_('X_ITEM_IN_STOCK') != 'X_ITEM_IN_STOCK')
			$text = JText::sprintf('X_ITEM_IN_STOCK', $this->row->product_quantity);
		else
			$text = JText::sprintf('X_ITEMS_IN_STOCK', $this->row->product_quantity);

		echo '<span class="hikashop_product_stock_count">'.$text.'<br/></span>'
			. '<span style="display: none" itemprop="availability" itemscope itemtype="http://schema.org/InStock">in stock</span>';

		if($config->get('button_style', 'normal') == 'css')
			echo '<br />';

		if($max <= 0 || $max > $this->row->product_quantity)
			$max = $this->row->product_quantity;

		if(!empty($this->row->has_options)) {
			if($this->params->get('add_to_cart', 1))
				echo $this->cart->displayButton(JText::_('CHOOSE_OPTIONS'), 'choose_options', $this->params, hikashop_contentLink('product&task=show&product_id='.$this->row->product_id.'&name='.$this->row->alias.$url_itemid.$this->category_pathway,$this->row),'window.location = \''.str_replace("'","\'",hikashop_contentLink('product&task=show&product_id='.$this->row->product_id.'&name='.$this->row->alias.$url_itemid.$this->category_pathway,$this->row)).'\';return false;','');
		} else {
			if($this->params->get('add_to_cart', 1)) {
				echo $this->cart->displayButton(JText::_('ADD_TO_CART'), 'add', $this->params, $url, $this->ajax, '', $max, $min);
				$btnType = 'wish';
			}

			if(hikashop_level(1) && $this->params->get('add_to_wishlist') && $wishlistEnabled && !$hideForGuest && $showFree){
				echo '<div id="hikashop_add_wishlist">' .
					$this->cart->displayButton(JText::_('ADD_TO_WISHLIST'), $btnType, $this->params, $url, $wishlistAjax, '', $max, $min, '', false) .
					'</div>';
			}
		}
	} else {
?>
	<div class="hikashop_product_no_stock">
<?php
		echo '<span style="display: none" itemprop="availability" itemscope itemtype="http://schema.org/InStock">Out of stock</span>';

		echo JText::_('NO_STOCK').'<br/>';
		$waitlist = $this->config->get('product_waitlist', 0);
		if(hikashop_level(1) && ($waitlist == 2 || ($waitlist == 1 && (!empty($this->row->main->product_waitlist) || !empty($this->row->product_waitlist))))) {
?>
	</div>
	<div id="hikashop_product_waitlist_main" class="hikashop_product_waitlist_main">
<?php
			$empty = '';
			jimport('joomla.html.parameter');
			$params = new HikaParameter($empty);
			echo $this->cart->displayButton(JText::_('ADD_ME_WAITLIST'), 'add_waitlist', $params, hikashop_completeLink('product&task=waitlist&cid='.$this->row->product_id.$url_itemid), 'window.location=\''.str_replace("'","\'",hikashop_completeLink('product&task=waitlist&cid='.$this->row->product_id.$url_itemid)).'\';return false;');
		}

		if(hikashop_level(1) && $this->params->get('add_to_wishlist')  && $wishlistEnabled && !$hideForGuest && $showFree) {
			if(!empty($this->row->has_options)) {
				if($this->params->get('add_to_cart', 1))
					echo $this->cart->displayButton(JText::_('CHOOSE_OPTIONS'),'choose_options',$this->params,hikashop_contentLink('product&task=show&product_id='.$this->row->product_id.'&name='.$this->row->alias.$url_itemid.$this->category_pathway,$this->row),'window.location = \''.str_replace("'","\'",hikashop_contentLink('product&task=show&product_id='.$this->row->product_id.'&name='.$this->row->alias.$url_itemid.$this->category_pathway,$this->row)).'\';return false;','');
			}else{
				echo '<div id="hikashop_add_wishlist">' .
					$this->cart->displayButton(JText::_('ADD_TO_WISHLIST'), 'add', $this->params, $url, $wishlistAjax, '', @$this->row->product_max_per_order, 1, '', false) .
					'</div>';
			}
		}
	}
?>
	</div>
<?php
} elseif(hikashop_level(1) && $wishlistEnabled && $this->params->get('add_to_wishlist', 1) && $showFree && !$hideForGuest && !$this->config->get('display_add_to_cart_for_free_products')) {
	if(!empty($this->row->has_options)) {
		if($this->params->get('add_to_cart', 1))
			echo $this->cart->displayButton(JText::_('CHOOSE_OPTIONS'), 'choose_options', $this->params, hikashop_contentLink('product&task=show&product_id='.$this->row->product_id.'&name='.$this->row->alias.$url_itemid.$this->category_pathway,$this->row),'window.location = \''.str_replace("'","\'",hikashop_contentLink('product&task=show&product_id='.$this->row->product_id.'&name='.$this->row->alias.$url_itemid.$this->category_pathway,$this->row)).'\';return false;', '');
	} else {
		$wishlistAjax =	'if(hikashopCheckChangeForm(\'item\''.$formName.')){ return hikashopModifyQuantity(\'' . (int)@$this->row->product_id . '\',field,1' . $formName . ',\'wishlist\','.$module_id.'); } else { return false; }';
		echo '<div id="hikashop_add_wishlist">' .
			$this->cart->displayButton(JText::_('ADD_TO_WISHLIST'), 'add', $this->params, $url, $wishlistAjax, '', @$this->row->product_max_per_order, 1, '', false) .
			'</div>';
	}
}

lousy thank you again for helping out. Can you be more specific? i want to hide add_to_wishlist on certain screen sizes not permanently hide it.

thanks again

Last edit: 7 years 10 months ago by ronron.

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

  • Posts: 2143
  • Thank you received: 747
7 years 10 months ago #244634

ronron wrote: i want to hide add_to_wishlist on certain screen sizes not permanently hide it.


That's right, that's why I mentioned media queries .

Normally this isn't the forum for generic web design/CSS, but if you post a link to a page, I'll get you the CSS.

As Nicolas and I both already said, a div with the ID "hikashop_add_wishlist" is in the view "product / quantity", indeed, and I can see it in the modified view you've been posting as well. Four times: lines 113, 146, 175, 190.
It's not in "listing_img_desc".


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 7 years 10 months ago by lousyfool. Reason: last line added
The following user(s) said Thank You: ronron

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

  • Posts: 490
  • Thank you received: 2
7 years 10 months ago #244644

hi. thank you for your patience. i found it. 4 lines indeed.

my problem now is that the media query wont work with the div id. the media query only works with div class

this is my css code

class
@media screen and (max-width: 479px) {

.xxs {display:none !important;}
}

id

@media screen and (max-width: 479px) {

#xxs {display:none !important;}
}

could you please take a look

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

  • Posts: 2143
  • Thank you received: 747
7 years 10 months ago #244645

Again, without a link to a page where one can inspect the code, it's hard to impossible to say.

From your post here I can only suspect that you might want to use

@media screen and (max-width: 479px) {
  #hikashop_add_wishlist {display: none !important;}
}
to target that specific element - on all pages where present.

Learn more about CSS at e.g. www.w3schools.com/css/css_syntax.asp - here it's "off topic" and leads too far.

So, let's consider this closed.
If you have issues of a more generic nature, contact me per PM or through the URL in my profile here, once in a while I'll help.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
The following user(s) said Thank You: Jerome

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

  • Posts: 490
  • Thank you received: 2
7 years 10 months ago #244744

hi lousy

thanks again. i got it to work


Part of the message is hidden for the guests. Please log in or register to see it.


hi nicolas, thanks also

i added languange overrides to some buttons. im having problems with the compare button or at to compare list button. when my overrides are in place it does not work. When button is clicked the product page is displayed.

this is the override

ADD_TO_COMPARE_LIST =
<div class="cusbut"> <div id="faicon"> <i class="fa fa-exchange fa-lg" aria-hidden="true"></i> </div> <div id="adcart hidden-xs">Compare Product</div></div>

if i delete this override. Some of the products work and some doesnt.

this is the link to the page


Part of the message is hidden for the guests. Please log in or register to see it.


Maybe i missed something?

thanks again

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

  • Posts: 2143
  • Thank you received: 747
7 years 10 months ago #244771

Hi,

I was tempted to ask back if HikaShop is maybe clever enough to not allow direct comparison of shoes, bed covers, tires, steel bars, etc... :P

Anyway, a few things:

1. An ID must be unique. But you're adding it to numerous elements per page, and that will almost always lead to unexpected behaviour.

2. "hidden-xs" is a class. Inside an ID it does nothing.

3. Why so many (nested) <div> containers, anyway? You just want an icon and two words, right? Then make the string in the language override just that, nothing else! I guess neither the nesting nor the class and ID you're adding are doing anything for you, anyway, other than placing the icon above the text inside the button.

4. If you're using your language code exactly as you posted here, there are syntax errors - again, causing weird behaviour. You must use double quotes around the text string (and only once each at beginning and end), but no more double quotes inside, not without escaping them. For classes you may use single quotes instead.

5. So, you may try the following simpler language string instead of yours:

ADD_TO_COMPARE_LIST="<i class='fa fa-exchange fa-lg' style='display:block;'></i><span class='hidden-xs'>Compare product</span>"
It should do the exact same and work for all products.
If you wanted icon and text on one line, you could leave style='display:block;' away and add a space in front of the word "Compare".


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 7 years 10 months ago by lousyfool. Reason: #2 added, and "hidden-xs" span added to code
The following user(s) said Thank You: ronron

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

  • Posts: 81677
  • Thank you received: 13102
  • MODERATOR
7 years 10 months ago #244749

Your translation override is not valid.
You need to use simple quotes inside it and double quotes around it, like that:

ADD_TO_COMPARE_LIST ="<div class='cusbut'> <div id='faicon'> <i class='fa fa-exchange fa-lg' aria-hidden='true'></i> </div> <div id='adcart hidden-xs'>Compare Product</div></div>"

Last edit: 7 years 10 months ago by nicolas.
The following user(s) said Thank You: ronron

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

  • Posts: 490
  • Thank you received: 2
7 years 10 months ago #244822

thanks again guys

lousy

3. Why so many (nested) <div> containers, anyway? You just want an icon and two words, right? Then make the string in the language override just that, nothing else! I guess neither the nesting nor the class and ID you're adding are doing anything for you, anyway, other than placing the icon above the text inside the button.


For different views.

4. If you're using your language code exactly as you posted here, there are syntax errors - again, causing weird behaviour. You must use double quotes around the text string (and only once each at beginning and end), but no more double quotes inside, not without escaping them. For classes you may use single quotes instead.


it doesn't work. Everytime i save the override the singles quotes get replaced by double quotes. i have rereplacer installed but i dont see any override for the quotes. To be sure i disabled it. But still same issue with a few products.

Nicolas

Your translation override is not valid.
You need to use simple quotes inside it and double quotes around it, like that:
ADD_TO_COMPARE_LIST ="<div class='cusbut'> <div id='faicon'> <i class='fa fa-exchange fa-lg' aria-hidden='true'></i> </div> <div id='adcart hidden-xs'>Compare Product</div></div>


it doesnt work. the single quotes are replaced after i save it. i deleted the overrides for the buttons and its still the same for some products. When i click compare it loads. I disabled rereplacer. cleared cache and still nothing.

to recreate go to website ? click the store icon on top > once loaded just compare a few items. this is one of the product that loads when compare is click Women's Casual Shoes.

thanks again guys

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

  • Posts: 490
  • Thank you received: 2
7 years 10 months ago #244858

i found the problem.

its with the single quotes in the title.

example:

men's shoes
mens' shoes

if i remove it compare button is working. unfortunately i cant take them out.

Any ideas?

thanks

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

  • Posts: 81677
  • Thank you received: 13102
  • MODERATOR
7 years 10 months ago #244823

Hi,

I've done a test on a local website and the single quotes are not replaced when you add that override via the Languages tab of the HikaShop configuration: take.ms/tcIhU
So either you have something else messing with that on your website, or you are adding the override in a different way.

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

  • Posts: 490
  • Thank you received: 2
7 years 10 months ago #244887

what about the title? the product title?

is it causing problems? the single quotes on the title is causing problems for the compare product on my end

thanks

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

  • Posts: 490
  • Thank you received: 2
7 years 10 months ago #244913

hi

your interface is different from mine.

i tried 2 other websites and the results is still the same. The language override doesnt accept the single quotes. it is being replaced by double quotes. Also the servers and hosting providers are different. I have attached a screen shot




Attachments:

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

  • Posts: 2143
  • Thank you received: 747
7 years 10 months ago #244916

You're using the Joomla override function, which is a valid way, too, but it's really only a different UI, and if you're using it correctly, results should be the same. It may strip out or mess otherwise with your code, because it expects you to use "text" only, as the field name states.

If you don't want to use the HikaShop language override interface (why not?), but instead the Joomla language override UI, and your "text" is like this:

<div class='cusbut'><div id='faicon'><i class='fa'></i></div><div id='adcart'>Log in</div></div>
it will get stripped during saving. You can verify this by checking the file /language/overrides/en-GB.override.ini, which is where Joomla saves this.
There it must have the same format as in Nicolas' and my earlier posts (which happens to be the same format as in HikaShop's language override UI), and be exactly as follows:
JLOGIN="<div class='cusbut'><div id='faicon'><i class='fa'></i></div><div id='adcart'>Log in</div></div>"
If it is not, you may edit it manually in this file to be this.

But again, instead of all of this you may as well delete the Joomla language override you made and use the HikaShop interface instead.

In any case, you cannot use double quotes "inside" language texts without escaping them correctly, they are exclusively for wrapping the text string. "Inside" you may use single quote instead.

You're obviously struggling with correct syntax of language overrides, and you need to understand that, like elsewhere, syntax must be absolutely correct to avoid code breaking - which is what you're experiencing, indeed. Unfortunately, the Joomla interface is not helpful for your case.

Aside from language override syntax issues, please note - as said before - that by using IDs here, you are potentially causing other problems because your IDs will likely be used numerous times per page. But an ID must be unique and not be used multiple times.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 7 years 10 months ago by lousyfool. Reason: Much edited... read all again... ;)
The following user(s) said Thank You: ronron

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

  • Posts: 81677
  • Thank you received: 13102
  • MODERATOR
7 years 10 months ago #244893

Hi,

@ronron
Regarding the product name with quotes and the compare button:
Yes. That's something we already fixed on our end. Download the install package on our wesbite and install it on your website and it will fix the issue with the product names with single quotes for the comparison tool.

Last edit: 7 years 10 months ago by nicolas.

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

  • Posts: 490
  • Thank you received: 2
7 years 10 months ago #244992

lousy

i'm new to hikashop. i did not know that there is a language override menu for hika, where is it?

thanks again


nicolas

im using the same version as the way on the latest version of hikashop business. Should i proceed in updating?

where can i find the view files? i would like to backup my modifications before any update.

thanks

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

  • Posts: 2143
  • Thank you received: 747
7 years 10 months ago #244995

Hi,

Language:
HikaShop has pretty good documentation , and the part on language overrides is here: www.hikashop.com/download/languages.html#translate
Conform with Joomla, language overrides you create with the HikaShop interface also go into the file /language/overrides/en-GB.override.ini and are "safe" when updating.

Updating:
As Nicolas said, download the latest complete install package and install it over your current one. They might have the same version number, but the latest package can contain hotfixes - as in this case.
Making first a complete, restorable backup of your site never hurts. ;)

View overrides:
Assuming you've created them with the HikaShop interface for views ( www.hikashop.com/support/documentation/1...-display.html#layout ) or another way conform to Joomla conventions, the folders and files containing your view modifications are located in /templates/YOUR_TEMPLATE/html/com_hikashop. Updates do not affect these files, they will be neither deleted nor overwritten.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
The following user(s) said Thank You: ronron

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

  • Posts: 490
  • Thank you received: 2
7 years 10 months ago #245697

hi

i already updated my copy with the latest one but its still not woking, The compare button still doesnt add the product to the items for comparison. Products with single quotes on their titles are still having issues.

Products with out the single quotes are fine

thanks

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

Time to create page: 0.120 seconds
Powered by Kunena Forum