How long cart_status will be disabled?
9 years 1 week ago #279008
by kyratn
How long cart_status will be disabled? was created by kyratn
Hi,
I see that after hikashop 3 release checkout cart_status view use same show_block_cart view. This makes no possibility to customise show_block_cart independently from cart_status.
I remember that Jerome said that this will be for a while until some modifications will be done somewhere...
Can someone please clarify the situation?
Thanks
I see that after hikashop 3 release checkout cart_status view use same show_block_cart view. This makes no possibility to customise show_block_cart independently from cart_status.
I remember that Jerome said that this will be for a while until some modifications will be done somewhere...
Can someone please clarify the situation?
Thanks
Please Log in or Create an account to join the conversation.
9 years 1 week ago #279020
by GW
Replied by GW on topic How long cart_status will be disabled?
Hi,
the situation hasn't really changed compared to Hikashop 2, the old cartstatus view directly loaded the file cart.php and therefore also used the same file for both the cart and cart status just as it is now.
It is definitely possible and quite easy to customise show_block_cart "independently" from cart status with HS3.
All you need to use is
around any code that you don't want to appear in your cart status.
And vice versa use if(!empty($this->options[ 'status' ])) for any stuff that you want to have only in your cart status.
Hope that helps.
the situation hasn't really changed compared to Hikashop 2, the old cartstatus view directly loaded the file cart.php and therefore also used the same file for both the cart and cart status just as it is now.
It is definitely possible and quite easy to customise show_block_cart "independently" from cart status with HS3.
All you need to use is
Code:
if(empty($this->options['status'])) {
//YOUR CODE
}
And vice versa use if(!empty($this->options[ 'status' ])) for any stuff that you want to have only in your cart status.
Hope that helps.
Please Log in or Create an account to join the conversation.
9 years 1 week ago #279021
by kyratn
Replied by kyratn on topic How long cart_status will be disabled?
Hi,
Thanks GW for your message.
I am already doing like you suggested with your code but I do afraid that later they will enable cart_status view and you will have to redo all customizations...
Thanks
Thanks GW for your message.
I am already doing like you suggested with your code but I do afraid that later they will enable cart_status view and you will have to redo all customizations...
Thanks
Please Log in or Create an account to join the conversation.
9 years 1 week ago #279023
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic How long cart_status will be disabled?
Hello,
The idea for the next improvements in the checkout would be to provide more "settings" for the different blocks.
For example, a setting so you can activate or not the display of "product images" in a specific cart block in your workflow.
The "cart status" is no more since it is now a "cart" with the setting "read only" activated.
So no, they won't be any "cart status" view in the future ; on the contrary, the "cart status" block will be removed and replace by the "read only" setting.
And yes, the customization need to use the code that GW gave you ; it's that code which is currently used in the view to make the differences of that "read only" option.
Regards,
The idea for the next improvements in the checkout would be to provide more "settings" for the different blocks.
For example, a setting so you can activate or not the display of "product images" in a specific cart block in your workflow.
The "cart status" is no more since it is now a "cart" with the setting "read only" activated.
So no, they won't be any "cart status" view in the future ; on the contrary, the "cart status" block will be removed and replace by the "read only" setting.
And yes, the customization need to use the code that GW gave you ; it's that code which is currently used in the view to make the differences of that "read only" option.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
9 years 1 week ago #279062
by kyratn
Replied by kyratn on topic How long cart_status will be disabled?
Hi,
Thanks Jerome for the clarification. Thats what i wanted to know.
Kind Regards
Thanks Jerome for the clarification. Thats what i wanted to know.
Kind Regards
Please Log in or Create an account to join the conversation.
Time to create page: 0.186 seconds