Questions on e-commerce module
Questions on e-commerce module
I've searched the forums and can't find a how to install the oscommerce module. Can anyone advise?
Re: Questions on e-commerce module
I figured out how to get it installed and I see the default store is installed. Now to figure out how to display the store contents in the site I'm building with CMSMS.
-
- Forum Members
- Posts: 15
- Joined: Fri Nov 04, 2005 6:57 pm
Re: Questions on e-commerce module
How did you get it installed?
Re: Questions on e-commerce module
1. Unzip to the modules directory of your cmsms install.
Here is a listing of files setup with Oscommerce module installed.
mail:/var/www/dev/modules# ls -l
total 20
drwxr-xr-x 5 root root 4096 2006-02-22 11:30 FCKeditorX
-rw-r--r-- 1 root root 0 2004-08-18 09:44 index.html
drwxr-xr-x 5 root root 4096 2006-02-22 11:30 MenuManager
drwxr-xr-x 4 root root 4096 2006-02-22 11:30 News
drwxr-xr-x 9 root root 4096 2006-02-22 16:21 Oscommerce
drwxr-xr-x 4 root root 4096 2006-02-22 11:30 ThemeManager
2. Make sure your directory name is exactly the same as the *.php file in the Oscommerce directory:
mail:/var/www/dev/modules/Oscommerce# ls -l | grep Oscommerce.module.php
-rwxr-xr-x 1 root root 16046 2006-02-22 16:23 Oscommerce.module.php
The reason I mention this is becuase I struggled getting the module to show up in the admin interface until I rectified the naming of the directory.
3. Remove the "" from line 304 (I'm going of memory here...) of the Oscommerce.module.php file.
You should get this error after the module is in the admin interface:
T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/t/tibe.nl/HTML/modules/Oscommerce/Oscommerce.module.php on line 304
Removing the "" from line 304 solves this problem. See this thread:
http://forum.cmsmadesimple.org/index.ph ... 672.0.html
Thats about where I left off. I was able to access the admin module for Oscommerce. I see the default database for Oscommerce is present in MySQL. I can browse the store, add products, etc...
My problem is that I don't know how to display the merchandise in the main content area of my cmsms install.
Please add to this discussion if you can help.
Good luck,
Tim Jordan
Here is a listing of files setup with Oscommerce module installed.
mail:/var/www/dev/modules# ls -l
total 20
drwxr-xr-x 5 root root 4096 2006-02-22 11:30 FCKeditorX
-rw-r--r-- 1 root root 0 2004-08-18 09:44 index.html
drwxr-xr-x 5 root root 4096 2006-02-22 11:30 MenuManager
drwxr-xr-x 4 root root 4096 2006-02-22 11:30 News
drwxr-xr-x 9 root root 4096 2006-02-22 16:21 Oscommerce
drwxr-xr-x 4 root root 4096 2006-02-22 11:30 ThemeManager
2. Make sure your directory name is exactly the same as the *.php file in the Oscommerce directory:
mail:/var/www/dev/modules/Oscommerce# ls -l | grep Oscommerce.module.php
-rwxr-xr-x 1 root root 16046 2006-02-22 16:23 Oscommerce.module.php
The reason I mention this is becuase I struggled getting the module to show up in the admin interface until I rectified the naming of the directory.
3. Remove the "" from line 304 (I'm going of memory here...) of the Oscommerce.module.php file.
You should get this error after the module is in the admin interface:
T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/t/tibe.nl/HTML/modules/Oscommerce/Oscommerce.module.php on line 304
Removing the "" from line 304 solves this problem. See this thread:
http://forum.cmsmadesimple.org/index.ph ... 672.0.html
Thats about where I left off. I was able to access the admin module for Oscommerce. I see the default database for Oscommerce is present in MySQL. I can browse the store, add products, etc...
My problem is that I don't know how to display the merchandise in the main content area of my cmsms install.
Please add to this discussion if you can help.
Good luck,
Tim Jordan
Re: Questions on e-commerce module
Hmm, the manual said this:TJ_IN_AK wrote: My problem is that I don't know how to display the merchandise in the main content area of my cmsms install.
{cms_module module="oscommerce" number="5" category="hardware"}
-
- Forum Members
- Posts: 15
- Joined: Fri Nov 04, 2005 6:57 pm
Re: Questions on e-commerce module
Thanks TJ_IN_AK.
This is going to be interesting. My version of oscommerce is extensively modified. The site I an working on requires my version for a catalog only, not an e-comm, application. I suspect that this mod is going to have a fit dealing with my version. Hopefully I can get the standard version operating before watching the fur fly on mine.
Who said we need to sleep.
This is going to be interesting. My version of oscommerce is extensively modified. The site I an working on requires my version for a catalog only, not an e-comm, application. I suspect that this mod is going to have a fit dealing with my version. Hopefully I can get the standard version operating before watching the fur fly on mine.
Who said we need to sleep.
Re: Questions on e-commerce module
There's a cataloger module on CMSms Forge available ...darkknight wrote: The site I an working on requires my version for a catalog only, not an e-comm, application.
Re: Questions on e-commerce module
cyberman wrote:
Hmm, the manual said this:
{cms_module module="oscommerce" number="5" category="hardware"}
I then tried to create a new catagory (MUSIC) in Oscommerce, added an item, then tried again with this:
{cms_module module="oscommerce" category="MUSIC"}
I got back this:
default action for oscommerce, not implemented now, you can see some part's on this site or using {cms_module module="oscommerce" action="test"} tag.
I created a new page and added this code:
{cms_module module="oscommerce" action="test"}
This is what the page looked like:
test content for oscommerce
$id = m3,
$params = Array ( [module] => oscommerce [action] => test ) 1,
return_id = 30
list of categories: categories (not implemented)
list of products in category cPath=3_10 cPath=3_10 (not implemented)
products info for product with id=22 products_id=22 (price not running)
Can anyone advise how I can bring the Oscommerce products into my content area of my pages?
Thank you,
Tim