prices bug

  • Posts: 18
  • Thank you received: 0
11 years 8 months ago #128549

-- 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 ?

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #128559

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.

  • Posts: 18
  • Thank you received: 0
11 years 8 months ago #128570

look attached files

do you need admin access to my site ?

Attachments:

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

  • Posts: 26253
  • Thank you received: 4040
  • MODERATOR
11 years 8 months ago #128602

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 18
  • Thank you received: 0
11 years 8 months ago #128658

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.

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #128775

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.

  • Posts: 18
  • Thank you received: 0
11 years 7 months ago #128793

ok thanks, but i prefer to wait this feature as standard Hikashop feature..

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

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #128863

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.089 seconds
Powered by Kunena Forum