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.
You are not logged in.
Hi,
I've added two products for purchase in my test gallery cart (http://kristenwestlake.net/sandhill/test/). If I click the remove box for one and then click 'update cart' at the bottom of the page, everything works beautifully.
If, however, I click the change button instead, underneath the options area in the cart, I get a blank black page with a white message inside staying, "No products are available for purchase
Please try again later, or contact the photographer if this problem persists."
Then if I click the box to close that message it takes me to a page which shows the product. I can update item or cancel. If I update item it says once again, "No products are available for purchase
Please try again later, or contact the photographer if this problem persists." If I press cancel it takes me back to the check out page.
How do I get the 'change' button to perform as it should (or can I remove it, as its confusing)? I assume it should do the same thing as the update cart button, or is it supposed to allow a buyer to change the options (ie add a frame) to the image they are buying?
Thank you for your help!
Kristen
Last edited by kristenwestlake (2014-08-02 01:42:34)
Offline
Hmm. I'm not sure how Change works. I tested it on my test site here:
http://ce4.barbeephoto.com/galleries/album/
The product is a photo workshop and the pricing scheme is set up so that visitors can choose either to pay a deposit or full price. But say they choose full price and then want to change that to deposit. If I click on Change, I get options for a print purchase, even though I've not included a print product in the pricing scheme. If I click Update Item I get the following error:
Fatal error: Call to a member function hasBasePrice() on a non-object in /home2/barbeeph/public_html/ce4/ttg-be/cart/application/models/PricingSchemeGroup.php on line 138
Probably because there is no print product in the pricing scheme.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
The "Change" button is intended to allow changing of item parameters, such as print size, paper type, quantity, etc. after the item is in the cart. You can see it at work in our demo:
http://ce4.theturninggate.net/demos/01- … lery-cart/
If there's an error being thrown on your server in particular, then Ben will need to have a look at what's going on.
Offline
Hi both. The change item page is not passing the pricing scheme correctly, so defaulting to the scheme named 'default'. That explains why the wrong products are coming up, or no products if you don't have any in a 'default' pricing scheme.
I've found the error and put in a fix. This will be available in our next maintenance release, which should be out soon.
Offline
Thank you Ben
Looks like Rod has the issues with the wrong products and I have the issue with the no products, so we will both look forward to the update ~ thank you!
I can certainly see how useful the change button can be though when its working correctly!
Kristen
Last edited by kristenwestlake (2014-08-02 23:22:18)
Offline