Add Options to the Cart View of Checkout Workflow

  • Posts: 303
  • Thank you received: 18
3 years 5 months ago #333205

I'm wondering if there's an easy way to add more options to the checkout workflow views? E.g., I would like to add another toggle option for "summary_only" which would just be the subtotal, tax, and shipping (no product specific lines).



I would like to avoid editing core hikashop files which would be overwritten with each update.

Attachments:
Last edit: 3 years 5 months ago by mojooutdoors-holden.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 5 months ago #333234

Hi,

Adding an extra setting would require core file modifications so I don't think you want to do that.
You could just use the normal cart view and add custom CSS to hide the products listing area in it.

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

  • Posts: 303
  • Thank you received: 18
3 years 5 months ago #333334

Ah, that's what I thought. I try to avoid any core modifications.

I was unaware that you have unique identifiers for duplicated checkout elements now, so CSS modifications will be super simple:

<div id="hikashop_checkout_cart_1_5" data-checkout-step="1" data-checkout-pos="5" class="hikashop_checkout_cart">

Thanks Nicolas!

Last edit: 3 years 5 months ago by mojooutdoors-holden.

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

Time to create page: 0.067 seconds
Powered by Kunena Forum