prices bug
-- HikaShop version -- : com_hikashop_essential_2.2.2_2013-10-17
-- Joomla version -- : 3.15
-- PHP version -- : 5.3.3
-- Browser(s) name and version -- : Chrome 30.0.1599.101
I think that this HikaShop version has a bug about prices
I've added some products exactly on same mode but the first two are wrong displayed !
Also the minimum quantity is not displayed correctly !
Someone has same wrong behaviour ?
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Can you show me how did you configured the "price" tab of your "TAI ROSSO" product configuration page through some screenshots ?
Please Log in or Create an account to join the conversation.
do you need admin access to my site ?
Please Log in or Create an account to join the conversation.
Like in the other thread: www.hikashop.com/forum/product-category-...-variants-price.html
You have a minimum quantity for the product so there is no price when the product have a quantity of : 1
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
my customer is selling wines
the prices for wines is for bottle and people must to see this price
but when they buy, they must to buy wine boxes, normally 6 bottles, in some cases 12 bottles
is there a way to manage this behaviour with hikashop?
regards
Please Log in or Create an account to join the conversation.
You can force the selection to multiple of 6. It require an override of the quantity input:
So it require php knowledge, you have to create a select dropdown instead of the actual quantity input.For the quantity input:
You need to create the file templates/YOUR_TEMPLATE/html/hikashop_button.php. We invite you to look at the file administrator/components/com_hikashop/helpers/cart.php for the default code of the function you will define in it. In that file, you will be able to define the function:
hikashop_quantity_render($html,$i,$max_quantity,$min_quantity) => The $html variable will contain the HTML of the "add to cart" button, the $i variable will contain a unique int which will be different for each quantity input on the page, the $max_quantity and $min_quantity will contain the min and max quantity possible for the product. You need to return the whole HTML at the end of your function.
Also, please note that it only works if the option for "Display the quantity field on the product page" is set to "Ajax Input" in the configuration of HikaShop.
And for the product price, create a custom field in the table "product" and set the price per unit, then by editing the view "product / show_default" you can display the values as you want.
www.hikashop.com/support/documentation/6...tation.html#override
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.