Shopping cart - Page 23 Shopping cart - Page 23
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Shopping cart

Started by Stramm, June 04, 2006, 09:02:32 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Stramm

hmmm, works just fine for me

mfaizalar

Hi Stramm,

My photoshop doesn't show correct total price in 'myorders'. At checkout stage, the total price still ok but when it goes to myorders; Shipping & discount excluded from the total price calculation.

As you can see in the attachments, the total price at cart and checkout stage is RM7.45. But it was checked out and I open myorders page it shows total price as RM0.45 only (excluded shipping cost of RM7.00). What went wrong? I didn't make any changes on the coding so far.

Appreciate your kind help  ;)

Stramm

Which version of the cart do you use?

mfaizalar

Quote from: Stramm on March 21, 2008, 09:40:05 AM
Which version of the cart do you use?

I'm using photo shop ver 1.3.5 and CPG ver 1.4.16

Stramm

I've a ver 1.3.6 ready for some weeks now. Just forgotten to post it. If I'm not totally wrong, it fixes that.
Will upload it the next days.

mfaizalar

Thx Stram!! You are absolutely my life saver  ;)

Stramm

New (maintenance) version (1.3.6 uploaded 3/25/2008)

mfaizalar

Hi Stramm,

Looks like we have another prob. Anyone can see ur items in cart (not yet checkout). How can we restrict this to let the photos in cart viewable by the owner only? Also, other people can checkout whatever in the cart.

You can try to simulate it by put some photos in cart then logout. After that try login using other acc and you'll see there's photos in ur cart even though it's ur first time login. I've checked this in ver 1.3.6 and thing is still there.

Stramm

That's not a problem... but expected behaviour
All items in the cart aren't stored in the database but only in a session and cookie. The cookie is independent if you're logged in or not. It's computer based. You as owner of your local PC will be recognized.

Advantage is, (main reason why you do it this way) that a user can browse your gallery as guest. When he checks out a login is required. Doing it your way, all items in the basket would be lost and the user needs to go shopping again.

Verify this with clearing your cookies and you'll see, the basket is empty. Also try to login from another computer.
 

hwilliam

I am 70 years old and I guess a little stupid? But where in the Photo Shop plugin is the file that contains the prices? I have it working and linking to my paypal account instead of the test account,but I can't seem to find the file with prices.....

naturephotographbybyhwilliam.com/newgallery/

Stramm

prices are stored in the MySQL database. Here again the relevant part from the first post of this thread

QuoteIn the admin menu click 'Shop'. You'll see the shop admin. It's empty cause there are no orders yet. Click 'Config' (top, right side... just below 'Shop' in admin menu). Here you set up prices and names for your items. You can sort as well here for the display in the dropdown above each picture.

hwilliam

Thanks for the quick response - that solved my problems - Is there a way to put a space in the drop down menu between USD and the price? Instead of USD40.00, I'd like 40.00 USD - No big deal..your plugin is the answer to a year's dream!

Stramm

for that you'd need to modify codebase.php a little bit
find
$html.="<option value=\"{$value['id']}\">{$value['name']} - {$lang_photoshop['USD']}{$value['price']}</option>";

replace with
$html.="<option value=\"{$value['id']}\">{$value['name']} - {$value['price']} {$lang_photoshop['USD']}</option>";

mfaizalar

Used to play around with that kind of thing before. Interesting and gud experience lol..

Quote from: Stramm on March 31, 2008, 07:36:51 PM
for that you'd need to modify codebase.php a little bit
find
$html.="<option value=\"{$value['id']}\">{$value['name']} - {$lang_photoshop['USD']}{$value['price']}</option>";

replace with
$html.="<option value=\"{$value['id']}\">{$value['name']} - {$value['price']} {$lang_photoshop['USD']}</option>";


hwilliam

Quote from: mfaizalar on April 02, 2008, 05:46:33 AM
Used to play around with that kind of thing before. Interesting and gud experience lol..


Thanks so much....works like a charm

innstreet

I would like to see a 'Add All' option to this plugin. This would allow visitors to add all the photos in an album to a CD.

What I really need is a plugin that will allow a visitor to purchase an entire album. An 'Add Album to Cart' button would be added next to the album thumbnail. When the visitor checkouts though PayPal they would receive a secure link to the .rar or .zip file(s) to download. Do you have any interest in creating a plugin like this?

Best Regards,

Gregor Wylie

DingoBlue

I know that images can be selected and placed in a cart which is then zipped for download.  Is it possible after checkout to bypass the payment process and send the zipped file to the registered users email address?  We are not charging for images and I cannot see a way to bypass the "paypal" process.
Regards

Stramm

Quote from: innstreet on April 10, 2008, 04:03:10 AM
I would like to see a 'Add All' option to this plugin. This would allow visitors to add all the photos in an album to a CD.

What I really need is a plugin that will allow a visitor to purchase an entire album. An 'Add Album to Cart' button would be added next to the album thumbnail. When the visitor checkouts though PayPal they would receive a secure link to the .rar or .zip file(s) to download. Do you have any interest in creating a plugin like this?

Best Regards,

Gregor Wylie

actually I have slightly other plans for improving this plugin
- Paypal IPN support
- cd, print or downloadable items
- if download, a pwd protected folder will be created and the password mailed to the user.
- size of the 'downloadable' items can be set (eg. 640px, 800px, 2048px), a resized copy will be put into the download folder
- a zip will be created in addition
- support for free items
- config backend... getting rid of gateway.inc.php
- currency can be set in config

when or if I really will go to publish it here... I can't say atm

Stramm

Quote from: DingoBlue on April 10, 2008, 02:44:52 PM
I know that images can be selected and placed in a cart which is then zipped for download.  Is it possible after checkout to bypass the payment process and send the zipped file to the registered users email address?  We are not charging for images and I cannot see a way to bypass the "paypal" process.
Regards

please read my last post

Sy

Just wanted to thank you for this awesome plugin Stramm.  Also can I suggest a "coupon" discount inclusion in the next version, if that's at all possible?