Hi
I'm thinking of using CMSMS along with a cart system which I like (not one of the ones that there is a module for)
Normally when I integrate the cart system into a standard HTML site I just paste php includes lines (like this: ) into a table on the page, where I want.
Can I still just do that on the CMSMS template, or should I somehow be using tags ?
Andy
Integrating a cart system
Re: Integrating a cart system
its cleaner to create user defined tag and call it
btw, what is this cart system you are using?
btw, what is this cart system you are using?
Re: Integrating a cart system
Thanks for that, and just to get me headed in the right direction, the tag would contain presumably this bit:
The cart system is www.ecommercetemplates.com. Not opensource, but not costly, very good support, and loads of features. I like it better than oscommerce which I've tried on a couple of sites. Its easy to slot into an existing site.
Andy
, not all the php code that is called by that?include "vsadmin/db_conn_open.php"
The cart system is www.ecommercetemplates.com. Not opensource, but not costly, very good support, and loads of features. I like it better than oscommerce which I've tried on a couple of sites. Its easy to slot into an existing site.
Andy
Re: Integrating a cart system
cant really tell what the tag should contain.. Havent ever tested that cart system so its impossible to even start quessin what belongs where...
Good luck with it
Good luck with it

Re: Integrating a cart system
solstice, your presumption was correct. Simply type the PHP you want into a tag and then call that tag from either a template or page.
I usually create a content block=header for my sites so that I can easily add custom scripts for any page that might require it.
Sounds like all that is required in this case is a php include. This then assumes that the include is responsible for displaying the cart content. In this case you would need to call the custom tag from a page's {content} block.
Check the code in the include file to make sure it's not creating full HTML and BODY tags. If it is, you should be able to strip it back and just wrap it in a DIV that you can then style as you wish.
I usually create a content block=header for my sites so that I can easily add custom scripts for any page that might require it.
Sounds like all that is required in this case is a php include. This then assumes that the include is responsible for displaying the cart content. In this case you would need to call the custom tag from a page's {content} block.
Check the code in the include file to make sure it's not creating full HTML and BODY tags. If it is, you should be able to strip it back and just wrap it in a DIV that you can then style as you wish.
Re: Integrating a cart system
Soltice. how have you got on with this? I've been looking at the same cart (highly recommended to me) for a charity site that wants to sell books, but I'm not too great on the php front. Is it as simple as using a UDT for each include? It would be a great help to know if it works as we have a very limited budget and don't want to waste money on a cart if we can't use it.
Thanks
Tim
Thanks
Tim
Re: Integrating a cart system
tbuzz88, have a look at CMSms' modules. There may be one for osCommerce.
PM
PM