Error after adding attributes

Phoca Cart - complex e-commerce extension
tienmeterdeluchtin
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 05 Mar 2019, 17:40

Error after adding attributes

Post by tienmeterdeluchtin »

Hello,
Whenever I add an attribute (tried all types) with or without adding options, I get this error message in the front-end:

0 Call to undefined method PhocacartRenderJs::renderPhSwapImageInitialize()

I have tried it with an empty phocacart and phoca sample data and the same error.
I see it has something to do with images (at least i would think so) and I also do not have the second image when Switch Image is on (posted seperate topic).
Tried switching image off - no result for this error.

Setting Hide Product Attributes (Item View) to YES = no error.

Hope you can solve my issue.
Thank you
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error after adding attributes

Post by Jan »

Hi, which version of Phoca Cart do you use? renderPhSwapImageInitialize is an obsolete function which is not more used :idea:

Do you use some override for Phoca Cart view output and layouts?

Jan
If you find Phoca extensions useful, please support the project
tienmeterdeluchtin
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 05 Mar 2019, 17:40

Re: Error after adding attributes

Post by tienmeterdeluchtin »

Hi Jan,

I had a version straight from Simone template that gave me some other issues so I downloaded a new version from your website as well as the sample date. Sample data is gone now but it had the same issue, this is the version:
https://drive.google.com/open?id=1p5jNl ... s5KYpJju6e


When the small issues can be solved I still have the 1 big question, maybe ask now :)
Is there someone that can build a Mollie payment gateway? I see lots of Mollie projects on github but not yet on on Phoca.
It's not an issue to spend some money on it as most other shops ask for it, yet if there is no option of implementing a payment system for Holland / Belgium / Germany I might need to search for new options.
Thank you.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error after adding attributes

Post by Jan »

Hi, I can take a look at the mollie API, but really no idea if I will be able to finish it soon :-(

Jan
If you find Phoca extensions useful, please support the project
tienmeterdeluchtin
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 05 Mar 2019, 17:40

Re: Error after adding attributes

Post by tienmeterdeluchtin »

Thank you Jan, installing a template from your website does solve both problems in 1 time.
It's gantry 5 so I will make it work with what I plan for the rest of the site.

Next to Mollie we have iDeal and Omnikassa, they are basically offering the same payment methods. Might one be easier than the other than it's ok. We are just planning to build a new website+shop so there is no hurry but if it is possible than i am happy :).
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error after adding attributes

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
kdubey
Phoca Member
Phoca Member
Posts: 19
Joined: 18 Feb 2020, 22:39

Re: Error after adding attributes

Post by kdubey »

Hello Jan

I am receiving the same error. I downloaded the installation files from your website and installed them. The version of Phoca Cart I have is 3.5.3. I am also using it with the Gantry 5 Simone template. The Gantry version is 5.4.35.

Can you let me know how to resolve this issue?

Regards
Kamalesh.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error after adding attributes

Post by Jan »

Do you get the same problem with another Gantry5 template?

Jan
If you find Phoca extensions useful, please support the project
kdubey
Phoca Member
Phoca Member
Posts: 19
Joined: 18 Feb 2020, 22:39

Re: Error after adding attributes

Post by kdubey »

Hello Jan

I have not tried with another Gantry template as this is the one that I have purchased. However, it is working fine on another website and I cannot think of anything that I have done differently.

Regards
Kamalesh.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error after adding attributes

Post by Jan »

Can you paste here whole message including the row and the file (enabled debug mode with error reporting on), maybe the override needs to be changed or removed.
I am also using it with the Gantry 5 Simone template ... I have not tried with another Gantry template as this is the one that I have purchased
Are you sure, you are using JF Simone? (JF Simone is a free template, it can be downloaded not purchased)

Jan
If you find Phoca extensions useful, please support the project
Post Reply