url problem sj Listing Tabs for Hikashop

  • Posts: 49
  • Thank you received: 0
10 years 6 months ago #191818

-- Error-message(debug-mod must be tuned on) -- : url problem

Hi

i install SJ Listing Tabs for Hikashop in my site.
Force canonical URLs on listing is on use and generate if missing but seem when some one click on this new modules it generate brand new url for it self . and it contain hikashop word just like

.../component/hikashop/خرید/monalisa-puzzle.html

i assign a content menu in everything in views but still not work

tanks


With them the Seed of Wisdom did I sow,
And with my own hand labour’d it to grow:
And this was all the Harvest that I reap’d—
“I came like Water, and like Wind I go.”

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

  • Posts: 26265
  • Thank you received: 4044
  • MODERATOR
10 years 6 months ago #191820

Hi,

Please contact "SJ Listing tabs" directly ; we can't provide support for plugins we did not create and we do not sale.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: armanemadi

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

  • Posts: 49
  • Thank you received: 0
10 years 5 months ago #191927

Hi

i know that , but it seems that every body dead in smart addons

but please help me to solve this

i thinks this line belong to url

if((int)$params->get('display_add_to_cart',1)) {
echo '<div class="hikashop_add_to_cart">';
echo $cart->displayButton(JText::_('CHOOSE_OPTIONS'),'choose_options',$params,hikashop_completeLink('product&task=show&product_id='.$item->product_id.'&name='.$item->alias.$url_itemid.$category_pathway),'window.location = \''.str_replace("'","\'",hikashop_completeLink('product&task=show&product_id='.$item->product_id.'&name='.$item->alias.$url_itemid.$category_pathway)).'\';return false;','');
echo '</div>';

so how should i change this to canonical address ?

tanks


With them the Seed of Wisdom did I sow,
And with my own hand labour’d it to grow:
And this was all the Harvest that I reap’d—
“I came like Water, and like Wind I go.”

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

  • Posts: 49
  • Thank you received: 0
10 years 5 months ago #191946

:huh:

dear Jerome if found adrees line for this moduls.
this is the line

$item->link = hikashop_completeLink('product&task=show&cid=' . $item->product_id . '&name=' . $item->alias . $url_itemid .

so how should i change it to canonical urls ? think about i write this moduls my self and need your help . forget about their goddamn team. ;)


With them the Seed of Wisdom did I sow,
And with my own hand labour’d it to grow:
And this was all the Harvest that I reap’d—
“I came like Water, and like Wind I go.”

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

  • Posts: 84233
  • Thank you received: 13677
  • MODERATOR
10 years 5 months ago #191999

Hi,

If $item contains the product data, you can find the canonical URL in the variable $item->product_canonical
So you could write simply:
$item->link = $item->product_canonical;

The following user(s) said Thank You: armanemadi

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

  • Posts: 49
  • Thank you received: 0
10 years 5 months ago #192032

;) :)
ohh tanks a lot dear Nicolas it solve ,


With them the Seed of Wisdom did I sow,
And with my own hand labour’d it to grow:
And this was all the Harvest that I reap’d—
“I came like Water, and like Wind I go.”

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

Time to create page: 0.061 seconds
Powered by Kunena Forum