Skip to main content

a non changeable cart at last step of checkout

More
13 years 1 week ago #125214 by De Keersmaeker
-- 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.

More
13 years 1 week ago #125239 by nicolas
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.139 seconds
Powered by Kunena Forum