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 ... 18 19 20 21 [22] 23 24 25 26 ... 30   Go Down

Author Topic: Shopping cart  (Read 607178 times)

0 Members and 1 Guest are viewing this topic.

PerformanceImagery

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 31
Re: Shopping cart
« Reply #420 on: January 20, 2008, 03:03:23 pm »

Ron, I"m no coder, but I use Joomla and that bridge so maybe I can help you out.  Please give a little more details.  Was your Gallery and Joomla sites up and running by them selves before bridging them?  Did the bridging seem to go alright when you when through the steps?
Logged

vfx

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Shopping cart
« Reply #421 on: January 20, 2008, 05:13:08 pm »

Hi Stramm.
Thanx for the plugin!

My gallery is only my own private gallery. I don't have any users and disabled "Allow new user registrations" in CPG config. And so i need some problems solutions.

- The best way is to have a simple checkout form without a new users registration in gallery (only name, e-mail, ... for sending pictures). Is it possible to make?

- In case of a new user registration (as is), is it possible to disable auto login user/customer after filling registration form and checkout?

- I have made a new user group "customers" without any rights, but after checkout registration procedure all new users membership is "Registered". Where can i change it?


Can you help me?
Thanx in advance.
Logged

jaap_cpg

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Shopping cart
« Reply #422 on: January 24, 2008, 09:31:08 am »

Hello Stramm,

Thank you for this wondering tweak to Coppermine.
Im not very handy with php so thats why I like Copper + your tweak very much.

Now my question is: Where can I change the sizes and price?
Its allready in EUR, but if I edit the basic.sql file (so change the size and price) nothing happends after I uploaded the new edits.
Maybe I do something wrong, or do I have to change more files?

Thank you!
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #423 on: January 24, 2008, 11:36:58 am »

Changing EUR has been asked and answered within this thread... done modifying the lang file.
The prices and sizes you can edit in the shops config (see the first post in this thread).

jaap_cpg

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Shopping cart
« Reply #424 on: January 24, 2008, 12:02:01 pm »

ohhhh, thanks I just thought I had to make the edits in notepad but its easy to do online.

many thanks!
Logged

rterburg

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
    • terBurg.net Landscape photography and nature photography
Re: Shopping cart
« Reply #425 on: January 25, 2008, 08:17:35 pm »

Ron, I"m no coder, but I use Joomla and that bridge so maybe I can help you out.  Please give a little more details.  Was your Gallery and Joomla sites up and running by them selves before bridging them?  Did the bridging seem to go alright when you when through the steps?

Thanks for your reply. Somehow the tables were installed into the wrong database (the database of Joomla instead of the Coppermine database). So, problem solved.  ;D
Logged
~Ron~
www.terburg.net, Dutch landscape- and naturephotography

rterburg

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
    • terBurg.net Landscape photography and nature photography
Re: Shopping cart
« Reply #426 on: January 25, 2008, 11:04:48 pm »

Hi Stramm.
Thanx for the plugin!

My gallery is only my own private gallery. I don't have any users and disabled "Allow new user registrations" in CPG config. And so i need some problems solutions.

- The best way is to have a simple checkout form without a new users registration in gallery (only name, e-mail, ... for sending pictures). Is it possible to make?

- In case of a new user registration (as is), is it possible to disable auto login user/customer after filling registration form and checkout?

- I have made a new user group "customers" without any rights, but after checkout registration procedure all new users membership is "Registered". Where can i change it?


Can you help me?
Thanx in advance.

Hi vfx,

You can configure the user rights in Coppermine. At the user groups you can set at the "registered group" the "Public albums upload" and the "Personal gallery" allowed to "No".

Good luck,

Ron
Logged
~Ron~
www.terburg.net, Dutch landscape- and naturephotography

jaap_cpg

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Shopping cart
« Reply #427 on: January 28, 2008, 11:09:51 am »

Ok I did a preview order to myself but once I want to confirm I have this message:

"Bedankt voor uw bestelling.
Een email ter bevestiging is naar u verzonden!
Zodra uw betaling is ontvangen wordt uw bestelling afgehandeld!
--->This is just a demo cart, do not process any payment. Do not paypal me any funds!!!!<---"

Aspecially the last line... what do you mean with this and how do I get it out?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #428 on: January 28, 2008, 12:16:10 pm »

It's exactly what it say... I'm a demo cart, do not paypal me funds as I won't send photos back in return...

To remove that line edit the lang file (as usual)

LeAnnSmith

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Shopping cart
« Reply #429 on: February 19, 2008, 05:30:20 am »

Coppermine 1.4.12 has an include/archive.php with different function names and class name than what is used in photo_shop_zip.php.  Class zipfile -> zip_file, functions: addfiles -> add_files, filedownload -> download_file.  After I made these changes in photo_shop_zip.php and clicked on "Download zip" in the Shop tab of the admin, I just got a blank white page.
????

Also, (and less important) when you include the url to the orders page in the "You got a new order" email, it does not work unless you are already logged in.
Logged

