[cpg1.4.x]: Shopping cart (new version) - Page 10 [cpg1.4.x]: Shopping cart (new version) - Page 10
 

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]

Main Menu

[cpg1.4.x]: Shopping cart (new version)

Started by Stramm, December 21, 2008, 11:43:01 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

catchawave

Hi Stramm.

First, what an excellent plug in, many thanks.

A little setting up prob, When my user checks out there are no file numbers on the invoice, just Id 1 etc so I dont know what files to email to him.

Have I left something out.

Regards.
Andy.
www.surfshots.catchawave.co.uk - url to gallery

Aeronautic

Not sure if this addresses your issue, but this hack will switch out the file name for file title:

http://forum.coppermine-gallery.net/index.php/topic,57206.msg280200.html#msg280200

HTH

NeilC

Stramm - Please Help  ;D

I have created a folder on my host server (proofing) and uploaded / installed the Coppermine site including the Shopping Cart Plugin. This allows me to use my flash website as usual, and then insert a link called 'Customer Area' which will point to the 'proofing' folder to enable customers to purchase their images.

I have followed your instructions and all is going well, however, I hit 'checkout' and I am returned to my flash homepage??

I am assuming that you have written the code to look in the root folder (as a standalone website)?

Can you tell me how I get around this please?

Thank you in advance.

Neil

Nibbler

It's probably using the gallery URL you set in config. Make sure this points directly to the gallery.

NeilC


rwozny

I have done all the steps to install the plugin, I have cofigured basics (added products etc), but can't buy anything as there is no button leading to the cart nor the list of products. I'd like to have it just under the picture.

www.justwallit.com - bear in mind the site is just installed and its appearance wasn't changed much.

Thank you

rwozny

Quote from: rwozny on June 28, 2009, 02:09:11 PM
I have done all the steps to install the plugin, I have cofigured basics (added products etc), but can't buy anything as there is no button leading to the cart nor the list of products. I'd like to have it just under the picture.

www.justwallit.com - bear in mind the site is just installed and its appearance wasn't changed much.

Thank you

EDIT: on configuration page there are two headers 'Shop configuration (...)', below the firs one i have only button saying 'save new configuration' (and nothing else), below the second header there are product options. Should there be something below the first header?? I cant find the option to enable the shop!

rwozny

Quote from: rwozny on June 28, 2009, 02:40:12 PM
EDIT: on configuration page there are two headers 'Shop configuration (...)', below the firs one i have only button saying 'save new configuration' (and nothing else), below the second header there are product options. Should there be something below the first header?? I cant find the option to enable the shop!

It look slike on the attachment... sorry for three posts in a row but dunno why I can't edit or delete my posts...

Jeroenfoto

Hi there!

unfortunately i have the same problem here. It looks like it's ok but no drop down box appears with the pictures. I have run the site in debug and it says:

/plugins/photo_shop/codebase.php

    * Notice line 246: Undefined index: cd
    * Notice line 246: Undefined index: photo

It looks like this has something to do with it but I don't know what to do to fix it.

Hopefully someone can help me out with this because it's a great plug-in and I really like to use it!
Then another question, is there somebody who already have a translation in Dutch?

Regards,

Jeroen
www.jeroenvandelft.nl/foto

Joachim Müller

Leave notices_display off if you have no idea what that means.

Jeroenfoto

well, I had put it on because I hope someone here can tell me what to do by reading that. Maybe you can response to the problem? Leaving the notices off isn't solving it unfortunately.

regards,

Jeroen

phill104

It seems like you are doing something odd Jeroenfoto.

From View Source-

Coppermine version: 1.4.25

&

<!--Coppermine Photo Gallery 1.4.23 (stable)-->

From Update.sql-

Coppermine version: 1.4.23

Not sure whate is going on there?
It is a mistake to think you can solve any major problems just with potatoes.

Jeroenfoto

Ok, I did a brand new install. Seems to work now. Having some other problems but that's for tomorrow.

thanks,
Jeroen

Jeroenfoto

Ok this is the next problem..

in the my orders page the yellow 'D' button appears. clicking it gives this error: Directory already exists.... delete first! Order id: 8
There's also a yellow 'C' button. clicking that gives also a error: Folder does not exist or has been deleted! Create it first [D]!

This is not the first time this problem is posted. the answer that was given the first time was that php save mode probably was on and that downloads can't work wit that. I checked this and it was on. now I have changed that but still getting the same errors?

I really hope someone knows the solution to this. Hope to hear from you experts!

regards,
Jeroen

Jeroenfoto

Hi there again,
A new day, a brand new install. Everything works fine now. I still have two questions:

