Problem to add product to the cart

  • Posts: 184
  • Thank you received: 4
11 years 11 months ago #80211

3 week ago I added 4 products to my ecommerce, everything was fine but today i discovered I have some problem to add them to the cart.

If I try to do that from the view module, Hika adds the new products to the cart but with no price.





If I open a product ( www.madeinvino.com/la-nostra-cantina/pro...ga-2009-felsina.html ) and inside the product I click "ADD TO CART" it works fine





Don't ask me why but the old products work fine...

I use the versione 1.6.0 and I have a customization made from you (Xavier) for the recurring payment and to specify only some quantities for some products.

To test this functionality you need to LOG IN and you need to have specific rights, I will send you privately the information needed for LOG IN and also to access the backend.

Thanks as usual for your help.

(I sent to This email address is being protected from spambots. You need JavaScript enabled to view it. the account details , PLEASE PAY ATTENTION BECAUSE THIS IS THE LIVE ENVIRONMENT)

Attachments:
Last edit: 11 years 11 months ago by Teto.

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

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

Hi,

That's because you have to set a "Quantità minima per ordine" to 3 for products packed by 3 and 6 for the packed by 6

The following user(s) said Thank You: Teto

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

  • Posts: 184
  • Thank you received: 4
11 years 11 months ago #80254

Sorry.. :blush: you are right!

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

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

No problem :)

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

  • Posts: 184
  • Thank you received: 4
11 years 10 months ago #86198

Hello

I have another problem and I don't know why... :blink:

Now I can not select anymore the quantities.
For example you can see this page:
labs.madeinvino.it/la-nostra-cantina/pro...-2010-scagliola.html

(To test this functionality you need to login, I will send privately to you and to This email address is being protected from spambots. You need JavaScript enabled to view it. the account details)



If you click "aggiungi al carrello" hika adds the products with the minimum quantity (in this case 6).
Also in the checkout page you cannot see the quantities.



I am using the versione 1.6.0 of Hika.
I would like to upgrade it but I would like to wait the 2.0.1 that you should release within january.
Please help me because I have the same problem in the production environment and I need to solve it asap. :S

I don't know what is the reason, I didn't change nothing on Hika. During last 2-3 weeks I upgraded Joomla to the release 2.5.8 and I installed some extensions. Unfortunately I haven't check the functionality since one month, so I don't know when it stop working and why :blush:

Many thanks in advance!

Attachments:
Last edit: 11 years 10 months ago by Teto.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 10 months ago #86199

Hi,

You do not have the generic view of HikaShop, you use a custom view which display a drop down instead of a input text.
I don't know which script you have used but it is possible that you use the product minimum quantity or product maximum quantity to create the "borders" (min, max and step values) of the drop down.
Maybe your product does not have all required values.

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: 184
  • Thank you received: 4
11 years 10 months ago #86202

Hi Jerome and thanks for your reply

this is a little customization that Xavier made us a few months ago.

It uses only the minimum quantity (and some custom fields).
The problem is that it works until one month ago.
Now a users told me it doen't work anymore.
But I haven't modified nothing on Hika since the last month.
I have only upgraded joomla and installed some extansions.

Probably Xavier could help us on this matter.

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
11 years 10 months ago #86218

Hi,

I checked the customization with the access that you provided. The issue came from the fact that you added additional categories to your products. The algorithm of the customization was not made to support that. I've fixed it.

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

  • Posts: 184
  • Thank you received: 4
11 years 10 months ago #86242

Thank you! :) :)

you provide the best support I have ever had!!!!

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

  • Posts: 184
  • Thank you received: 4
11 years 9 months ago #89990

Hello

I am upgrading to the 2.1.0 version. :)

considering there are a lot of differences I am recreting all the custom views.

I am also trying to enable your customization to select only specific quantities, but I have a problem. :(

www.labs.madeinvino.it/la-nostra-cantina...e-2008-morganti.html

(To verify the problem you need to login, I am sending to This email address is being protected from spambots. You need JavaScript enabled to view it. all the info needed)

As you can see there isn't "quantity box" and the "add to cart" button.



if you add the product to the cart from the page www.labs.madeinvino.it/la-nostra-cantina.html

there are no problem.



for this customization I did:

1) place the file "hikashop_button.php" in the "yourSite\templates\yourTemplate\html\" folder
2) edit the view "checkout / cart" to replace the content by the new one. (or just add the content between the "//NEW##" and "EO NEW##" comments )
3) create two custom fields: "GroupBy6" and "GroupBy3" (use this syntax) on the table "Category" with the type "Checkbox" and set the values but no default values, apply the custom fields on your categories.
4) in the category edition page, select the checkboxes with the wanted values, and save.
5) Add this property ".hikashop_product_quantity_select{ width: 50px !important}" the the custom CSS (this is probably due to my custom CSS template).

Many Mant thanks in advance for your help.

Attachments:
Last edit: 11 years 9 months ago by Teto.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #90044

Hi,

Are the other buttons working ? (On the products without the dropdown).
If it is, I think that there is a problem in the check of the quantities to display, else the file is not loaded correctly.

Could you give us FTP access ? (you can pm me)

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

  • Posts: 184
  • Thank you received: 4
11 years 9 months ago #90047

Thank you Xavier

I sent you the info needed

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
11 years 9 months ago #90243

It doesn't come from the override of the add to cart button.
It's just that the "show add to cart button" option is turned off in the configuration of HikaShop.
I've turned it on and it's ok.

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

  • Posts: 184
  • Thank you received: 4
11 years 9 months ago #90249

THIS IS REALLY EMBARRASSING!!! :blush:

Thank you guys and pardon me if you lost time for my error

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

  • Posts: 184
  • Thank you received: 4
11 years 9 months ago #90975

Hello everybody

i am starting to hate this feature... ;)

I upgraded to version 2.1.0

All my old products have no problem but when I create new products I cannot view/select the quantities from the product page even if I can do from the ckeckout page. :unsure:

www.labs.madeinvino.it/la-nostra-cantina...10-ca-dei-frati.html





I don't know the reason, but each month I need to create new categories.
I have also added some code into the custom view checkout/cart.php and into the custom file hikashop_button.php in order to add another group "groupby1".
IMPORTANT: Nicolas already fixed it in the past, is it possibile the new version overwrite something?

(To verify the problem you need to login, I am sending to This email address is being protected from spambots. You need JavaScript enabled to view it. all the info needed)

Many Thanks in advance :)

for this customization I did:

1) place the file "hikashop_button.php" in the "yourSite\templates\yourTemplate\html\" folder
2) edit the view "checkout / cart" to replace the content by the new one. (or just add the content between the "//NEW##" and "EO NEW##" comments )
3) create two custom fields: "GroupBy6" and "GroupBy3" (use this syntax) on the table "Category" with the type "Checkbox" and set the values but no default values, apply the custom fields on your categories.
4) in the category edition page, select the checkboxes with the wanted values, and save.

Attachments:
Last edit: 11 years 9 months ago by Teto.

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
11 years 9 months ago #91189

I've fixed the issue in the file templates/YOUR_TEMPLATE/html/hikashop_button.php

The following user(s) said Thank You: Teto

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

Time to create page: 0.136 seconds
Powered by Kunena Forum