Shopping cart - Page 22 Shopping cart - Page 22
 

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 1 Guest are viewing this topic.

PerformanceImagery

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?

vfx

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.

jaap_cpg

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!

Stramm

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

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

many thanks!

rterburg

Quote from: PerformanceImagery 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?

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
~Ron~
www.terburg.net, Dutch landscape- and naturephotography

rterburg

Quote from: vfx 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.

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
~Ron~
www.terburg.net, Dutch landscape- and naturephotography

jaap_cpg

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?

Stramm

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

ib2loud

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.

Stramm

Quote from: LeAnnSmith 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.

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

QuoteAlso, (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

Quote from: LeAnnSmith 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.

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

LeAnnSmith

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;
   }

artefatta

 ???
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?

ib2loud

Quote from: artefatta on March 03, 2008, 04:53:59 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.

Stramm

Quote from: artefatta 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?


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

artefatta

Quote from: Stramm on March 03, 2008, 08:41:42 PM
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??

Stramm

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

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
Thanks,
Pawan

Be Positive always as my Blood Group says.