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 ... 6 7 8 9 [10] 11 12 13 14 ... 19   Go Down

Author Topic: [cpg1.4.x]: Shopping cart (new version)  (Read 273064 times)

0 Members and 1 Guest are viewing this topic.

catchawave

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #180 on: June 24, 2009, 08:19:51 am »

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
Logged

Aeronautic

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 125
  • Photographer / film maker turned webmeister...
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #181 on: June 27, 2009, 12:02:36 am »

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
Logged

NeilC

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #182 on: June 27, 2009, 03:57:08 pm »

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
Logged

Nibbler

  • Guest
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #183 on: June 27, 2009, 06:21:21 pm »

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

NeilC

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #184 on: June 27, 2009, 07:27:04 pm »

Sorted....thank you
Logged

rwozny

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #185 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
Logged

rwozny

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #186 on: June 28, 2009, 02:40:12 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!
Logged

rwozny

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #187 on: June 28, 2009, 02:49:39 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...
Logged

Jeroenfoto

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #188 on: June 30, 2009, 03:53:31 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #189 on: June 30, 2009, 06:44:11 pm »

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

Jeroenfoto

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #190 on: June 30, 2009, 07:35:50 pm »

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
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4699
    • Windsurf.me
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #191 on: June 30, 2009, 08:33:49 pm »

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?
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Jeroenfoto

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #192 on: June 30, 2009, 11:38:06 pm »

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

thanks,
Jeroen
Logged

Jeroenfoto

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #193 on: July 02, 2009, 02:43:27 am »

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
Logged

Jeroenfoto

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #194 on: July 02, 2009, 01:19:02 pm »

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
Logged

Aeronautic

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 125
  • Photographer / film maker turned webmeister...
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #195 on: July 02, 2009, 09:57:05 pm »

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

NeilC

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #196 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

Logged

NeilC

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #197 on: July 04, 2009, 11:31:36 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
Logged

Gene-2008

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 188
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #198 on: July 05, 2009, 03:35:52 am »

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
Logged

Gene-2008

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 188
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #199 on: July 05, 2009, 04:38:59 am »

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
Logged
Pages: 1 ... 6 7 8 9 [10] 11 12 13 14 ... 19   Go Up
 

Page created in 0.029 seconds with 21 queries.