cpgShop - a PayPal shopping cart - Page 18 cpgShop - a PayPal shopping cart - Page 18
 

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

cpgShop - a PayPal shopping cart

Started by Stramm, October 11, 2010, 05:04:51 PM

Previous topic - Next topic

0 Members and 7 Guests are viewing this topic.

gmc

#340
Had a chance to go back and look at an old issue I reported..
Quote from: gmc on March 19, 2013, 03:05:10 AM
When registering a new user - enter country, name, address, etc - yet when going to checkout, that information wasn't saved and has to be re-entered... Once entered during checkout, it seems to be saved for future.
I would expect this information to be saved during registration since it is prompted for.

The 'register_form_submit' function was not being invoked - as it is specified in the plugin codebase as a filter rather than an action.

In cpgshop/codebase.php, find:

// register form filter
$thisplugin->add_filter('register_form_create', 'cpgshop_register_form_create');
$thisplugin->add_filter('register_form_submit', 'cpgshop_register_form_submit');

and replace with:

// register form filter/action
$thisplugin->add_filter('register_form_create', 'cpgshop_register_form_create');
$thisplugin->add_action('register_form_submit', 'cpgshop_register_form_submit'); //**GMC changed filter to action


All data now added properly when a user registers to the gallery. :)
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

PhilD_UK

When making a purchase, I am getting the following message when I get to step 4 .... whether or not I select the payment gateway. (Which is configured for Paypal £ 0.00).

"Error
There is a problem with cart or shipping data. Please go back and fix:

•Data inconsistent: It seems that product data has changed since you're shopping. Please start the checkout again and verify the values."

Looking through the forum, it appears to have been a problem before, but with no definitive fix explained.
Could someone help please?


tenacjed

Quote from: gmc on January 05, 2014, 12:46:00 AM
Had a chance to go back and look at an old issue I reported..
The 'register_form_submit' function was not being invoked - as it is specified in the plugin codebase as a filter rather than an action.

In cpgshop/codebase.php, find:

// register form filter
$thisplugin->add_filter('register_form_create', 'cpgshop_register_form_create');
$thisplugin->add_filter('register_form_submit', 'cpgshop_register_form_submit');

and replace with:

// register form filter/action
$thisplugin->add_filter('register_form_create', 'cpgshop_register_form_create');
$thisplugin->add_action('register_form_submit', 'cpgshop_register_form_submit'); //**GMC changed filter to action


All data now added properly when a user registers to the gallery. :)

A big thank you for this!  I made the suggested changes and tested it out, works perfectly!


John W
What a long... strange trip it's been!!!

PhilD_UK

Quote from: PhilD_UK on January 06, 2014, 06:58:48 PM
When making a purchase, I am getting the following message when I get to step 4 .... whether or not I select the payment gateway. (Which is configured for Paypal £ 0.00).

"Error
There is a problem with cart or shipping data. Please go back and fix:

•Data inconsistent: It seems that product data has changed since you're shopping. Please start the checkout again and verify the values."

Looking through the forum, it appears to have been a problem before, but with no definitive fix explained.
Could someone help please?

I notice the fix for this I put up before the down time has disappeared ... so here's the fix again.

The cart needs both Paypal and a shipping option selected in the config to work .... even though shipping is not wanted or charged for.
Added a shipping option with no charge ... error went away.

tenacjed

gmc,

My post was lost during the crash, but I wanted to thank you for your recommendation. 

I had replied to someone else's post about being able to set multiple products on the same gallery.  My scenario was different though, with different print size options for different pictures.  You pointed out that this is currently possible.  I do not know what I did wronge the first time, but I was able to accomplish different print size options to different pictures within the same gallery.  So thank you again for the recommendation to try it again!

John W
What a long... strange trip it's been!!!

gmc

John,
You're welcome.. I've looked for the lost posts in google cache, but couldn't find them...
A summary in case it helps others..

DesMas posted that he would like to be able to assign multiple price sets to a single item - for example one that gives 'print' options and one that gives 'mug' options - rather than having one price set containing a mix of different media choices for printing...
That isn't possible in current code to my knowledge, and I don't know what it would take to implement...

You were looking to offer different choices (print sizes) for different photos in the same album (as some sizes don't make sense based on aspect ratio, etc) - and this IS possible today...

When setting pricesets - set the option the will be used for the majority of the photos for the album and save... You can then scroll down the list of photos - and change the priceset (and/or options) for any individual picture(s) and save.

Glad it worked for you...

Greg
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

liquid-motion

The link to the documentation is not working. Can you please fix it in the first post?

Please contact me about the full version. Thanks in advance!

tenacjed

Is it possible to have a discount code use % instead of currency?  I was able to get % working cpgShop Config\Discounts based on items purchased.  But when it is changed over to discount code it always does currency.  Also is it possible to specify, or change within the database the discount code, that way it is not random? 

Thanks for any help/feedback anyone might be able to offer up!

John W

http://www.waggonerphotography.com/home.shtml
What a long... strange trip it's been!!!

rogeriogal

please contact me using private messages. I will try to shoot you an e-mail. I want to donate to get the full plugin. I already have photo_shop plugin running nicely on 1.4.26 hope I can upgrade to 1.5.26 which I'm quite please to do.

Thanks Stramm

r.

Quote from: Stramm on October 11, 2010, 05:04:51 PM
Just leave a message here and I will contact you using the forums private messaging system.

sindbad5

Hi Stramm, I like to get the full plugin. Please contact me.

Tom

olastudio

Hi,
Can anyone help to add a shopping cart to my coppermine gallery in such a way that by checkout it will give an option of Paying later to send the item through Email or formail or pay by Paypal.
2.Can you help adding a shopping cart just for my clients to select their choosing photos without need of paying by checkout.
I dont mind of paying please any helper.
thks
OLA

phill104

Please do not duplicate your posts, there are 3 copies of it around now.

Best bet is to try and use this cart (getting the full version from Stramm first) then use a freelancer to modify it to your needs. the changes should be quite simple.
It is a mistake to think you can solve any major problems just with potatoes.

Aeronautic

Stramm,

Please contact me via the DM system to arrange purchase of full version.

Thanks!

Aeronautic

I by no means wish to seem impatient but has anyone heard from Stramm?

I did not get a DM regarding purchase... is it/he still active?

Thank you!

phill104

He was last online on the 10th but not sure if he has read your message.
It is a mistake to think you can solve any major problems just with potatoes.

Aeronautic

Quote from: Phill Luckhurst on March 17, 2014, 07:28:51 PM
He was last online on the 10th but not sure if he has read your message.

Thanks Phill!

I certainly know he has other things to do than contact me. :)

Hopefully this cool plug-in is still alive and well - and so is Stramm!

lcursino

How is charging the full plugin?

Not working in Coppermine.

Thanks

Aeronautic

A month has now passed since I asked for purchase information.

Not a complaint, but it would be helpful to know if this plugin is available for purchase or if it is discontinued and no longer supported.

It does appear he is visiting the forum from his profile. I hope he is well, I'd just like some insight into what is going on.

Those of you who may be devs or know him, if you could pass along this request, it would be gratefully appreciated. Thanks!  :)

Hhappy

Would love to get the full version as well.
Thanks

JohannM

Hi

How can I hide the VIEW CART etc buttons for cpgshop for users that is not logged in ? With other words visitors cant see this buttons ...

Please help