sottwell
Documentation Team

Posts: 8,837
|
 |
« on: Nov 25, 2005, 01:54 AM » |
|
I am beginning a project for a native MODx shopping system, using the MODx structure as much as possible. Watch its progress and add comments and suggestions at http://www.sottwell.com/shop.html (need to fix this up again) Latest package available attached here. UPDATE 27 June 2006
|
|
|
« Last Edit: Nov 12, 2006, 01:16 PM by sottwell »
|
Logged
|
|
|
|
Dimmy
Testers

Posts: 1,898
Я не говорю по-русски 私は日本語を話さない
|
 |
« Reply #1 on: Nov 25, 2005, 02:04 AM » |
|
Nice Nice Nice
Will follow this project.
Nice Susan
The link you gave, gives a funny page (looks like a typo but wheard that it still works only css is missing)
|
|
|
|
« Last Edit: Nov 25, 2005, 02:08 AM by Dimmy »
|
Logged
|
|
|
|
sottwell
Documentation Team

Posts: 8,837
|
 |
« Reply #2 on: Nov 25, 2005, 02:14 AM » |
|
I'm just getting started...I want the basic structure set up, then I'll work on the "fine points"!
|
|
|
|
|
Logged
|
|
|
|
davidm
MODx evangelist
Marketing & Design Team

Posts: 7,026
Software is like sex, it's better when it's free !
|
 |
« Reply #3 on: Nov 25, 2005, 02:16 AM » |
|
The link you gave, gives a funny page (looks like a typo but wheard that it still works only css is missing) Here is the correct link : http://www.sottwell.com/shop.html  @Susan : I had followed the discussion about building shop with no external module... This is an interesting project where do you find time for all this  ! I'll wacth this and comment, you can count on me 
|
|
|
|
« Last Edit: Nov 25, 2005, 02:21 AM by davidm »
|
Logged
|
|
|
|
sottwell
Documentation Team

Posts: 8,837
|
 |
« Reply #4 on: Nov 25, 2005, 06:50 AM » |
|
Log in as "shopadmin" password "shopadmin" and add stuff. Still working on the layout of the output...that NewsPublisher is really nice.
|
|
|
|
|
Logged
|
|
|
|
zi
MODx Special Forces /
Administrator

Posts: 3,329
May Peace Be On You
|
 |
« Reply #5 on: Nov 25, 2005, 06:59 AM » |
|
Looking nice ! I added MODx inside ... lolz, add [*longtitle*] support in content page and you will laugh  regards, zi
|
|
|
|
|
Logged
|
|
|
|
sottwell
Documentation Team

Posts: 8,837
|
 |
« Reply #6 on: Nov 25, 2005, 07:16 AM » |
|
Check it out...using the "headertpl" option to display longtitle and price. Will have "toss into cart" and a text box to enter quantity in the "footertpl".
|
|
|
|
|
Logged
|
|
|
|
sottwell
Documentation Team

Posts: 8,837
|
 |
« Reply #7 on: Nov 25, 2005, 08:00 AM » |
|
Ok, basic single-category simple catalog is done for now; might do a bit more on formatting the output. I didn't use the RTE feature because it doesn't allow for image insertion. The minute a front-end implementation of the RTE does that, I'll put it in. The front-end creation is just a convenience; if somebody really wants to they can add items from the back end, of course, and have the RTE and the Resource Manager. Next step, shopping cart. Ideas? Should this be cookie or session based? I'm thinking cookie, because sessions time out. This version will not have persistance. That will come when the three main functions (catalog, shopping cart, checkout) are finished and working. Then I'll start refining each function until everybody's happy
|
|
|
|
« Last Edit: Nov 25, 2005, 08:02 AM by sottwell »
|
Logged
|
|
|
|
sottwell
Documentation Team

Posts: 8,837
|
 |
« Reply #8 on: Nov 25, 2005, 08:14 AM » |
|
Well, QuickEdit works great on it; so you can insert images from there. I went ahead and enabled the RTE for the NewsPublisher snippet. Very powerful tool there.
I used the "Description" field for the price, since it's hardly ever used for anything anyway.
|
|
|
|
« Last Edit: Nov 25, 2005, 08:20 AM by sottwell »
|
Logged
|
|
|
|
rthrash
Foundation

Posts: 10,471
|
 |
« Reply #9 on: Nov 25, 2005, 08:32 AM » |
|
I think there is merit in adding a couple extra fields to TVs/Content Pages for use with things like this. Susan if you're looking for ideas on how to cram more info into the existing fields, take a peek at FileCabinet which puts data into a pipe-delimited array which is parsed back out as needed.
|
|
|
|
|
Logged
|
MODx is a framework that allows web professionals to turn over sites to end-users for daily maintenance without worrying. Community participation and questions are encouraged, especially when you help us help you, read the wiki, and review snippet parameters – even if you have to look at the source. Searching the forums helps, too.
Ryan Thrash
MODx Co-Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
|
|
|
sottwell
Documentation Team

Posts: 8,837
|
 |
« Reply #10 on: Nov 25, 2005, 08:45 AM » |
|
Well, version 2 of this beast will have to move into a pair of dedicated database tables for the products, simply because a product can belong to more than one category, so I'll need a products table and a product-category table. It will also contain features for product variations, such as size and color, and quantity, so I can work up an inventory control module tied to the checkout/shipping module. And an order status tracking module. I don't think Amazon has patented that, have they?
But the basic MODx document tree will still be used for the category structure.
I'll be modding NewsPublisher for it, saving to the new tables and adding a feature that allows the user to see a list of available categories and select the ones he wants, as well as diplaying the product variations and their quantities in stock.
|
|
|
|
|
Logged
|
|
|
|
rthrash
Foundation

Posts: 10,471
|
 |
« Reply #11 on: Nov 25, 2005, 08:49 AM » |
|
Susan, I've got PayPal stuff created that uses IPN to determine success or failure of the transaction when you get ready for that. Involves modifying a few things, but perhaps we could turn that into a parameter of a plugin.
Want/need it?
|
|
|
|
|
Logged
|
MODx is a framework that allows web professionals to turn over sites to end-users for daily maintenance without worrying. Community participation and questions are encouraged, especially when you help us help you, read the wiki, and review snippet parameters – even if you have to look at the source. Searching the forums helps, too.
Ryan Thrash
MODx Co-Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
|
|
|
sottwell
Documentation Team

Posts: 8,837
|
 |
« Reply #12 on: Nov 25, 2005, 09:02 AM » |
|
Sure! I've done that a couple of times, and have plenty of scripts to study, but one more never hurts.
|
|
|
|
|
Logged
|
|
|
|
rthrash
Foundation

Posts: 10,471
|
 |
« Reply #13 on: Nov 25, 2005, 09:08 AM » |
|
I'll get the documentation together for you then. It includes returning to different pages based on success/failure, notification email messages to customers and "internal staff" and so on.
|
|
|
|
|
Logged
|
MODx is a framework that allows web professionals to turn over sites to end-users for daily maintenance without worrying. Community participation and questions are encouraged, especially when you help us help you, read the wiki, and review snippet parameters – even if you have to look at the source. Searching the forums helps, too.
Ryan Thrash
MODx Co-Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
|
|
|
Carsten
Coding Team

Posts: 572
|
 |
« Reply #14 on: Nov 25, 2005, 12:35 PM » |
|
where do you get this: NewsPublisher
been trying to find it .... errr I better maybe install 9.0.0??? finally ?
|
|
|
|
|
Logged
|
Tangent-Warrior 
|
|
|
|