Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: 1 ... 19 20 21 22 [23] 24 25 26 27 ... 30   Go Down

Author Topic: Shopping cart  (Read 607439 times)

0 Members and 1 Guest are viewing this topic.

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #440 on: March 19, 2008, 09:07:03 pm »

hmmm, works just fine for me

mfaizalar

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 16
Re: Shopping cart
« Reply #441 on: March 21, 2008, 04:17:01 am »

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  ;)
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #442 on: March 21, 2008, 09:40:05 am »

Which version of the cart do you use?

mfaizalar

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 16
Re: Shopping cart
« Reply #443 on: March 21, 2008, 01:30:54 pm »

Which version of the cart do you use?

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

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #444 on: March 24, 2008, 09:16:27 pm »

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

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 16
Re: Shopping cart
« Reply #445 on: March 25, 2008, 04:34:12 am »

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

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #446 on: March 25, 2008, 01:03:09 pm »

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

mfaizalar

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 16
Re: Shopping cart
« Reply #447 on: March 27, 2008, 12:27:09 pm »

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.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #448 on: March 27, 2008, 12:54:37 pm »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Shopping cart
« Reply #449 on: March 31, 2008, 06:26:44 am »

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/
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #450 on: March 31, 2008, 07:56:59 am »

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

Quote
In 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

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Shopping cart
« Reply #451 on: March 31, 2008, 05:14:05 pm »

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!
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #452 on: March 31, 2008, 07:36:51 pm »

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

mfaizalar

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 16
Re: Shopping cart
« Reply #453 on: April 02, 2008, 05:46:33 am »

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

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

hwilliam

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Shopping cart
« Reply #454 on: April 02, 2008, 06:18:04 am »

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


Thanks so much....works like a charm
Logged

innstreet

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Shopping cart
« Reply #455 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
Logged

DingoBlue

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Shopping cart
« Reply #456 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
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #457 on: April 11, 2008, 02:27:34 pm »

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

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #458 on: April 11, 2008, 02:28:01 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

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Shopping cart
« Reply #459 on: April 11, 2008, 07:27:30 pm »

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?
Logged
Pages: 1 ... 19 20 21 22 [23] 24 25 26 27 ... 30   Go Up
 

Page created in 0.023 seconds with 20 queries.