- Posts: 10
- Thank you received: 0
Remove quantity display
For some digital products, there is usually no need of quantity info.
Is there a way to have a product without any quantity ?
So no quantity displayed anywhere.
I understand I can have a limit of maw quantity to 1. That's OK.
But it is just not very user friendly. Because it should not be any quantity field at all.
Moreover, if max quantity per order is 1, message if we try to add 1 (using quantity button) is something like : out of stock, something like that.
Basically, I would like to have a checkbox on product object to indicate this is a digital good, no quantity to manage.
If there is no easy way to do that, I will use the max quantity per order, and will add a feature request for great Hikashop !
Many thanks.
Please Log in or Create an account to join the conversation.
If you want to remove the quantity box on your product pages, you can change the option "Display the quantity field on the product page" to "No display" in the Display tab of the configuration.
For the quantity box on the checkout, you would have to add some simple CSS in the front end CSS of HikaShop to hide it, like that:
.hikashop_product_quantity_field, .hikashop_cart_product_quantity_refresh{ display:none;}
Please Log in or Create an account to join the conversation.
I would like to have the same per product.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Posts: 78
- Thank you received: 1
Or better yet, how can I change, "quantity" to "Remove from cart" so that the 'X' is still present??
Thanks!!
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Can you be more specify exactly where and how I can disable Quantity .nicolas wrote: In both cases, you will have to edit the file "cart" of the view "checkout" via the menu Display->Views in order to adapt it to what you want.
I want to be visible (static 1), but I want to remove(hide) refresh button and instead input text box make label or make this box disable.
I want customer see they have 1 item in cart and leave option to remove, but not add more quantity.
I using Business version.
Please Log in or Create an account to join the conversation.
For your needs, editing the HikaShop cart module can do the job. You can enable/disable the quantity field, etc.
You can edit it via the menu Display > Content modules.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
from previous post and now is working.
Now I need hide refresh icon or better replace for icon showing Nr 1.
Please Log in or Create an account to join the conversation.
Now I can't find where I should change code from... /media/com_hikashop/images/refresh.png to ...../media/com_hikashop/images/nr1_green.png.
Is not in CSS.
Please give me a clue.
Thanks.
Please Log in or Create an account to join the conversation.
I edit via Display/views ---> checkout, cart
in line: 482 i change: <img src="<?php echo HIKASHOP_IMAGES . 'refresh.png';?>"
for <img src="<?php echo HIKASHOP_IMAGES . 'nr1_green.png';?>"
Now is looks how I want to.
I hope I didn't mess anything.
BTW thank you for software which can be fully customize!!
Please Log in or Create an account to join the conversation.
e.g.
div#hikashop_product_family_fee_single_student_page.hikashop_product_page .hikashop_product_quantity_field {display:none!important;}
Then you have to hide the + and - icons too
Please Log in or Create an account to join the conversation.
For anyone reading this thread, these are not relevant anymore.
You can now do that by changing the setting "Quantity input method" in the HikaShop configuration.
Please Log in or Create an account to join the conversation.
i tired to edit cart file on display-views checkout view with no success
Please Log in or Create an account to join the conversation.
You should use the "cart status" instead of the "cart".
The default checkout cart need to let the customer remove the products and see/change their quantity.
The "cart status" is a "read only" version of the cart, so without quantity fields.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.