Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2014-08-04 13:00:18

Ken
Member
Registered: 2013-03-16
Posts: 314
Website

Changing item in cart results in error message

Problem Changing Cart Item:
1. I add items to the cart and then click on view cart
2. I click the change button for one of the items
3. I change item image size
4. I click update button
5. I get the following message:

Fatal error: Call to a member function hasBasePrice() on a non-object in /home/content/p/h/o/photoradiant/html/webtest/ttg-be/cart/application/models/PricingSchemeGroup.php on line 138

This does not happen every time I change an item. Some times after clicking the update button, the shopping cart returns with the size updated.

Here is the URL to the test gallery:

http://ioscapes.com/webtest/galleries/test/

Any thoughts on why the Fatal error message appears?

Offline

#2 2014-08-04 13:04:11

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Changing item in cart results in error message


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2014-08-04 13:08:00

Ken
Member
Registered: 2013-03-16
Posts: 314
Website

Re: Changing item in cart results in error message

follow up observation:

The error message seems to only occur when changing the size of the non default pricing scheme items. These are the items that have the pricing scheme name, either wide or pano, added to the Category meta data field. I say this based upon limited testing, but every time I change images that use the default pricing scheme (the Category field is left blank), the sizes successfully change. The problem so far has only occurred with the the non default pricing schemes.

Offline

#4 2014-08-04 13:28:39

Ken
Member
Registered: 2013-03-16
Posts: 314
Website

Re: Changing item in cart results in error message

I am not clear on what the issues the other people are experiencing but I am not sure if what Ben is observing is the exact same issue I am encountering. It does fall under change issues, but in my case updating a change results in an error message and not defaulting to another pricing scheme.

Last edited by Ken (2014-08-04 13:29:12)

Offline

#5 2014-08-04 13:29:37

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Changing item in cart results in error message

Yes, the problem only happens on non-'default' items.  We'll have a fix soon.

Offline

#6 2014-08-04 13:39:57

Ken
Member
Registered: 2013-03-16
Posts: 314
Website

Re: Changing item in cart results in error message

Thanks

Offline

Board footer

Powered by FluxBB