Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for shop on subsite mapped to domain (e.g. cloud mode) #133

Open
Jemt opened this issue Feb 11, 2020 · 0 comments
Open

Support for shop on subsite mapped to domain (e.g. cloud mode) #133

Jemt opened this issue Feb 11, 2020 · 0 comments
Milestone

Comments

@Jemt
Copy link
Owner

Jemt commented Feb 11, 2020

Additional work is required to support a shop running on a subsite that is mapped to a domain or subdomain. E.g.:

test.com => /var/www/smcms/sites/test
or
sub.test.com => /var/www/smcms/sites/test

The shopping extension will not work on Sitemagic Cloud until this has been resolved.

What needs to be done:

  • Adjust vhost configurations (URL rewriting on SMCloud)
  • Adjust extensions/SMShop/PSPI/Config.php. It is not currently able to determine the correct path to the configuration override file for a subsite running under a domain or sub domain. We probably need to dublicate logic from SMEnvironment since Config.php does not run in the context of Sitemagic.
  • Make sure files called outside of Sitemagic's context works: /extensions/SMShop/PSPI/Config.php, /extensions/SMShop/PSPI/****/Callback.php, /data/PSPI/Config.php, /sites/*****/data/PSPI/Config.php).
@Jemt Jemt added this to the SMCMS-JSShop milestone Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant