Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Ordering Photos from Multiple Galleries & Minimum Order Requirements
Tagged: minimum order, multiple galleries, shopping cart
- This topic has 13 replies, 2 voices, and was last updated 9 years, 3 months ago by Peter.
-
AuthorPosts
-
July 28, 2015 at 8:15 pm #12919lknowles21Member
Hello, I have been using the plugin for quite awhile and it works great. I do have two questions that I haven’t been able to find the answers to:
1. Is it possible for a client to purchase photos from multiple galleries in one shopping cart? For example, a customer visits Gallery A and adds one 8×10 to her cart. Then she visits Gallery B and adds two 5x7s to her cart. Shouldn’t she be able to see all the images from both galleries when she views her cart? I’ve been trying to make this work and it seems the cart clears the photos from Gallery A when I visit Gallery B and try to add more images to the cart. When I View Cart, all I see are the images from Gallery B.
2. Is there a way to set up a minimum order requirement so that the cart will give an error message if the customer hasn’t reached the minimum total?
If needed, my website URL is [www.Quick-DrawDesign.com] Most of the galleries are password protected though, so here is a link to one and the password is Becca_2015.
[http://www.quick-drawdesign.com/shop/gallery5/]
July 29, 2015 at 12:42 am #70924PeterMember“Is it possible for a client to purchase photos from multiple galleries in one shopping cart?”
Yes of course. This is standard behaviour. However there’s something not quite right on your site. Even when one adds photos from the same gallery at different times they don’t all appear in the cart page unless you click update cart.
I think there might be a plugin conflict. Please do the following tests:
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
“Is there a way to set up a minimum order requirement so that the cart will give an error message if the customer hasn’t reached the minimum total?”
No sorry currently the photo seller does not have such a feature.
July 29, 2015 at 3:07 am #70925lknowles21MemberThanks Peter! I switched to the WP theme and it didn’t fix the problem. So I switched back to my regular theme and started deactivating plugins. I’m so confused now! The Photo Seller plugin seems to work at random times regardless of which other plugins are activated. I went through and would deactivate a plug in and test, and the cart would work. Then when I reactivate the other plugin, the cart still works! So very strange.
It is also displaying the “Your Cart is Empty” page a little differently each time I click on it. Sometimes it just has text that says “Your shopping cart is empty. Please add some items.” and other times it shows a large “Your Cart is Empty” line with a “Continue Shopping” button.
It just seems like the whole thing is very inconsistent. I just got done shooting a major event and have a huge number of photos I need to get uploaded SOS!
Here is the list of plugins I’m currently using:
Contact Form 7
Essential Grid
Revolution Slider
Wordfence Security
WPBakery Visual Composer
WP Photo Seller
WP Super Cache (I keep thinking this might be the issue, but I can’t consistently make the cart work with or without this plugin)
Yoast SEO
Thank you!
July 29, 2015 at 3:48 am #70926PeterMemberI went through and would deactivate a plug in and test
The way you are doing the test is probably confusing you.
Can you try and deactivate ALL other plugins and just leave the photo seller active and then try the cart test?
Then activate one of the plugins and try another cart test. Repeat this and activate one plugin at a time and you should see which is causing the issue.
Also, you should ask your host provider to see if they are doing any form of caching on the server.
July 29, 2015 at 3:56 am #70927lknowles21MemberOkay, right now all the plugins are activated and it seems to be working for me. Could you possibly test once more on your end and let me know if you’re still seeing the issue? Thank you!
July 29, 2015 at 2:19 pm #70928lknowles21MemberHi Peter, so I’m testing my site again this morning and it isn’t working again. I followed your suggestion and deactivated all the other plugins on the site, so Photo Seller is the only thing active. I’m still getting the same errors where occasionally the cart clears itself after items are added and I try to go back later and view the cart. I’m also still getting the error where it removes previously added items when I try to add items from a different gallery.
I do have a VIEW CART button in the header area of my site so it is easy for people to find. It is linking to /store/cart. Surely there wouldn’t be an issue related to multiple links to that page.
I’m so confused now. Hope you can help!
July 29, 2015 at 2:29 pm #70929lknowles21MemberAlso, I just checked with my hosting (Bluehost) and they said they do not do local caching on shared servers.
July 29, 2015 at 2:44 pm #70930lknowles21MemberSorry for all the messages, just trying to cover my bases. I just tested the cart following this method:
https://support.tipsandtricks-hq.com/forums/topic/php-session-not-working-correctly
And it works. The item I added to the cart are still there after multiple visits to other pages and back to the cart by clicking the VIEW CART button in my header.
July 30, 2015 at 12:42 am #70931PeterMemberOk thanks for info and that’s good to hear that you’ve resolved it – I was actually going ask you next to do some php session tests but you beat me to it
July 30, 2015 at 12:55 am #70932lknowles21MemberWell…I said it works. It still isn’t letting me add photos from more than one gallery to the cart. If I’m only trying to order out of one gallery, it all works fine. But when I try to add a new photo from a different gallery, all the old ones disappear. It really seems to be so sporadic.
July 30, 2015 at 12:57 am #70933lknowles21MemberNow it won’t add any items to the cart at all. I haven’t changed anything!
July 30, 2015 at 1:33 am #70934PeterMemberI’ve sent you an email to get login details.
July 30, 2015 at 2:16 am #70935PeterMemberI just logged into your site and did some tests which prove to me that it is your host or some other caching mechanism which is causing the issue.
For example, I added a line in the cart code which simply prints a text string as soon as the page is loaded. When I reloaded the page in the browser where I had an existing product in the cart, the expected echo statement did not appear. However when I tried from a totally different browser, the test text string appeared.
Another test I did was when i disabled the wordfence plugin, I noticed that the page was still executing wordfence functionality even though I had disabled the plugin. Only new browser sessions showed the updated behaviour.
This suggests to me that your server has some kind of caching enabled for existing sessions, ie, users already currently viewing your site.
This is something you will need to talk to your host support guys about because I know it is definitely not something that we can fix in the plugin.
July 30, 2015 at 2:37 am #70936PeterMemberUpdate:
I added “/cart” in the supercache plugin setting to force it not to cache the cart page and it appears to be working fine now.
-
AuthorPosts
- You must be logged in to reply to this topic.