Skip to main content

prices bug

More
12 years 11 months ago #128549 by blondie63
prices bug was created by blondie63
-- url of the page with the problem -- : tigli.cavinato.com/lista-prodotti
-- 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.

More
12 years 11 months ago #128559 by Mohamed Thelji
Replied by Mohamed Thelji on topic prices bug
Hi,
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.

More
12 years 11 months ago #128570 by blondie63
Replied by blondie63 on topic prices bug
look attached files

do you need admin access to my site ?

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #128602 by Jerome
Replied by Jerome on topic prices bug
Hi,

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.

More
12 years 11 months ago #128658 by blondie63
Replied by blondie63 on topic prices bug
ok i understand :ohmy:

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.

More
12 years 11 months ago #128775 by Xavier
Replied by Xavier on topic prices bug
Hi,

You can force the selection to multiple of 6. It require an override of the 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.

So it require php knowledge, you have to create a select dropdown instead of the actual quantity input.
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.

More
12 years 11 months ago #128793 by blondie63
Replied by blondie63 on topic prices bug
ok thanks, but i prefer to wait this feature as standard Hikashop feature..

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #128863 by Xavier
Replied by Xavier on topic prices bug
It's in the Todo list, but we can't give a date.

Please Log in or Create an account to join the conversation.

Time to create page: 0.218 seconds
Powered by Kunena Forum