Cube Cart Part II: Sorry, I made some modification, Cube Cart

Finally, I found the file…I’ve made some words addition.

The good thing about Cube Cart is it’s very organized and the files are well-named. Some programmers don’t care about this…I know it because once long time ago, I learned programming and some students really don’t care about neatness. When it’s reviewed by someone else (teacher, team), they got (@_@)”…

My teacher taught me about neatness. That’s it OOP. Also, based on the OOP, I’m also get used to with naming the file with an appropriate name. That’s why my programming paper (for last task in 1st quarter)  is quite easy to follow. I quit my course after then. I moved to another town and to find learning source is so hard there and the telephone network hasn’t entered the household area at that time…hahaha…I don’t want to waste my time so I moved on to sewing…yay!!!!…that’s a good thing of having more than 1 hobbies. You can choose and when you can’t, you still have some options to do whatever you can…and want…hehe… (^.^)

I don’t know much the PHP. It’s supposed to be not too different from Java but still, that $ thing is bugging me and there are some “writing” that I’m still blah! I cheat all the time and look the easier way to modify or edit the Cube so it can meet my need. I don’t have much time to learn PHP thoroughly. I’d rather crafting (~_~)’.

So far, so good…I’ve also made second notification by adding some mail codes to a file. It completes the first notification. I still don’t get it. How can’t I retreive that variable?!…So, it was funny that:

1. the first notification ===> has no Cart ID
2. the second notification ===> has Cart ID but no Total Purchase
(~_~)’

Well,it doesn’t matter about the Total Purchase anyway. The most important is the Cart ID. It’s very specific to trace an order. It’s very important…Besides, the notification is for my self, not for buyer…so double notifs like that only ruin me (^o^)

I’m thinking to make an auto-notification email after customer make an order but haven’t made payment. Must look into my cheat books so there will be no double notification…hahaha…

A lot of programmers must be hating me now (^.^)

Sorry, guys…my dream is to be a crafter and have business with it, not to be a web developer (^o^). I can’t afford to pay a web developer, so I must do it myself in an easy and quicker way. Besides, hey, I’m a housewife, I must take care of the house, cooking, and accompany my husband…He can’t sleep everytime I leave him with the computer. Sounds like a big baby, doesn’t he? (^.^).

Programming is signing off now…I’ll continue later…My skin and eyes don’t feel great…ugh…(-.-)’…

PS: I feel I want to end my write with “;” like when doing with php, instead of ending with “.” . (^O^)

******************************************************

basically I add this in payment gateway (transfer file):
mail ($to,$subject,$message,$header);

my $message contains some other variables like full name, customer ID, email…I don’t have to make those variables. It’s already made in the file. I just use it.

Oh, just figure out how to make auto reply…haha…

I just make another code…in this case, the $to variable will be $customeremail variable. This variable is avaialable, too in the file…Also, I must change the message in $message…well, message to seller can’t be the same as message to buyer, can it?


Posted: Friday, April 3rd, 2009 @ 1:37 am
Categories: Web.
Subscribe to the comments feed if you like. Both comments and pings are currently closed.

Comments are closed.