a non changeable cart at last step of checkout

  • Posts: 14
  • Thank you received: 0
11 years 8 months ago #125214

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- :2.2.1-- Joomla version -- : x.x
-- PHP version -- : 2.5.7
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hi,
At the last step of the checkout, i want to have a cart, where it is impossible to change quatity or delete items out of the cart, and in that way change the order...Is that doable in some way?

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

  • Posts: 83933
  • Thank you received: 13588
  • MODERATOR
11 years 8 months ago #125239

Hi,

You can edit the file "cart" of the view "checkout" via the menu Display>Views and add checks to not display the quantity input and the delete button based on the current step.
if($this->step==2){
//display only the quantity
}else{
//display the field and the delete button
}

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

Time to create page: 0.051 seconds
Powered by Kunena Forum