Popup Message - An Error Occurred.

  • Posts: 291
  • Thank you received: 4
  • Hikashop Business
13 years 3 months ago #4029

I have a category displaying products with the product parameters configured as:

Random items No
Display 'Add to cart' button Yes
Link to the product page No
Display price Yes

Click on 'Add to cart' button, product added to cart and 'continue shopping' popup displays.

Click on 'Add to cart' button again (same or different product), product added to cart but a popup displays saying 'An Error Occurred' instade of the 'continue shopping' popup.

I changed the products module in the demo to try to reproduce this problem but I could not reproduce it.

Hika Shop 1.4.1
Joomla 1.6
PHP 5.3.3
Happens in both IE8 and FF3.6.
No Javascript error displayed.

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
13 years 3 months ago #4040

Thank you for the report. We'll look at that.

We also found that the payment redirection screens were not working with 1.6 so all the online payment plugins are not working currently on 1.6.

You need to change the code

$path = JPATH_PLUGINS .DS.'hikashoppayment'.DS.$name;
to
if(version_compare(JVERSION,'1.6','<')){
    			$path = JPATH_PLUGINS .DS.'hikashoppayment'.DS.$name;
    		}else{
    			$path = JPATH_PLUGINS .DS.'hikashoppayment'.DS.$method->payment_type.DS.$name;
    		}
in each payment plugin file to fix the problem.

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

  • Posts: 291
  • Thank you received: 4
  • Hikashop Business
13 years 3 months ago #4045

Thanks.

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
13 years 3 months ago #4053

Hi,

Could you try to replace the file amdinistrator/components/com_hikashop/helpers/cart.php with the file in that package ?

It's working for us with that file now.

File Attachment:

File Name: cart-20101223.zip
File Size:3 KB

Attachments:

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

  • Posts: 291
  • Thank you received: 4
  • Hikashop Business
13 years 3 months ago #4054

Works great, thanks.

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

Time to create page: 0.062 seconds
Powered by Kunena Forum