dumbskate Posted September 23, 2005 Posted September 23, 2005 hi everybody this is my forst post, i am a web designer and havent really worked with e- commerce sites but i have a good friend who was left in the lurch by his web designer and now i am trying to solve a few problems for him. the site is http://www.thecanvascompany.co.nz first off we are in New Zealand so our date format is D/M/Y is there a way to change to this format in OSCOM as i cant see it only on or off. secondly they sites shopping cart and started forgetting what was put into it during a shoppers time on the site. you add something, shop for something else and then when you add the next thing thats all there is in the cart. this doesnt happen if you keep buying more of the same item. could this be a cache thing ?? thanks in advance My name is James. I am a html web designer that has been thrown into the php world by a friends circumstance. My friend had a store built for him by a woman that ended up taking twice as long, did not do her job properly,and finally left him with a few nasty holes in his web site.I will be asking some almost simple questions to fix these holes. I am new to code and php but i take instruction well and can follow direction well.
casper1437 Posted September 23, 2005 Posted September 23, 2005 change date at "catalog\includes\languages\yourlanguagechoice.php the next question i dun understand, sry
dumbskate Posted September 26, 2005 Author Posted September 26, 2005 change date at "catalog\includes\languages\yourlanguagechoice.php the next question i dun understand, sry sorry i couldnt see date change there just add language ??? My name is James. I am a html web designer that has been thrown into the php world by a friends circumstance. My friend had a store built for him by a woman that ended up taking twice as long, did not do her job properly,and finally left him with a few nasty holes in his web site.I will be asking some almost simple questions to fix these holes. I am new to code and php but i take instruction well and can follow direction well.
jeffy777 Posted September 26, 2005 Posted September 26, 2005 This should be right near the top: define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime() define('DATE_FORMAT_LONG', '%A %B %d, %Y'); // this is used for strftime() define('DATE_FORMAT', 'm/d/Y'); // this is used for date() define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S'); well, something similiar anyway, I think I modified that a bit, but the defines and comments are the same.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.