backdrop-contrib / foxycart

Integrate with Foxy e-commerce
GNU General Public License v2.0
0 stars 0 forks source link

Basic testing #3

Open mazzech opened 3 years ago

mazzech commented 3 years ago

Great to see this module on Backdrop CMS:-) However, I did not manage to install the Ubercart replacement module, I am getting

ParseError: syntax error, unexpected '}' in module_load_include() (line 45 of /home/lugoture/www/MYSITE.comm/sites/xad/modules/foxycart/foxycart_uc/foxycart_uc.install).

ghost commented 3 years ago

@mazzech Please let me know if this fixes the issue for you: https://github.com/backdrop-contrib/foxycart/pull/4

mazzech commented 3 years ago

Thank you @BWPanda... now the error has gone, but i get a white screen, and the module is not activated. It claims for a few required moduls which not even exist... Screenshot 2020-12-27 at 11 46 05

ghost commented 3 years ago

Ok, PR updated. Please try again.

FTR, I don't use Ubercart and so haven't really put any effort into that sub-module...

mazzech commented 3 years ago

to be honest I am not using Github... is there a downloadable module version anywhere with the patch included?

ghost commented 3 years ago

You should be able to download a copy of this module with my changes included here: https://github.com/backdrop-contrib/foxycart/tree/issue-3 (use the green 'Code' button to find the 'Download ZIP' link).

mazzech commented 3 years ago

oops, got it, thank you...
Screenshot 2020-12-27 at 12 09 44

Screenshot 2020-12-27 at 12 07 14

mazzech commented 3 years ago

From what I see, the aforemnetioned modules do exist...? See second screenshot above for the current error message.

ghost commented 3 years ago

They do exist, but are 'hidden' core modules for Ubercart, so there's no need to specifically depend on them anymore in Backdrop like we had to in D7 (I believe). So that should all be fine.

The current error has to do with using Foxycart instead of Ubercart's cart. It seems you can't disable UC's Cart module though as it's also a hidden core module... Might need an Ubercart maintainer to provide some assistance here... @laryn?

laryn commented 3 years ago

@BWPanda Ah, interesting. Those hidden Ubercart modules are ones that were marked as "Core - required" so I was not aware that any additional module could require disabling them. I hid them and made one central "Ubercart" module that managed the activation/deactivation of these core required modules behind the scenes to make install and uninstall via the project browser much simpler.