Open elkebe opened 7 years ago
Hello @elkebe
I managed to fix this by changing the name of the cart function https://github.com/swipestripe/silverstripe-swipestripe/blob/e1b29eb6ab13993863b2be1c35f5fe1f1c253533/code/customer/Cart.php#L18
The only other change you will have to make is to change all the occurrences in the template files where you call the cart.
I will submit a pull request in the next few days.
Thanks
*crickets*
getting following error with fresh installation of Swipestripe on Silverstripe 3.6.1: "[Deprecated] Methods with the same name as their class will not be constructors in a future version of PHP; Cart has a deprecated constructor" Cart.php > line: 11 "class Cart extends Extension {"