Your cart quantity display

  • Posts: 72
  • Thank you received: 5
  • Hikashop Business
4 years 1 week ago #330367

-- HikaShop version -- : 4.4.1

After updating the display of "Your cart" changed", specially the quantity display. It is messed up and looks different then before. See printscreen here at the arrow how it looks now.



Before the update it looked like this:



How can I restore it to look like this again?

Attachments:
Last edit: 4 years 1 week ago by mlehr.

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

  • Posts: 83404
  • Thank you received: 13497
  • MODERATOR
4 years 1 week ago #330371

Hi,

That's because of an improvement we've made to the 4.4.1 so that the cart module can now use the same display mechanism as on the product details page so that it is consistent with what you've selected in the backend for the quantity input.
Now, if you want to force the quantity inputs on the cart module to always use the "simple" mode, you can change the line:
$this->quantityLayout = $this->cartHelper->getProductQuantityLayout($this->row);
to:
$this->quantityLayout = "show_simple";
in the file product / cart.php via the menu Display>Views.
And if you want to remove the refresh icon there, you can change the line:
$in_cart = !empty($this->row->cart_product_id);
to:
$in_cart = false;
in the layouts / quantity.php file via the menu Display>Views.

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

Time to create page: 0.069 seconds
Powered by Kunena Forum