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
Error after adding attributes
-
- Phoca Newbie
- Posts: 5
- Joined: 05 Mar 2019, 17:40
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error after adding attributes
Hi, which version of Phoca Cart do you use? renderPhSwapImageInitialize is an obsolete function which is not more used
Do you use some override for Phoca Cart view output and layouts?
Jan
Do you use some override for Phoca Cart view output and layouts?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 05 Mar 2019, 17:40
Re: Error after adding attributes
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.
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.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error after adding attributes
Hi, I can take a look at the mollie API, but really no idea if I will be able to finish it soon
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 05 Mar 2019, 17:40
Re: Error after adding attributes
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 :).
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 :).
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error after adding attributes
Ok
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 19
- Joined: 18 Feb 2020, 22:39
Re: Error after adding attributes
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.
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.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error after adding attributes
Do you get the same problem with another Gantry5 template?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 19
- Joined: 18 Feb 2020, 22:39
Re: Error after adding attributes
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.
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.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error after adding attributes
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.
Jan
Are you sure, you are using JF Simone? (JF Simone is a free template, it can be downloaded not purchased)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
Jan
If you find Phoca extensions useful, please support the project