Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Bootstrap5 storefront product listing block is showing duplicate products(Fixed)  (Read 9118 times)

Offline yonghan79

  • Jr. Member
  • **
  • Posts: 69
  • Karma: +21/-0
    • View Profile
Hi core devs,

I am working on updating our WHY2 extensions to work with v1.3.3 and bootstrap5 template.

I hook into storefront product listing section, however the products are shown doubled but not on the default template.

I also tried to add the imagezoom to bootstrap5 modal, the image zoom was not working correctly in bootstrap5 but it works in default template.

Let me know if you need the admin creds, i will send it via PM.
« Last Edit: October 18, 2022, 09:37:33 AM by yonghan79 »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5944
  • Karma: +284/-2
    • View Profile
Hello.
The Bootstrap 5 and default themes are completely different and the same code will not work on both themes due to different CSS styles, bootstrap versions etc.

If some hook is missing in the Bootstrap 5 theme please let is know the hook name

Offline yonghan79

  • Jr. Member
  • **
  • Posts: 69
  • Karma: +21/-0
    • View Profile
Can you please point me which code should be corrected so the image zoom works?

As for the hooks, there are no missing hooks, but i couldn't figure out what's causing the products get doubled in the listing.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5944
  • Karma: +284/-2
    • View Profile
Hello.

I check the website provided and image zoom is working on the product page for example  php81.abdev7.com/testing/index.php?rt=product/product&product_id=65

For the duplicated products on a Home page please PM the access to admin I want to check a few things.

Offline yonghan79

  • Jr. Member
  • **
  • Posts: 69
  • Karma: +21/-0
    • View Profile
Please click the quick view button in the homepage to see the image zoom issue.

I have PM'ed you the creds.

Thanks.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5944
  • Karma: +284/-2
    • View Profile
Hello.
All issues come from the Product Quick View extension and it is not part of AbanteCart so we can not suggest on custom-made code as we have no idea what code is inside.

Check the Product Quick View ovverrides. Looks like it run code twice somewhere

Offline yonghan79

  • Jr. Member
  • **
  • Posts: 69
  • Karma: +21/-0
    • View Profile
I have sent you another PM. Please check.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5944
  • Karma: +284/-2
    • View Profile
Hi.
Please send the extension files if someone from the dev team will have time he/she will take a look.

Offline yonghan79

  • Jr. Member
  • **
  • Posts: 69
  • Karma: +21/-0
    • View Profile
Where should i send the files to?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5944
  • Karma: +284/-2
    • View Profile
Hello.
You can send PM or share it here with all AbanteCart community.

Offline yonghan79

  • Jr. Member
  • **
  • Posts: 69
  • Karma: +21/-0
    • View Profile
Re: Bootstrap5 storefront product listing block is showing duplicate products
« Reply #10 on: October 18, 2022, 05:55:18 AM »
Hi core devs, i believe i have found the cause and the fix.

Thanks a lot for the help.

 

Powered by SMFPacks Social Login Mod