- Posts: 14
- Thank you received: 0
Only different price second unit
thanks
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Gracias por tu respuesta.
He puesto el primer precio con una cantidad de 9€ por ejemplo y un segundo precio con 6€ y cantidad mínima 2. Finalmente he agregado otro precio igual al primero.
Te adjunto dos imágenes, una con el backend y otra con el resultado en la página.
Lo que me gustaría es que al agregar al carrito la segunda unidad tenga menor precio pero sin que aparezcan los tres precios como en la imagen.
Gracias
Please Log in or Create an account to join the conversation.
The support is in English, we don't understand Spanish, thanks to translate.
Please Log in or Create an account to join the conversation.
Hello Xavier,
Thanks for your answer.
I put the first price with an amount of € 9 for example and a second price with 6 € and minimum 2. Finally I added another price equal to the first.
I am attaching two images, one with the backend and another with the result on the page.
What I would like is that when you add to cart the second unit has lower price but without the appearance of the three prices like in the picture.
thanks
Please Log in or Create an account to join the conversation.
.hikashop_product_price_1, .hikashop_product_price_2{ display: none; }
You can add it in the frontend CSS file of HikaShop via the Display tab of the configuration
Please Log in or Create an account to join the conversation.
example
- 1 unit = 5 €
- 2 units = 4 €
- 3 units = 5 +4 +5 = 14 €
- 4 units = 5 +5 +5 +4 = 19 €
...
Then prices could not show with CSS but first has to show good prices
Thanks,
Please Log in or Create an account to join the conversation.
The prices shown by HikaShop are correct. That's the prices that you enter on your backend.
If you want to have the second product at 4 euros and all others at 5 you will have to configure your prices like that:
1 unit -> 5€
2 units -> 4.5 €
3 units -> 4.66666€
4 units -> 4.75 €
...etc...
Please Log in or Create an account to join the conversation.
1 = 5EUR
2 = 9EUR (ok)
3 = 13.50 (should be 14EUR)
4 = 18EUR (19EUR should be)
how do I count the values of 3 and 4?
I tried to change the order of prices but nothing.
thanks,
Please Log in or Create an account to join the conversation.
Like I explained in my message.
The order of the prices is not relevant.
Please Log in or Create an account to join the conversation.
comes with two units right = 9 €
the 3 and 4 units in the attached images.
seems that only account for from 2 units for all quantities are chosen.
thanks
Please Log in or Create an account to join the conversation.
Ok, now I see that there is an issue with the way the prices are selected for the calculations in your particular case.
Add the code
Please Log in or Create an account to join the conversation.
Nice job!
Please Log in or Create an account to join the conversation.