foxycart / foxycart-craft Goto Github PK
View Code? Open in Web Editor NEWCraftCMS integration for FoxyCart
CraftCMS integration for FoxyCart
I have a store that is still in development mode. I can see the test transactions in the reports tab of foxycart.com, but not in my craft's foxycart section.Is it not being pulled in because I'm still in test mode? Is there a way around that, to make sure everything is being pulled in correctly?
Hey there,
I recently ran a successful donation platform on foxycart that raised over $15,000, so thanks for that :) One issue I noticed on launch day was that my results were only pulling in the 300 most recent donations, so when a new donation came in, the 301st one would get knocked off, and so on. This messed up our live tally of donations raised, which didn't really upset my client, as she was ecstatic we were raising more money, but I'd still love to get this addressed.
To put a bandaid on this problem, I tried paginating the next 300 results and then merging the array together:
{% set transactions = craft.foxyCart.listTransactions %}
{% set transactionsTwo = craft.foxyCart.listTransactions('pagination_start',300) %}
{% set transactionsMerged = transactions|merge([transactionsTwo]) %}
Unfortunately the params from transactionsTwo
didn't get pulled in, and transactionsMerged
just ended up being the same 300 entries, just duplicated. I tried multiple different array syntaxes as the $params
, and even tried to hardcode the $params
inside the public function listTransactions
on line 210 of FoxyCartService.php
to no effect.
Am i missing something silly? Thanks for your help.
When devmode is turned off, we're getting an "Internal Server Error: Array to string conversion" error when visiting the foxycart section of the Craft admin center.
When devmode is turned on, the page loads as intended but instead (of course) shows test data. I suspect that the data coming back from craft.foxyCart.listTransactions
may have changed? I'm not sure what else to check. If there is any other detail I can provide please let me know.
Any plans to update or re-release the plugin so it supports Craft 3.1 :) @adamjudd ?
I've currently got the plugin installed on a Client edition of Craft. When I go to settings and try to update my account information (my Username or Week Start Day for example), I click save and get a PHP error saying "Craft Pro is required to perform this action". I initially contacted Craft support and they identified that the FoxyCart plugin is checking my Craft version when I update my account information. I don't get the error when I disable the plugin. Error attached - let me know if you need any more info!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.