cpgShop - a PayPal shopping cart - Page 4 cpgShop - a PayPal shopping cart - Page 4
 

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 5 Guests are viewing this topic.

ReVoX

It's my own spanish language language file. It's incomplete. If someone want to continue translating It into spanish please, do it and share It.
You only need upload the attached file in (CPG patch)/plugins/cpgshop/lang/

RVB Pixels

Thanks for the reply Straam.
I've one or two problems with group options, but I'll have a closer look and if I can't find the answers, I'll have some questions ;-))

In the meantime, if anyone wants to use my French language file, it's downloadable here. There may be some French terms that need improved on, but the translation is complete.

johnbcheetah

Hey great! I was going to tackle the French one after the Finnish! I'll make the Fin one public when it's ready. I also have problems with the group options, because they don't seem to appear when making a purchase, plus the fact that when I receive the order I don't see the (print) size or option (glossy or matt), just the price, so there's some work still to do, and Stramm as last resort  :)

RVB Pixels

Hi,
First of all, sorry for the spelling of your name Stramm.
I have those similar issues trying to get framed/unframed, coloured/black/white, glossy/matt as options, groups etc. although I do seem to get the print sizes to appear OK.

I have my print sizes at the beginning under prices but I'm not sure if this is the correct way

Example:
20 x 30 cm (framed)   55.00      5.70      €   Livraison   0
30 x 45 cm (framed)   80.00      5.70      €   Livraison   0
40 x 60 cm (framed)   95.00      5.70      €   Livraison   0

20 x 30 cm                 20.00      0.00      €   Livraison    0
30 x 45 cm                   45.00      0.00      €   Livraison   0
40 x 60 cm                   60.00      0.00      €   Livraison   0


Another issue found is when I use the french language file the delete button doesn't work, but when I switch to english it works fine.


Kind regards,
RVB

Stramm

Please overwrite plugins/cpgshop/libs/HTMLelement.class.php with the one in the attached zip.



Stramm

and if you mean 'delete' in the basket then that's working for me. The 'delete' text is a toggle all link. You need to tick the checkbox and click edit cart.

RVB Pixels

Sorry I didn't explain myself correctly.
No, not the basket, this delete button works fine.
It's in the cpgShop configuration. All the delete buttons for 'price', 'price options', 'group', 'group options', 'country',... The add 'new' buttons next to these work OK. Maybe could be something with the checkboxes.
As I've said it works OK in english.

PS HTMLelement.class.php downloaded and overwritten.

kind regards,
RVB

Stramm

For the lang file to work one line needs to be changed. That's cause of JavaScript using it and that's throwing out an error. So that's one exception where one needs to use html entities.

Maybe the author of the french lang file wants to redo his work a little bit and remove the html entities and instead will use plain text.

That's what needs to be changed
'are_you_sure' => "Vous êtes s&ucirc:re ? Ce n'est pas réversable !",

to
'are_you_sure' => "Vous êtes s&ucirc:re ? Ce n‘est pas réversable !",

RVB Pixels

OK Thanks.

I've modified the french file and the delete buttons work fine now.

Updated french language below with all html entities changed.

johnbcheetah

Hi Stramm! I'm still having problems with the prices and options. As far as I can see they are correctly inserted, however when I receive the order by mail it arrives as such (layout slightly different but content the same):

he purchased the following:

Item name   Item and option price   Price each   Qty   Shp   Total
132|2008_Ruusunen-008.jpeg   Item price: € 4.00
________________________________________   € 4.00   1   delivery   € 4.00
685|2007_joutsenlampi-010.jpg   Item price: € 2.00
________________________________________   € 2.00   1   delivery   € 2.00
Cart total   € 6.00
Shipping fee (Standard)   € 2.00
Total   € 8.00
Includes VAT   € 1.84

You may view the order in the admin area. The order_id is View order

Where am I going wrong? (still have the admin u &p?)

Stramm

Please overwrite plugins/cpgshop/libs/cpgTool.class.php with the one in the attached zip.

johnbcheetah

Did that, but not much difference. I put the original lang/english.php in again because I thought that the changes I'd made might be the cause, but it makes no difference either.

Stramm

Just that we talk about the same thing. I fixed a problem with option prices showing as 0 (zero) in certain cases while a price was definitely set.

You have options not showing in the email and pdf at all but in the cart? 

johnbcheetah

I have now deleted all in the options sections because I think I can do without them (tell me if I'm wrong), but the problem still persists, that  even though the customer choses the right article in the price choices, it will show the article to step 2 but disappears in step 3 onwards.
Another issue: when I press the "continue shopping" button in step 2, nothing happens.

Stramm

The problem was, that you had created option sets without giving them a name or with options that you deleted later. So when the shop tries to get the info for a option set, it got an empty entry and hence showed nothing.

Disable and enable the shop for some albums and retry.

johnbcheetah

It just doesn't work. Can you explain from the following Stramm?:
Price Manager:all the prices are listed in 3 sizes, glossy or matt (6 choices)
Price set Manager: all prices grouped under "your Prints colour" and "Your Prints B & W" (both same set of sizes)
Can you now give me a concrete example of how I should set the Option Manager and Option Set Manager?

Stramm

I've already fixed it for you (in option and option set manager). You just need to disable the shop for your pictures and then reenable it (button 'Enable/ disable CPGShop for pics in an album'). 

johnbcheetah

you mean the settings are right now?

Stramm

Yesterday I've corrected them for you.

johnbcheetah

I wasn't clear about that Stramm, sorry, I changed them again after that message thinking you were giving me instructions for solving the problem.... can you set them again please?