Skip to main content

Getting Error when Adding to Cart

12 years 4 months ago #165336 by CarolynVictoria
-- Joomla version -- : 3.1
-- Browser(s) name and version -- : Chrome and others
-- Error-message(debug-mod must be tuned on) -- : Error_message

SCRIPT5009: 'hikashopModifyQuantity' is undefined.

I am getting this error when I try to add a product to my cart.
Any pointers on how to troubleshoot/fix would be appreciated.
Thank you.

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

12 years 4 months ago #165338 by Jerome


With more details about your current website, it will be complicated to tell you something.
Please provide at least a link to your store ; javascript problem are very complex and it is possible that a Javascript error from another plugin/component (creating global javascript error and broke the declaration of the function hikashopModifyQuantity).

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

12 years 4 months ago #165343 by jerry@jjthomas.org
The link to the page the shows the problem is

www.chaliceofwisdom.com/calendar/eventde...-august-8th-10-am-mt

We are using the JEvents plug-in and Hikashop tags to display the product within a JEvent event.

€ 70,00

All our packages include 1-year free update, support and web cron service for one website.

This package enables you to renew this contract for a year or two.

If we discover security issues or major bugs, we will always give you the possibility to update your component for free.

Add to cart


This was working perfectly and today we noticed that it wasn't working anymore

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

12 years 4 months ago #165350 by CarolynVictoria
We using version is 2.3.1. Thank you for your assistance.

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

12 years 4 months ago #165413 by jerry@jjthomas.org
Here is another page where, when you click on Add to Cart, it just goes to the home page.

We are not using JEvents on this page. It's just a standard Joomla article using the following tag to create content.

€ 120,00 HikaShop Business

HikaShop Business includes all the features from HikaShop Starter and HikaShop Essential.
* You can compare all our versions here.
* You can upgrade your version here.

Features

  • products and sales PRODUCTS AND SALES
  • Access levels on products, variants, categories, prices, discounts and coupons
  • Currency rates auto update
  • Default currency selection using geolocation
  • White listing or black listing of zones using geolocation
  • Geolocation information for users and orders
  • Custom fields for orders, items and entries as well as custom file type
  • Import of files as products using template products
  • Easy copy of products
  • Out of stock notifications
  • Comparison system for products
  • layout LAYOUT
  • Dashboard with map widget and CSV data download
  • Images watermarking
  • Email customization
  • Effects on products listing - carrousel with transition effects
  • Customizable filters for products listings
  • marketing tools MARKETING TOOLS
  • Tracking of affiliates clicks/leads/sales
  • Affiliation program
  • Google Analytics integration for e-commerce statistics

Usage

  • HikaShop is compatible with every recent versions of Joomla ad WordPress. 
    Joomla 3.x Joomla 4.x  Joomla 5.x  Joomla 6.x  WordPress 
  • GPL v3
  • No limit of time
  • 1 year free updates
  • 1 year free HikaShop support for one website
  • 1 year web cron service for one website
  • HikaShop only supports MySQL (no postGreSQL or Oracle or MSSQL support)
  • Installation guaranteed! If you have any problems installing HikaShop, we'll do it for you.
  • 30-day money-back guarantee
  • Support and access to updates can be extended for 70€/year


www.chaliceofwisdom.com/10-purchase-audi...-program-9-mp3-files

Same problem, the js function 'hikashopModifyQuantity' cannot be found.

Jerry

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

12 years 4 months ago #165354 by nicolas
Hi,

I see that the javascript code of HikaShop is completely missing from the head of the page which explains with you get that error.
Could you please first update to HikaShop 2.3.2 and see if that fixes the problem ?

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

12 years 4 months ago #165426 by jerry@jjthomas.org
No luck. I installed the latest release on our test site and it still doesn't work.

pineapple.chaliceofwisdom.com/calendar/e...-august-8th-10-am-mt

Any other ideas?

Thanks again for getting back so quickly!

Jerry

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

12 years 4 months ago #165469 by jerry@jjthomas.org
I've been trying different options today (we are planning to go live tomorrow) but have had no option. Is there any way to check what would control the generation of that JS function?

Can I send you any more information?

Thanks again, Jerry

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

12 years 3 months ago #165454 by nicolas
Hi,

Ok. Can you provide a FTP access and a link to this thread via our contact form so that we can have a deeper look at the problem ?
www.hikashop.com/contact-us.html

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

12 years 3 months ago #165715 by jerry@jjthomas.org
Thanks Nicolas, I've just sent FTP connect info through your Contact Us form.
Best, Jerry

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

12 years 3 months ago #165718 by jerry@jjthomas.org
You can use the following link to test this issue:

www.chaliceofwisdom.com/10-purchase-audi...-program-9-mp3-files

Note how when you click Add to Cart it goes to the home page and nothing is added to the cart. If you debug Javascript you'll see the unresolved javascript function error.

Best, Jerry

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

12 years 3 months ago #165790 by jerry@jjthomas.org
Hello Nicolas,
Has you or your team had a chance to look at this issue?
I heard in our meeting today that if we can get this working, we'll upgrade to a Professional yearly subscription, but if we can't get it fixed they'll want me to migrate to a different e-Commerce system.
I've really enjoyed working with your product so far, I hope we can get this resolved.
Best, Jerry

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

12 years 3 months ago #165730 by nicolas
Thank you for the access. I was able to fix the issue in the file components/com_hikashop/views/product/view.html.php
The fix will be included in next version of HikaShop.
The following user(s) said Thank You: jerry@jjthomas.org

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

12 years 3 months ago #165904 by jerry@jjthomas.org
Thanks! I was able to verify the fix. If/when we upgrade to Professional, will this fix be overwritten?
Best, Jerry

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

12 years 3 months ago #165958 by Xavier
Hi,

Yes if you upgrade now, the fix will be overwritten so you will have to put it back after the upgrade ;)
For the next releases of HikaShop there will no more be this issue.

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

Time to create page: 0.123 seconds
Powered by Kunena Forum