| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
i still want paying
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,728
|
eCommerce
just wondering what you all do when it comes to building an ecommerce site... would you customise a pre-built cart, or start from the ground up? Seems like a lot of work to start from scratch, but are clients a bit wary of people who use pre-built carts? |
|
|
|
|
|
#3 (permalink) |
|
Part of the 3 out of 4
Join Date: Feb 2003
Location: cheshire
Posts: 2,081
|
Yeah like Oli say it depends on budget but if you want a cheap from end try this http://www.nopdesign.com/freecart/, you dont even need any server side scripts, although i through it all into a database at the end and send vars to Netbanx. All you need is to follow the brief instruction the code is really well commented and easy to follow. Jase
|
|
|
|
#4 (permalink) |
|
I Call Shenanigans™
Join Date: Feb 2003
Location: Manchester
Posts: 9,664
|
http://www.oscommerce.com is considered the best free cart, it accepts virtually any payment processor and has thousands of add ons for due to being open source. |
|
|
|
#6 (permalink) |
|
I Call Shenanigans™
Join Date: Feb 2003
Location: Manchester
Posts: 9,664
|
This site belongs to a forum member : http://www.winecharm.co.uk One of the best examples of what can be done with the script. |
|
|
|
#9 (permalink) | |
|
Registered User
Join Date: Jun 2003
Location: Belfast
Posts: 43
|
Quote:
Aww shucks, thanks Oli!! osCommerce takes a wee bit of getting used to, and can be very frustrating at times trying to work out what page (and then which include file) to edit, but I like to think I managed to get away from the standard look and feel with the Wine Charm site. So I'd certainly recommend it to anyone! If anyone wants some hints or tips, drop me a line and I'll be glad to help... if I can!! Phil |
|
|
|
|
#10 (permalink) |
|
I Call Shenanigans™
Join Date: Feb 2003
Location: Manchester
Posts: 9,664
|
I could do with a couple of pointers if you don't mind; editing the side boxes ( cat listing, currency box etc) where are these located ? Im sure theres more, but cant remember atm. |
|
|
|
#11 (permalink) | |
|
Registered User
Join Date: Jun 2003
Location: Belfast
Posts: 43
|
Quote:
the cat listing boxes are located in includes->boxes->categories.php But if you want to control how the table around this is displayed, you need to do this in the header.php file, as the categories.php deals with the display of the inner contents. Is there anything specifically you wanna do with 'em? OSCDox.com was a good use when I was setting the site up... Phil Last edited by ThePhilster : 04-02-2004 at 18:57. |
|
|
|
|
#13 (permalink) | |
|
Registered User
Join Date: Jun 2003
Location: Belfast
Posts: 43
|
Quote:
Just had a look at the new snapshot (MS2.2) files to check what I was saying was right... and it wasn't quite (almost a year now since I dug so deep into the code!!) You'll need to look in column_left.php and column_right.php, as these are the include files that reference the individual components of the box. In here, you'll see reference to other include files, such as currencies.php or shopping_cart.php that are usually located in the boxes directory. So if you wanted to have the currencies on the left, instead of the right, copy-and-paste the relevant include line from column_right.php to coulumn_left.php. Or if you don't want them to display (which is what I chose to do) then just comment out the include line. If you want to edit the appearance, you'll need to open the relevant file in the boxes directory. So, for example, this is original shopping_cart.php file (found in includes/boxes): PHP Code:
And this is what I did to it... PHP Code:
I didn't want it to use the standard osCommerce table headings, so stripped out this line: PHP Code:
And then built a table around it. Similarly, by deleting this line, PHP Code:
you basically prevent the function that creates the table from working, and you simply complete the table off manually. And that's how I went about editing the different components. Some parts are much trickier to modify than others, but once you get a grasp for how the logic works, it becomes a much less painless ordeal. Hope that helps... Phil PS My code is from the 2.1 milestone, so it may not be identical to any code you have, but the theory should (I'd guess) be the same... |
|
|
|
|
#15 (permalink) | |
|
Registered User
Join Date: Jun 2003
Location: Belfast
Posts: 43
|
Quote:
Well, there is... it's the PHP Code:
and PHP Code:
lines that actually create the box. So if you edit the new infoBox function that creates the boxes, then it'll work for all "infoBoxes" on the site... But I'm not overly clued up on how to do that, so the only thing I could suggest would be to look at the osCommerce forums, or www.oscdox.com... Cheers Phil |
|
|
|
|
#17 (permalink) | |
|
Registered User
Join Date: Jun 2003
Location: Belfast
Posts: 43
|
Quote:
I have done in the past, but you're right, they can be a bunch of ass munchers!! And some of them are VERY snotty when simple questions are asked, which I found irritating... I don't claim to be an expert on osCommerce, but drop me a PM or email if you need any more hints/tips. Phil |
|
|
|
|
#18 (permalink) |
|
Registered User
|
Ooh, the freeware eCommerce systems (like all predefined software) aren't highly customizable(you can redefine templates, but troubles come when you're trying to bind the shop to the site(especialy, when it uses it's own CMS)... Sometimes the most simple and elegant way is building your own shopping system, especialy, when it's module for your CMS... |
|
|
|
#19 (permalink) |
|
Blu.com.au
Join Date: Apr 2004
Location: Melbourne, Australia
Posts: 9
|
Hi, I just wanted to say that OSCommerce is definetly the best OpenSource code for E-Commerce sites. Any time learning to modify OSCommerce is a benefit for any web developer. I would also agree with ThePhilster, since it is better to modify the files that he has indicated, rather than going for the template contributions that you can find at http://www.oscommerce.com . Good luck with it. ;-) |
|
![]() |