I love the shopX 2.1 snippet- but for a client that needs a functioning commerce application on their ModX site relatively quickly and robustly, I’ve taken the advice here to go for CubeCart until further notice.
I just have one question- I’m no php expert, but if possible I’d like to integrate CubeCart into the look of the ModX template I’m using, have it show the DropDown menu, and basically interoperate with ModX if at all possible (and if not, I’ll work with the shopX snippet). So I set up my storefront as a weblink page, and tinkered with it to call to config.inc.php using the same code in the main index.php page.
It works beautifully, and my goal is within reach, except of course for the fact that by calling config.inc.php from a directory level down (within a directory called ’store’), and effectively announcing itself as the base URL for the whole site, every link in the dropdown looks for other page IDs within the store directory and comes up with file not found. I made a duplicate of config.php.inc called config2.php.inc, in the hopes that I could somehow:
1. change the new config file to understand that all URls on the site are a directory level up.
2. have this store/index.php page believe that it is some page other than the site’s main index. perhaps I can get it to udnerstand it is the weblink page, but I don;t know whether the weblink page can invoke a template or not.
Perhaps this question should be asked elsewhere, but if anyone has any hints or knows whther or not this is even possible, I would be very grateful!