-- url of the page with the problem -- :
www.collectcamera.com/en-us/products/leica-equipment
-- HikaShop version -- : 4.2.1 build 1908091539
-- Joomla version -- : 3.9.11
-- PHP version -- : 7.2.20
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : links in pagination contain "tmpl=raw"
On our webshop we use extensive filtering to allow drill down to products.
From the menu one selects a main product category (menu: product layout=listing; prod.options: main category = set)
A set of filters is presented at the side for the drill down.
When the filter is used then regularly, but not always the links in the pagination contain the term "&tmpl=raw".
eg.:
www.collectcamera.com/en-us/leica-equipm...=+&tmpl=raw&filter=1
I think the "&tmpl=raw" is is supposed to be removed by the ajax script. When the link is copied manually and this part is removed, then the proper page shows, clicking the link as is display the basic info, but without using any Joomla template.
A scan shows code for the removal in some views but not in all.
Compare:
listing.php = <form action="<?php echo str_replace('&tmpl=raw', '', hikashop_currentURL()); ?>"
listing_table = <form action="<?php echo hikashop_currentURL(); ?>"
Trying to fix this through overrides improved things slightly but it still happens. So probably there are some other places in the code where this is impacted.
Generally it does not show on short lists of products, the more items displayed the higher chances are of this occurring.
I feel that this may be a bug introduced with the new ajax filtering, we never experienced this before with v4.1.0
There are some overrides for the product display, but all of them disabled this still happens.
I hope this makes sense to you and you can help us fix it.
Cheers,
André