RcaTheme Support Forum

  1. Greg C
  2. GtiShop
  3. Tuesday, 10 December 2019
  4.  Subscribe via email
Hi, I have found problem with GTIShop Template related to Hikashop pagination. The problem was caused by the Template view override of “listing_div” in the product view

Instead of the code:

<form action="<?php echo hikashop_currentURL(); ?>" method="post" name="adminForm_<?php echo $mainDivName . $this->category_selected; ?>_top">
<div class="hikashop_products_pagination hikashop_products_pagination_top">
<?php echo $this->pagination->getListFooter($this->params->get('limit')); ?>


Should be the code compliant with Hikashop native listing_div:

<form action="<?php echo str_replace('&tmpl=raw', '', hikashop_currentURL()); ?>" method="post" name="adminForm_<?php echo $mainDivName . $this->category_selected; ?>_top">
<div class="hikashop_products_pagination hikashop_products_pagination_top">
<?php echo str_replace('&tmpl=raw','', $this->pagination->getListFooter($this->params->get('limit'))); ?>


And instead of the code:

<form action="<?php echo hikashop_currentURL(); ?>" method="post" name="adminForm_<?php echo $mainDivName . $this->category_selected; ?>_bottom">
<div class="hikashop_products_pagination hikashop_products_pagination_bottom">
<?php echo $this->pagination->getListFooter($this->params->get('limit')); ?>


Should be the code compliant with Hikashop native listing_div:

<form action="<?php echo str_replace('&tmpl=raw', '', hikashop_currentURL()); ?>" method="post" name="adminForm_<?php echo $mainDivName . $this->category_selected; ?>_bottom">
<div class="hikashop_products_pagination hikashop_products_pagination_bottom">
<?php echo str_replace('&tmpl=raw','', $this->pagination->getListFooter($this->params->get('limit'))); ?>


this issue is similar as on this Forum Thread

I suppose you can check this and add change to the template in case of update.

Regards,
Greg
Responses (1)


There are replies in this post but you are not allowed to view the replies from this post.