- Posts: 14
- Thank you received: 0
a non changeable cart at last step of checkout
- De Keersmaeker
-
Topic Author
- Offline
Less
More
13 years 1 week ago #125214
by De Keersmaeker
a non changeable cart at last step of checkout was created 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?
-- 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.
13 years 1 week ago #125239
by nicolas
Replied by nicolas on topic a non changeable cart at last step of checkout
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
}
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