AbanteCart Community

AbanteCart Development => Development Help Needed => Topic started by: yonghan79 on October 11, 2022, 06:41:38 AM

Title: Bootstrap5 storefront product listing block is showing duplicate products(Fixed)
Post by: yonghan79 on October 11, 2022, 06:41:38 AM
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.
Title: Re: Bootstrap5 storefront product listing block is showing duplicate products
Post by: Basara on October 12, 2022, 03:09:15 AM
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
Title: Re: Bootstrap5 storefront product listing block is showing duplicate products
Post by: yonghan79 on October 12, 2022, 04:20:19 AM
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.
Title: Re: Bootstrap5 storefront product listing block is showing duplicate products
Post by: Basara on October 12, 2022, 04:56:16 AM
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.
Title: Re: Bootstrap5 storefront product listing block is showing duplicate products
Post by: yonghan79 on October 12, 2022, 05:09:43 AM
Please click the quick view button in the homepage to see the image zoom issue.

I have PM'ed you the creds.

Thanks.
Title: Re: Bootstrap5 storefront product listing block is showing duplicate products
Post by: Basara on October 12, 2022, 05:27:57 AM
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
Title: Re: Bootstrap5 storefront product listing block is showing duplicate products
Post by: yonghan79 on October 12, 2022, 05:51:29 AM
I have sent you another PM. Please check.
Title: Re: Bootstrap5 storefront product listing block is showing duplicate products
Post by: Basara on October 12, 2022, 07:45:34 AM
Hi.
Please send the extension files if someone from the dev team will have time he/she will take a look.
Title: Re: Bootstrap5 storefront product listing block is showing duplicate products
Post by: yonghan79 on October 12, 2022, 07:50:23 AM
Where should i send the files to?
Title: Re: Bootstrap5 storefront product listing block is showing duplicate products
Post by: Basara on October 12, 2022, 07:52:39 AM
Hello.
You can send PM or share it here with all AbanteCart community.
Title: Re: Bootstrap5 storefront product listing block is showing duplicate products
Post by: yonghan79 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.