-To buy users have to register them selves. No problem but I don't want them to upload or make albums. Is there a way to turn this off? I just want them to buy/download the pictures, nothing more
-Is there already someone with a Dutch language file available?

thanks in advance for your replay

regards,
Jeroen

Aeronautic

Perhaps go into "Groups" and turn off uploading for registered users? Set the upload methods to zero for them too.

NeilC

Guys,

Does anyone know if I can change the admin email to show 'filename' instead of 'ID' please? This would make it easier for me to prepare the photographs to print, instead of logging on to shop/admin to obtain the filename.

Changes as below..

Item ID              Type       Amount       Price total

DSC0311.jpg    8 x 6 Photo            1                    GBP 5.00

DSC0312.jpg    10 x 8 Photo            1                    GBP 7.00

DSC0315.jpg    8 x 6 Photo            1                    GBP 5.00


                                                         
                                  To print: 3 pics :: 17.00 GBP

                                     --------------------------

                                               Total: 17.00 GBP

                                                     : 0.00 GBP


I would also like to remove the '0:00' (VAT amount) and widen the 'Type' column (as it limits the description) but I guess I can work that out once I find the correct file to edit?

Thanks in advance..

Neil

www.shop.softtone.co.uk


NeilC

Quote from: NeilC on July 02, 2009, 10:51:20 PM
Guys,

Does anyone know if I can change the admin email to show 'filename' instead of 'ID' please? This would make it easier for me to prepare the photographs to print, instead of logging on to shop/admin to obtain the filename.

Changes as below..

Item ID              Type       Amount       Price total

DSC0311.jpg    8 x 6 Photo            1                    GBP 5.00

DSC0312.jpg    10 x 8 Photo            1                    GBP 7.00

DSC0315.jpg    8 x 6 Photo            1                    GBP 5.00


                                                         
                                  To print: 3 pics :: 17.00 GBP

                                     --------------------------

                                               Total: 17.00 GBP

                                                     : 0.00 GBP


I would also like to remove the '0:00' (VAT amount) and widen the 'Type' column (as it limits the description) but I guess I can work that out once I find the correct file to edit?

Thanks in advance..

Neil

www.shop.softtone.co.uk



If someone can tell me which file to edit, I would really appreciate it please?

Thanks
Neil

Gene-2008

I am trying to get this working....have made a few changes I'll share latter.

However I can't seem to get the changing amounts of pictures using the "save new amounts" button to work.
When I change the quantity(amount) and press the button it reverts back to the previous amount.

I'm looking at the code around... apply_modifs but don't understand it... ::)

Is it working for others?

Gene
BTW I'm using 1.4.25 and plugin V1.4.0

Gene-2008

Quote from: NeilC on July 04, 2009, 11:31:36 PM
If someone can tell me which file to edit, I would really appreciate it please?

Thanks
Neil

edit photo_shop_checkout.php
change:
$out['text'].= sprintf("%10.10s\t", $lang_photoshop['item_id_checkout']).
                   sprintf("%15.15s\t", $lang_photoshop['type_chckout']).
                   sprintf("%10.10s\t",$lang_photoshop['amount_checkout']).
                   sprintf("%15.15s\n",$lang_photoshop['total_checkout']);

to:
$out['text'].= sprintf("%10.10s\t", $lang_photoshop['item_id_checkout']).
                   sprintf("%30.30s\t", $lang_photoshop['item_name_checkout']).
                   sprintf("%15.15s\t",$lang_photoshop['type_chckout']).
                   sprintf("%10.10s\t",$lang_photoshop['amount_checkout']).
                   sprintf("%15.15s\n",$lang_photoshop['total_checkout']);

change:
$out['text'].= sprintf("%10.10s\t", $item_id['pid']).
                   sprintf("%15.15s\t", $SHOP_CONFIG[$item_id['id']]['name']).
                   sprintf("%10.10s\t", $item_id['amount']).
                   sprintf("%15.15s\n",$CONFIG['photo_shop_currency'].' '.$price);

to:
$out['text'].= sprintf("%10.10s\t", $item_id['pid']).
                   sprintf("%30.30s\t",$row['filename']).
                   sprintf("%15.15s\t", $SHOP_CONFIG[$item_id['id']]['name']).
                   sprintf("%10.10s\t", $item_id['amount']).
                   sprintf("%15.15s\n",$CONFIG['photo_shop_currency'].' '.$price);

--------------------------------------------------------------------------------------------
Item ID                         Filename              Type      Quanity       Price total
      1540          HighlandFramedLarge.jpg              8x10            1         USD 10.00


                                                               

                                For Prints: 1 pics :: 10.00 USD
                                 Plus 7% SC Sales Tax: 0.70 USD
                                     --------------------------
                                               Total: 10.70 USD