News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

SOLVED: All goods in basket become to have the same cost sometimes

Started by borro, May 08, 2014, 14:13:45 PM

Previous topic - Next topic

borro

Hello, friends

At VirtueMart 2.0.18a+Joomla 2.5.19 i have such issue:
Visitor gather the basket of goods from the catregory view. I added add-to-cart functionality to category view by copying default_addtocart.php from detail view to the site/templates/mytemplate/html/com_virtuemart/category folder.
How it usially looks. Client fills his cart and at some new product adding operation all goods in a cart becoming to have the cost of this last product which doesn't go to the cart by itself. After this event everything continue to work fine - I mean that every new added product have its correct price. But all previously added goods have incorrect price of that product that wasn't added to a cart.
If you take a look at pdf file of invoice of such incorrect order you will see that links of product names lead to the page of unincluded product.
I've noticed that it often happens when:
1. you have more than 35 positions in a cart
2. AND you are trying to add some product to a cart rigth after or even while a new category page is being loaded

Do you know what is the reason of such issue?
Wish you happiness!

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

borro

Quote from: Maxim Pishnyak on May 10, 2014, 17:04:00 PM
Borro, you should try 2.0.26d before posting this.
Hello and thank you Maxim

Do you know what are the minimal and recommended versions of PHP for VM 2.0.26d?
Wish you happiness!

jenkinhill

2.0.26d should work on PHP versions from 5.2.17 (which is very old) but to provide increased security VM should be updated to 2.6.1 which requires a minimum of PHP5.3.10 and preferably higher. The recommended PHP version for Joomla 2.5 is 5.4+
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

borro

It seems like upgrade have fixed this trouble.
But now another issue - cart module information(quantity and total cost) cann't be updated dynamicly. Here is the site. If you are adding some product, the popup window will apear, and if you then just wait expecting refresh of this information you will not see any refreshing at the background without page reload. Only if you'll click "go to the cart" or "continue shopping" you'll see a new information about total quantity and cost in cart module section(right top conner of the site)
Wish you happiness!

GJC Web Design

ajax call to cart returns
"NetworkError: 500 Internal Server Error - http://www.antiloppagold.ru/index.php?option=com_virtuemart&nosef=1&view=cart&task=viewJS&format=json&lang=ru&_=1400592190950"

Have you removed that Rupostal hack you were talking about?

Otherwise you need to debug why that is an error

you can paste that url in a browser - all u see is a white screen  - do the normal server error debugging
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Maxim Pishnyak

Suhosin php extension should be enabled on your hosting.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

borro

Quote from: GJC Web Design on May 20, 2014, 15:26:09 PM
Have you removed that Rupostal hack you were talking about?
Do you talk about this?
Quote from: GJC Web Design on May 20, 2014, 15:26:09 PM
do the normal server error debugging
I don't know how to do it or maybe I don't understand. Please supply some information about how to do what you said
Wish you happiness!

borro

Quote from: Maxim Pishnyak on May 21, 2014, 14:25:14 PM
Suhosin php extension should be enabled on your hosting.
It's not available at our current hosting tariff. Why do we need it?
Wish you happiness!