ib2loud

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 77
  • I <3 CPG!
    • OKShowPics.com
Re: Shopping cart
« Reply #430 on: February 23, 2008, 04:01:28 am »

Thank you for an amazing add-on to my gallery! I can only hope I get some business as the car show season starts up soon.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #431 on: February 23, 2008, 10:42:25 am »

Coppermine 1.4.12 has an include/archive.php with different function names and class name than what is used in photo_shop_zip.php.  Class zipfile -> zip_file, functions: addfiles -> add_files, filedownload -> download_file.

This has been changed in CPG ~ 1.4.10... needs correction

Quote
Also, (and less important) when you include the url to the orders page in the "You got a new order" email, it does not work unless you are already logged in.
Yes, only the logged in admin should be able to view all orders. You get the notification. If logged in, the link works OK and you'll see the admin. If you're not logged in, then of course the system sees you as guest and you do not have permission to view admin pages. In that case you get a permission denied error.

LeAnnSmith

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Shopping cart
« Reply #432 on: February 26, 2008, 03:20:41 am »

Coppermine 1.4.12 has an include/archive.php with different function names and class name than what is used in photo_shop_zip.php.  Class zipfile -> zip_file, functions: addfiles -> add_files, filedownload -> download_file.  After I made these changes in photo_shop_zip.php and clicked on "Download zip" in the Shop tab of the admin, I just got a blank white page.

TO FIX:  -TESTED AND WORKS!
Remove the last six lines of code in photo_shop_zip.php from "$flags['storepath'] = 0;"  to: "$zip->download_file(...".
Add the following (notice the new trailing 's' for storepaths):

$flags['storepaths'] = 0;
$flags['basedir'] = "./{$CONFIG['fullpath']}";
$flags['inmemory'] = 1;
$flags['recurse'] = 0;
$zip = new zip_file(photoshop_pics_oid_'.$_REQUEST['oid'].'.zip');
$zip->set_options($flags);
$zip->add_files($filelist);
$zip->create_archive();
ob_end_clean();
$zip->download_file();
Logged

LeAnnSmith

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Shopping cart database query error -fixed
« Reply #433 on: February 28, 2008, 06:30:38 am »

codebase.php, photoshop_add_item() will cause a database critical error when you perform any search (issue : query includes 'WHERE aid=search')  Ad the following before the first line of code to fix:

   if( strcmp($pic_data['aid'], "search") == 0)
   {
      return $pic_data;
   }
Logged

artefatta

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 10
    • .:ARTEFATTA:.
Re: Shopping cart
« Reply #434 on: March 03, 2008, 04:53:59 pm »

 ???
I installed your plugin and my site is not accessable anymore!!
www.artefatta.biz

Sorry false allarm  ::) it taked some minutes, but now it works.

Question:
As there is a gallery of real art, all pieces are unique.
Could my users put the price in one of user fields and your script grab it from there?
Logged

ib2loud

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 77
  • I <3 CPG!
    • OKShowPics.com
Re: Shopping cart
« Reply #435 on: March 03, 2008, 04:56:46 pm »

???
I installed your plugin and my site is not accessable anymore!!
www.artefatta.biz

I tested it out and it seems to be working fine on my side.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #436 on: March 03, 2008, 08:41:42 pm »

???
I installed your plugin and my site is not accessable anymore!!
www.artefatta.biz

Sorry false allarm  ::) it taked some minutes, but now it works.

Question:
As there is a gallery of real art, all pieces are unique.
Could my users put the price in one of user fields and your script grab it from there?


I'd say that's probably possible. It however would mean recoding a good bunch of the plugin.

artefatta

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 10
    • .:ARTEFATTA:.
Re: Shopping cart
« Reply #437 on: March 04, 2008, 09:31:58 am »

I'd say that's probably possible. It however would mean recoding a good bunch of the plugin.

Oh, I guess that means you should write a new plugin for such a possibility?
May be there is already one that fits my needs and I don't know it because I'm a newbie??
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Shopping cart
« Reply #438 on: March 04, 2008, 09:36:28 am »

I do not know of a plugin/ mod that's exactly what you're looking for.
This plugin needs to be rewritten (some parts of it), to do what you want. That's not trivial and means a lot of work.

 

pawankodakandla

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2
    • Adityas Photos
Re: Shopping cart
« Reply #439 on: March 13, 2008, 08:16:17 am »

I installed shopping cart recently...

anyway whenever a new item is added to the cart (clicking on add button), the browser is not redirecting to the last page, it is working with a classic theme, im using a custom made theme, did i miss something... please help me, if i have posted this thread in a wrong section, excuse for the same.

In case the above issue is mentioned already in the post, then please let me know!!!

here is the link: http://www.adityasphotos.com
Logged
Thanks,
Pawan

Be Positive always as my Blood Group says.
Pages: 1 ... 18 19 20 21 [22] 23 24 25 26 ... 30   Go Up
 

Page created in 0.023 seconds with 21 queries.