Totally Zenned
- Join Date:
- Sep 2007
- Posts:
- 1,281
- Plugin Contributions:
- 4
Totally Zenned
Inactive
Administrator
Totally Zenned
swguy:
Suggestion: you may want to make the points "unconfirmed" it payment is made by COD, check, etc. and wait until order status changes from Pending to "confirm" the points.
swguy:
From a redemption perspective, suggest simply allowing redemption for gift certificates.
Good luck,
Scott
Administrator
Totally Zenned
Administrator
New Zenner
New Zenner
Totally Zenned
Totally Zenned
swguy:
The way I would effect a sunrise program is using the log; the log (rather than the reward_customer_points table) would be the medium for determining the current customer balance. The default would be simply to get all log records for that customer older than (say) 30 days. I wouldn't write a log record until the order had moved to (say) processing state, which could obviously be delayed for some payment methods; alternately, the log could store a state for each row, which would be something other than "available" for points accumulated by a transaction which hasn't settled.
Totally Zenned
Einstin:
I can see the pro's and cons of the points maturity issue. One more thing to consider with the redemption is the fact that most retailers that use the rewards or point system only send the consumer the redemption once a quarter. This would deter some of the fraud activity with cod orders and such. My thought would be to let the point acrue for at least 30 days and then be released at least 2 weeks after that periods cut off date.
Totally Zenned
Totally Zenned
Totally Zenned
Totally Zenned
hem:
Yellow- just a bit of an update on this:
With the feedback I've had here I've already started coding an audit trail. Points will now not automatically be added to a customers Reward Points pool. They will be added to a "Points Pending" until either the status of the order changes or a "sunrise period" passes- Both to be admin settable. Should have it finished by the end of the week.
Totally Zenned
CREATE TABLE `reward_product_points` (
`rewards_products_id` INT( 11 ) NOT NULL AUTO_INCREMENT ,
`scope` INT( 1 ) NOT NULL DEFAULT '0',
`scope_id` INT( 11 ) NOT NULL DEFAULT '0',
`point_ratio` DOUBLE( 15, 4 ) NOT NULL DEFAULT '1',
`bonus_points` DOUBLE( 15, 4 ) NULL,
PRIMARY KEY ( `rewards_products_id` ) ,
UNIQUE `unique_id` ( `scope` , `scope_id` ));Totally Zenned
# use this table name since we want to use the code from store credit module
CREATE TABLE sc_customer (
`customer_id` int(11) NOT NULL,
`amount` float NOT NULL default '0',
`created_on` int(11) NOT NULL DEFAULT '0',
`modified_on` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY ( `customers_id` )
);
# holding category specific ratio
CREATE TABLE sc_categories_ratio (
`categories_id` int(11) NOT NULL,
`ratio` float NOT NULL DEFAULT '1',
PRIMARY KEY ( `categories_id` )
);
# holding products specific ratio
CREATE TABLE sc_categories_ratio (
`products_id` int(11) NOT NULL,
`ratio` float NOT NULL DEFAULT '1',
PRIMARY KEY ( `products_id` )
);
# log table
CREATE TABLE sc_logs (
`products_id` int(11) NOT NULL,
`orders_id` int(11) NOT NULL,
`ratio` float NOT NULL,
`amount` float NOT NULL,
`status` tinyint(1) NOT NULL DEFAULT '0' ,
`created_on` int(11) NOT NULL DEFAULT '0',
`modified_on` int(11) NOT NULL DEFAULT '0',
)Totally Zenned
Totally Zenned
Destination thread ID and reason are required when shown.
Tell staff why this post should be reviewed.
Required for login, security, and core site functionality.
Help us understand how the site is used so we can improve it.
Used for promotion and personalized campaign measurement.