TomatoCart

126540 Downloads
514 users online
TomatoCart Community
Welcome, Guest
Please Login or Register.    Lost Password?

Add extra functionality to a user
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Add extra functionality to a user
***
#20618
Add extra functionality to a user 9 Months, 3 Weeks ago Karma: 0
Hello,

I have a few questions regarding my shop.

- Is it possible to add extra data to a registered customer? (like home page, twitter account, ...). What's the best approach to develop this (without getting conflicts with future tomatocart updates) ?
- Is it possible to add an trigger of code to be executed after a customer created an account ?

I'm experienced in PHP and Mysql, so this thread can be technical

I'm maybe able to create some extensions for this functionality ? It's not clear to me how you can create modules for this functionality without touching the core files (I don't want to touch them because I wan't get stuck with future updates)

Greets,
Ward




Cheap Pandora Beads
Thomas Sabo Charms
Replica Handbags
qaz123456
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#20681
Re:Add extra functionality to a user 9 Months, 3 Weeks ago Karma: 47
If you want to integrate any functionality for the customer you have to "touch" the core code. However you may construct some add-on or module that works independently with it*s own database tables and uses only customers_id from toc tables.

Now on some position where customers data are displayed, you only need to include some link to this add-on or module, like: "More about customer" or whatever.

You may set this add-on or module to display in the middle content section as content module or you may create new TC page and let it display on this page.

When you upgrade TC, you should only recreate your link in the file it is created in, if the file is modified (replaced).
Antun
Post your PM to my email r3xams@gmail.com
Platinum Boarder
Posts: 881
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Croatia, Europe
The administrator has disabled public write access.
 
Go to top Page: 1

Latest Blog Post

TomatoCart v1.1.7 to v1.1.8 Upgrade Guide!

The upgrade guide is a step-by-step tutorial to help users to upgrade TomatoCart v1.1.7 to v1.1.8. If you have not yet updated to v1.1.7, please review its upgrade guide before applying these changes. [...]

By TomatoCart | august 21, 2012

contact_us

info@tomatocart.com
partner@tomatocart.com
Facebook Google+ Linkedin Twitter

Newsletter Subscription