Your cart quantity display

  • Posts: 72
  • Thank you received: 5
  • Hikashop Business
4 years 10 months 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 10 months ago by mlehr.

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

  • Posts: 84889
  • Thank you received: 13833
  • MODERATOR
4 years 10 months 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.065 seconds
Powered by Kunena Forum