Shopping cart - Page 11 Shopping cart - Page 11
 

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

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.

shayphoto

Stramm

I have uploaded a second album for testing. It does not appear to have the same issue as the one in weddings.

Thanks

P.S. I'll leave everything alone (codebase.php has line commented out as suggested) until you have a look.

Photocumbria

I've tried adding 3 different levels of shipping cost for each of "Inland Uk", "European" and "International", with the intention of putting a dropdown shipping choice t the cart.

At the moment, when ordering a photo the mod picks the highest postage (or the last on the config list) and adds that and I cant seem to add the dropdown to the cart area so that clients can order which shipping they want before confirming. I'm assuming I need to add $shop_data to the checkout php but so far I'm having no luck.

Any help?


Stramm

Quote from: shayphoto on January 28, 2007, 05:00:23 PM
Stramm

I have uploaded a second album for testing. It does not appear to have the same issue as the one in weddings.

Thanks

P.S. I'll leave everything alone (codebase.php has line commented out as suggested) until you have a look.

No luck for me to reproduce that behaviour. Maybe you can make a db dump and send it to me??

Stramm

Quote from: Photocumbria on January 29, 2007, 01:00:49 PM
I've tried adding 3 different levels of shipping cost for each of "Inland Uk", "European" and "International", with the intention of putting a dropdown shipping choice t the cart.

At the moment, when ordering a photo the mod picks the highest postage (or the last on the config list) and adds that and I cant seem to add the dropdown to the cart area so that clients can order which shipping they want before confirming. I'm assuming I need to add $shop_data to the checkout php but so far I'm having no luck.

Any help?



Yup, no support for different shipping levels so far. Simple solution would be to use paypal for that. Means you have to edit the paypal buy now button form. And not add the shopping cart shipping but your dropdown

Photocumbria

Thanks Stramm for the reply, have you any plans to add a shipping choice to future versions of this plugin? As far as I can see, its the only thing missing from a great mod. And if its going to be added to a future release I will just wait for it and put my site temporarily on hold.

Thanks again!

Stramm

I don't know... I'm pretty busy atm (offline) and therefore didn't do much programming lately. I know that another shipping solution would be smooth. Unfortunately it wasn't planned from the beginning. With all the new gimmicks added it'll be best to rewrite the plugin

Photocumbria

Stramm, I'm going to have a play at creating a new dropdown with shipping options, see if I can somehow do this by c+p'ing your code, I've had success doing this in the past as I'm not a php writer.

To limit my search for the code I'll need can you let me know which of the php files I'll need to look through, so that I dont start looking in the wrong files.

Again, thanks a lot for the help and plugin

Stramm

Not really sure what you're looking for...

the paypal code is in photo_shop_checkout.php
basically that's all you need. Just replace
<input type="hidden" name="shipping" value="{$shipping_price}">
with something like
<select name="shipping">
<option value="4.00">GB</option>
<option value="8.00">Europe</option>
<option value="13.50">World</option>
</select>



Photocumbria

Stramm....Superb!! I owe you a beer.;)

shayphoto

Quote from: Stramm on January 29, 2007, 01:03:17 PM
No luck for me to reproduce that behaviour. Maybe you can make a db dump and send it to me??

Went to make a db dump for you this AM and the database is missing - it no loner seems to exists. I'm waiting to hear from my ISP. Perhaps it was corrupted from its inception.

Anyway, will set up another database and if the same issue occurs I'll let you know,make a db dump, and send it to you.

Thanks again for your time. Your cart is perfect for my purposes.

ermige

I can not see "# of items in cart" or "checkout" buttons after adding photos to my cart.  My only theory is that I am not displaying a sys_menu in my customized theme and the buttons are placed in the menu or in relation to it.  Could that be the issue,  if so how can I move the location of these two buttons.

Thanks!!!

Stramm

if you're not using the sub menu, then a feature since version 1.1 may be from use for you (from the 1st post of this thread:)

QuoteNew version (1.1 uploaded on 08/09/2006)
- added shipping costs
- added support for a tag in template.html {CART_MENU}, either add that to your template or the cart will be inserted after the sub menu
- fixed all known bugs

ermige

Stramm,
got it set up perfectly now!  Thanks so much for the great plug-in, and all your help.

affeee

Hi

Is it possible to add placeholders so you can include a copy of the order in the confirmation mail sent to the customer?

Stramm

same as above... needs to be coded. Not difficult but more work than the last modification

shayphoto

Quote from: Stramm on January 29, 2007, 01:03:17 PM
No luck for me to reproduce that behaviour. Maybe you can make a db dump and send it to me??

Stramm

Attached is a dump of a database (in .txt format) exhibiting the same problem. (The db is no longer installed.)

I thought I had posted a reply yesterday indicating it may be the order in which the new install of Coppermine and Photo_shop occurred however it is not.

I have installed at least five clean installs and all have the same problem with the first few files uploaded. I also tried different photos in case those files may have been corrupted.

Thanks again for your time.

affeee

Quote from: Stramm on January 31, 2007, 01:44:42 PM
same as above... needs to be coded. Not difficult but more work than the last modification

Ok... could you just point me in the right direction?... Please  ;D

Stramm


wuschel_lux

#218
Hi Stramm,

thanks for this great plugin.

It works realy fine, but I have a problem, when I try too download as ZIP an order in the Shopping cart Admin area.
I got an error message, that the ZIP archive is corrupt. The same problem occures when I try to download 'my favorites'.

Here a screenshot:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.volleyball.lu%2Ffotogallery%2Falbums%2Fuserpics%2F10001%2Fnormal_zip_PB.jpg&hash=124e6878d0c3c57f27e5b94ff5b5055f66d2c7fc)

Gallery is under:
http://www.volleyball.lu/fotogallery/

Server config:
zlib
ZLib Support    enabled
Compiled Version    1.2.2
Linked Version    1.2.2

Directive   Local Value   Master Value
zlib.output_compression   Off   Off
zlib.output_compression_level   -1   -1
zlib.output_handler   no value   no value

Best regards,
Francis

Stramm

that 'problem' not related to the plugin cause it uses the coppermine zip class. That's what you recognized too, fav download doesn't work as well.

Reason for that usually is no enough (php) memory. Default is 8mb. If you have more pics, php can't hold them in mem and zip them. Result is a damaged zip file.