Module to sychronize with current page category?

  • Posts: 175
  • Thank you received: 0
9 years 4 months ago #236457

-- HikaShop version -- : -
-- Joomla version -- : -
-- PHP version -- : -
-- Browser(s) name and version -- : -
-- Error-message(debug-mod must be tuned on) -- : -

Hello

I wanted to create a module that show 5 newest product from the category where user opened it. For example if user opened Product Listing of X, then it will show 5 newest product in category X

i tried to use synchronize feature in the module to show it but it that it doesnt work properly and showed the same product even though i have moved to another page

any suggestion?

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

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 4 months ago #236495

Hi,

The synchronize option of the module is what I would have recommended.
Could you provide a screenshot of the settings in the "Hikashop options" tab of your module ?

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

  • Posts: 175
  • Thank you received: 0
9 years 4 months ago #236670

Hello

imgur.com/nGHqAg9

is this good enough?

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

  • Posts: 13201
  • Thank you received: 2322
9 years 4 months ago #236712

Hi,

Your settings seems to be correct. We have recently solved an issue related on the module listings.
What is your version of HikaShop ? If not 2.6.2, please try to update.

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

  • Posts: 175
  • Thank you received: 0
9 years 4 months ago #236787

Hi, i have uploaded the site, however it needs account to login

i have created an account for you but how do i send it to you since it's currently a private website. Including administrator access if you want to check out my settings aside from the one that i have showed you

I'm still confused why it doesnt work properly

Thank You

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

  • Posts: 13201
  • Thank you received: 2322
9 years 4 months ago #236798

Hi,

Do you have updated your HikaShop version as asked previously ?

If yes, and you still have the issue so you can send us the backend and FTP access via our contact form.
Don't forget to give the link to this topic in your message.
www.hikashop.com/support/contact-us.html

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

  • Posts: 175
  • Thank you received: 0
9 years 4 months ago #237109

Hello

i checked and my version is 2.6.0

I checked the changelog and it seems that there is no changes in synchronize system between 2.6.0 and 2.6.2

is it valid?

Thank You

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

  • Posts: 13201
  • Thank you received: 2322
9 years 4 months ago #237133

Hi,

We fixed related issues about the "selectparentlisting" value which were not get correctly so the listings were not correct.

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

  • Posts: 175
  • Thank you received: 0
9 years 4 months ago #237278

Which is related to my problem?

I will discuss this with my internal team

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

  • Posts: 13201
  • Thank you received: 2322
9 years 4 months ago #237291

Hi,

Yes there is indeed many chances it is related to your problem, else I would not talk about that ;)

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

  • Posts: 175
  • Thank you received: 0
9 years 4 months ago #237525

Hello

I've extended my subscription and updated the hikashop, the problem still exists
i've assign someone to handle this and sent you the details from the contact us form

Hope you read it

Thank You

Last edit: 9 years 4 months ago by veeco.

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

  • Posts: 13201
  • Thank you received: 2322
9 years 4 months ago #237558

Hi,

It seems that you are editing the urls in the listing view, so that is adding a "cid" to the page but the cid should be present only on product display page and not listings. That's why you had that issue.

We just fixed the problem on your website by improving the checks when getting the products. We will add these modifications on our end too.

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

  • Posts: 175
  • Thank you received: 0
9 years 4 months ago #237620

Hi

Is it because the maximenuCK hikashop extension? i modify it a bit to fit the website

is it because of that?

could you tell me which file do you change?
also will the next version include this change?

Thank You

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

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 4 months ago #237639

Hi,

It's not because of that extension. That extension works fine on its own. It's because of the customization you made which creates invalid links.
the non-SEF links are like that:
index.php?option=com_hikashop&ctrl=product&task=listing&cid=XXX
That way, you can dynamically change the current category of a listing of products.
However, having that cid parameter in the URL of a products listing should normally never happen and because of that the synchronization system wrongly thinks it is on the product page, not on a listing.
The modifications we made in the file components/com_hikashop/views/product/view.html.php enable the system to have better checks in place to avoid the problem.
The modifications will be included in the next version yes.

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

Time to create page: 0.163 seconds
Powered by Kunena Forum