-
Posts
2,621 -
Joined
-
Last visited
-
Days Won
40
Everything posted by Hotclutch
-
### POINTS AND REWARDS MODULE V1.00 ###
Hotclutch replied to deep-silver's topic in General Add-Ons Support
Hi Deep Any idea where I may be going wrong here? I get these funny totals redeeming points 1 x GIGABYTE GA-X48-DQ6 R4,049.00 Sub-Total: R4,049.00 delivery : R60.00 Points Redeemed: -R40.49 Total: R4.00 Checkout normal without points 1 x GIGABYTE GA-X48-DQ6 R4,049.00 Sub-Total: R4,049.00 delivery: R60.00 Total: R4,109.00 -
Hi Thanks for your reply... I actually meant Where do you change the date format in OsCommerce because we also use the date format ddMMYYYY here in South Africa. Nothing wrong with your code. But I found where to do that. In catalog\includes\languages\english.php just edit to this define('DATE_FORMAT_SHORT', '%d/%m/%Y'); // this is used for strftime() define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime() define('DATE_FORMAT', 'd/m/Y'); // this is used for date() define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S'); //// // Return date in raw format // $date should be in format mm/dd/yyyy // raw date is in format YYYYMMDD, or DDMMYYYY function tep_date_raw($date, $reverse = false) { if ($reverse) { return substr($date, 0, 2) . substr($date, 3, 2) . substr($date, 6, 4); } else { return substr($date, 6, 4) . substr($date, 3, 2) . substr($date, 0, 2); } }
-
### POINTS AND REWARDS MODULE V1.00 ###
Hotclutch replied to deep-silver's topic in General Add-Ons Support
OK, I did a clean install and solved my problem. -
Hi Nice contrib...will make things easier for the user, thanks. Where do I change the date format so that I have ddMMYYYY. OsCommerce uses MMddYYYY by default.
-
### POINTS AND REWARDS MODULE V1.00 ###
Hotclutch replied to deep-silver's topic in General Add-Ons Support
My welcome points are not being credited to Points status when the user creates an account. Everything else seems fine. BTW: The file catalog\create_account_success.php in the modified files archive appears to be the definition file not the public one. -
### POINTS AND REWARDS MODULE V1.00 ###
Hotclutch replied to deep-silver's topic in General Add-Ons Support
Thanks Deep...Looking forward to trying it out later. -
### POINTS AND REWARDS MODULE V1.00 ###
Hotclutch replied to deep-silver's topic in General Add-Ons Support
I think it might be due to register_globals being set to off on your server. I have the same issue. -
### POINTS AND REWARDS MODULE V1.00 ###
Hotclutch replied to deep-silver's topic in General Add-Ons Support
Unless you mean the points are not being deducted at all. -
### POINTS AND REWARDS MODULE V1.00 ###
Hotclutch replied to deep-silver's topic in General Add-Ons Support
Hi What setting do have in the configuration for AWARD POINTS FOR ORDER WITH REDEEMED POINTS....True or False? If true set to false and see what happens. -
### POINTS AND REWARDS MODULE V1.00 ###
Hotclutch replied to deep-silver's topic in General Add-Ons Support
This was strange to me...I did not experience it. -
Hi Sam I can't seem to find the control for the size and colour of product price font in product list view. Here is a copy of my stylesheet with the product listing enhancement added at the bottom. Is it maybe in the .php file? /* $Id: stylesheet.css 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com 0066cc Copyright © 2003 osCommerce Released under the GNU General Public License */ .boxText { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; } .errorBox { font-family : Tahoma, Verdana, Arial, sans-serif; font-size : 10px; background: #ffb3b5; font-weight: bold; } .stockWarning { font-family : Tahoma, Verdana, Arial, sans-serif; font-size : 10px; color: #cc0033; } .productsNotifications { background: #f2fff7; } .orderEdit { font-family : Tahoma, Verdana, Arial, sans-serif; font-size : 10px; color: #990033; text-decoration: underline; } BODY { background: #ffffff; color: #000000; margin: 0px; } A { color: #000000; text-decoration: none; } A:hover { color: #AABBDD; text-decoration: underline; } FORM { display: inline; } TR.header { background: #ffffff; } TR.headerNavigation { background: #ffffff; } TD.headerNavigation { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 11px; background: #4e4e4e; color: #ffffff; font-weight : bold; } A.headerNavigation { color: #ffffff; } A.headerNavigation:hover { color: #cccccc; } TR.headerError { background: #ff0000; } TD.headerError { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; background: #ff0000; color: #ffffff; font-weight : bold; text-align : center; } TR.headerInfo { background: #00ff00; } TD.headerInfo { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; background: #00ff00; color: #ffffff; font-weight: bold; text-align: center; } TR.footer { background: #ffffff; } TD.footer { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; background: #4e4e4e; color: #ffffff; font-weight: bold; } .infoBox { background: #b6b7cb; } .infoBoxContents { background: #ffffff; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; } .infoBoxNotice { background: #FF8E90; } .infoBoxNoticeContents { background: #FFE6E6; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; } TD.infoBoxHeading { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; font-weight: bold; background: #0066cc; color: #ffffff; } TD.infoBox, SPAN.infoBox { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; } TR.accountHistory-odd, TR.addressBook-odd, TR.alsoPurchased-odd, TR.payment-odd, TR.productListing-odd, TR.productReviews-odd, TR.upcomingProducts-odd, TR.shippingOptions-odd { background: #f8f8f9; } TR.accountHistory-even, TR.addressBook-even, TR.alsoPurchased-even, TR.payment-even, TR.productListing-even, TR.productReviews-even, TR.upcomingProducts-even, TR.shippingOptions-even { background: #f8f8f9; } TABLE.productListing { border: 1px; border-style: solid; border-color: #b6b7cb; border-spacing: 1px; } .productListing-heading { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; background: #990033; color: #FFFFFF; font-weight: bold; } TD.productListing-data { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; } A.pageResults { color: #0000FF; } A.pageResults:hover { color: #0000FF; background: #FFFF33; } TD.pageHeading, DIV.pageHeading { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 20px; font-weight: bold; color: #990033; } TR.subBar { background: #f4f7fd; } TD.subBar { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; color: #000000; } TD.main, P.main { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; } TD.smallText, SPAN.smallText, P.smallText { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; } TD.accountCategory { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 13px; color: #aabbdd; } TD.fieldKey { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; font-weight: bold; } TD.fieldValue { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; } TD.tableHeading { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; font-weight: bold; } SPAN.newItemInCart { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; color: #ff0000; } CHECKBOX, INPUT, RADIO, SELECT { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 11px; } TEXTAREA { width: 100%; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 11px; } SPAN.greetUser { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; color: #990033; font-weight: bold; } TABLE.formArea { background: #f1f9fe; border-color: #7b9ebd; border-style: solid; border-width: 1px; } TD.formAreaTitle { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; font-weight: bold; } SPAN.markProductOutOfStock { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; color: #c76170; font-weight: bold; } SPAN.productSpecialPrice { font-family: Tahoma, Verdana, Arial, sans-serif; color: #ff0000; } SPAN.errorText { font-family: Tahoma, Verdana, Arial, sans-serif; color: #ff0000; } .moduleRow { } .moduleRowOver { background-color: #D7E9F7; cursor: pointer; cursor: hand; } .moduleRowSelected { background-color: #E9F4FC; } .checkoutBarFrom, .checkoutBarTo { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; color: #8c8c8c; } .checkoutBarCurrent { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; color: #000000; } /* message box */ .messageBox { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; } .messageStackError, .messageStackWarning { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; background-color: #ffb3b5; } .messageStackSuccess { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; background-color: #99ff00; } /* input requirement */ .inputRequirement { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; color: #ff0000; } /*Credits: Dynamic Drive CSS Library */ .suckerdiv ul{ margin: 0; padding: 0; list-style-type: none; width: 176px; /* Width of Menu Items */ border-bottom: 1px solid #ededed; font-family: arial; font-size: 12px; } .suckerdiv ul li{ position: relative; background-color: #fefefe; } /*1st level sub menu style */ .suckerdiv ul li ul{ left: 175px; /* Parent menu width - 1*/ position: absolute; width: 176px; /*sub menu width*/ top: 0; display: none; } /*All subsequent sub menu levels offset */ .suckerdiv ul li ul li ul{ left: 175px; /* Parent menu width - 1*/ } /*All subsequent sub menu levels offset */ .suckerdiv ul li ul li a{ left: 175px; /* Parent menu width - 1*/ background-color: #fefefe; } /*All subsequent sub menu levels offset */ .suckerdiv ul li ul li ul li a{ background-color: #fefefe; } /*All subsequent sub menu levels offset */ .suckerdiv ul li ul li ul li ul li a{ background-color: #fefefe; } /* menu links style */ .suckerdiv ul li a{ display: block; color: #666666; text-decoration: none; background-color: #fefefe; padding: 1px 5px; border: 1px solid #ededed; border-bottom: 0; line-height: 1.75em; } .suckerdiv ul li a:hover{ background-color: #e4e4e4; color: #000000; text-decoration: none; } .suckerdiv ul li ul li a:hover{ background-color: #e4e4e4; color: #000000; text-decoration: none; } .suckerdiv ul li ul li ul li a:hover{ background-color: #e4e4e4; color: #000000; text-decoration: none; } /* The main categories with sub-categories */ .suckerdiv .subfolderstyle{ background: url(images/arrow-list.gif) no-repeat center right; } /* This one colors the sub-folder with other sub-folders */ .suckerdiv ul li ul .subfolderstyle { background-color: #fefefe; } /* This one colors the sub-folder with other sub-folders */ .suckerdiv ul li ul li ul .subfolderstyle { background-color: #fefefe; } /* This one colors the sub-folder with other sub-folders */ .suckerdiv ul li ul li ul li ul .subfolderstyle { background-color: #fefefe; } /* Holly Hack for IE \*/ * html .suckerdiv ul li { float: left; height: 1%; } * html .suckerdiv ul li a { height: 1%; } /* PRODUCT LISTING ENHANCEMENTS */ .infoBoxProducts { text-align: center; border: solid 1px #999999; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; font-weight: bold; background-color: transparent; background-image: url(images/infobox_product_back.gif); color: #990033; margin-bottom:-8px; } .infoBoxProducts a { color: #333333; } TD.infoBoxGrid { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; border: solid 1px #999999; } /* set pos buy/details button on list */ img.buy_now { margin-bottom:10px; } /* set pos buy/details button on thumbnail */ img.thm_buy_now { margin-bottom:-3px; } /* set style buy/details seperator thumbnail */ .buy_now { font-weight: bold; font-size: 18px; color: #990033; } .infoBoxList { border: ridge 2px #faf0e6; border-collapse: collapse; background-color: #fff; } .thumbcontent { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; color:#666666; text-align:center; } TD.noborderbox { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 10px; }
-
### POINTS AND REWARDS MODULE V1.00 ###
Hotclutch replied to deep-silver's topic in General Add-Ons Support
:huh: What part of the instructions are you referring to ? -
### POINTS AND REWARDS MODULE V1.00 ###
Hotclutch replied to deep-silver's topic in General Add-Ons Support
I am also very pleased to hear this. Thanks -
There was no instruction file in the download package. You can do a file compare on the existing modified files in catalog folder. Upload the new files. Add the call for featured_products to index.php as per instruction in the web page.
-
### POINTS AND REWARDS MODULE V1.00 ###
Hotclutch replied to deep-silver's topic in General Add-Ons Support
Hi Sorry blr044, I am a bit lost here. I would post in the support thread for the html email contrib because you now have to integrate the Points and Rewards Welcome points into your HTML format. -
### POINTS AND REWARDS MODULE V1.00 ###
Hotclutch replied to deep-silver's topic in General Add-Ons Support
Do the two Phocea fixes mentioned in the instructions and forum actually work? I apply them and system still asks for a payment method even though points cover the order total. If you checkout with enough points to pay for your order, and select COD you still get confirmation success. So this is not a big deal, just want to know if the fixes worked for anybody. -
### POINTS AND REWARDS MODULE V1.00 ###
Hotclutch replied to deep-silver's topic in General Add-Ons Support
Hi... Try Step 6 with this and see. Backup first! CATALOG STEP = 6. open catalog/create_account.php This will add Welcome Points (and send email) defined by admin if enabled. Find this.... (aprox. line no.245) $email_text .= EMAIL_WELCOME . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING; ... and REPLACE with..... // Points/Rewards system V2.00 BOF if (NEW_SIGNUP_POINT_AMOUNT > 0) { tep_add_welcome_points($customer_id); $points_account .= '<a href="' . tep_href_link(FILENAME_MY_POINTS, '', 'SSL') . '"><b><u>' . EMAIL_POINTS_ACCOUNT . '</u></b></a>.'; $points_faq .= '<a href="' . tep_href_link(FILENAME_MY_POINTS_HELP, '', 'NONSSL') . '"><b><u>' . EMAIL_POINTS_FAQ . '</u></b></a>.'; $text_points = sprintf(EMAIL_WELCOME_POINTS , $points_account, number_format(NEW_SIGNUP_POINT_AMOUNT,POINTS_DECIMAL_PLACES), $currencies->format(tep_calc_shopping_pvalue(NEW_SIGNUP_POINT_AMOUNT)),$points_faq) ."\n\n"; } // $email_text .= EMAIL_WELCOME . EMAIL_TEXT .EMAIL_CONTACT . EMAIL_WARNING; $Vartextmail .= EMAIL_WELCOME . EMAIL_TEXT . $text_points .EMAIL_CONTACT . EMAIL_WARNING; // Points/Rewards system V2.00 EOF -
### POINTS AND REWARDS MODULE V1.00 ###
Hotclutch replied to deep-silver's topic in General Add-Ons Support
Hi Sol Your instructions were certainly very useful. The instruction is lengthy, but very easy to follow and actually went without a hitch. Thanks for that. My site is not live as yet. I am testing with the COD option of default Oscommerce. I am in South Africa, we don't have PayPal here :D . I will be implementing a credit card gateway solution in the next few days. At the moment I have a problem with my email not being setup (waiting for a domain transfer) so I hope that's the cause of my problem. From reading the posts in the forum most people seem to have a problem with the redemption of points on checkout. Mine works perfectly, at least with COD. I just cannot convert pending points to qualified points at the moment. -
### POINTS AND REWARDS MODULE V1.00 ###
Hotclutch replied to deep-silver's topic in General Add-Ons Support
Hi All I installed V2.0d from the contribution list dated 18 July 2006 and used the instructions from ssnb dated 8 Sept 2008. Problem I have is that when a customer places a order his pending points don't show as pending in admin. I can add the points manually to the account, but then the pending points are still there on the client side. I am not sure which fixes I need to apply from the forum posts. Or maybe a setting I missed ? Anybody have this before ?