

Jonojamesmac
Members-
Content count
145 -
Joined
-
Last visited
-
Days Won
1
Jonojamesmac last won the day on February 26 2010
Jonojamesmac had the most liked content!
Profile Information
-
Real Name
Jono
-
-
[Development] Products Specifications
Jonojamesmac replied to kymation's topic in Add-Ons Development
Is it possible to add an option to use an image instead of text for a specification. For example, the color blue would have a color swatch, red would have red swatch and so on? -
Automatically send data feed to Froogle
Jonojamesmac replied to gottaloveit's topic in General Support
Hi i use several different VAT rates throughout my site, however i cannot find an option on how this can be displayed through this feeder. Any ideas? -
[Development] Products Specifications
Jonojamesmac replied to kymation's topic in Add-Ons Development
Looking at the list you linked, all of the have FIXED by them bar the one at the top? Are they all fixed or is that just there to confuse us? :P -
Seperate pricing per customer allows you to do this :) http://addons.oscommerce.com/info/716
-
You just need a space between php and echo like this <?phpecho tep_draw_separator('pixel_trans.gif', '24', '15') . ' '?> to this <?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' '; ?>
-
[Development] Products Specifications
Jonojamesmac replied to kymation's topic in Add-Ons Development
Please tell me if i'm not helping, i'm wanting to use this contribution and obviously i want to help towards making this perfect. I've tested this out on a varchar field in database containing the values below. $var = 'fgrgwwf' returns 3 (string) $var = '443810371015' returns 1 (float) $var = '8024' returns 2 (int) function convert_type( $var ) { if( is_numeric( $var ) ) { if( (float)$var != (int)$var ) { // Float return '1'; } else { // Is Int return '2'; } } if (($var != '1') && ($var != '2')) { // Is String return '3'; } } -
[Development] Products Specifications
Jonojamesmac replied to kymation's topic in Add-Ons Development
Probably not helping here but wouldn't gettype allow you to find what type of variable you are using then compare it depending on its result? -
[Development] Products Specifications
Jonojamesmac replied to kymation's topic in Add-Ons Development
Have you tried the is_int php function Kymation? I've read up it should do what your looking for? Right? -
What database is used to allow login to your oscommerce admin? This table it what is used during the login stage.
-
Extra Fields - how to search extra fields
Jonojamesmac replied to webman2015's topic in General Add-Ons Support
There is a contribution currently in development and release as an alpha version which is similar to what you're looking for. Info can be found at the link below: http://www.oscommerce.com/forums/index.php?showtopic=336920 -
[Contribution] Complete Review System
Jonojamesmac replied to jwilkins's topic in General Add-Ons Support
You may have missed this step. open admin/includes/functions/html_output.php add before the final ?> //// // Creates a pull-down list for dates function tep_pull_down_date($name='date', $day='', $month='', $year='', $full=false, $mnth=false, $starty=''){ if ($day=='') {$day=date('d');} if ($month=='') {$month=date('m');} if ($year=='') {$year=date('Y');} $endy=date('Y')-8; if ($starty=='') {$starty=date('Y')-1;$endy=date('Y')+2;} $named = $name . 'd'; $namem = $name . 'm'; // Array for days $days=array(); $days[] = array('id' => '00', 'text' => 'not'); for($i=1; $i<=31; $i++){ if(strlen($i)!= 2){ $j = '0' . $i; } else { $j = $i; } $days[] = array('id' => $j, 'text' => $j); } if ($mnth) { $months = array( array('id' => '00', 'text' => 'month'), array('id' => '01', 'text' => TEXT_DATE_JAN), array('id' => '02', 'text' => TEXT_DATE_FEB), array('id' => '03', 'text' => TEXT_DATE_MAR), array('id' => '04', 'text' => TEXT_DATE_APR), array('id' => '05', 'text' => TEXT_DATE_MAY), array('id' => '06', 'text' => TEXT_DATE_JUN), array('id' => '07', 'text' => TEXT_DATE_JUL), array('id' => '08', 'text' => TEXT_DATE_AUG), array('id' => '09', 'text' => TEXT_DATE_SEP), array('id' => '10', 'text' => TEXT_DATE_OCT), array('id' => '11', 'text' => TEXT_DATE_NOV), array('id' => '12', 'text' => TEXT_DATE_DEC)); } else { $months[] = array('id' => '00', 'text' => 'set'); for($i=1; $i<=12; $i++){ if(strlen($i)!= 2){ $j = '0' . $i; } else { $j = $i; } $months[] = array('id' => $j, 'text' => $j); }} for($i=$starty; $i<=$endy; $i++){ $j = $i; if ($full) { $y = $i - 2000; if(strlen($y)!= 2){ $j = '0' . $y; } else { $j = $y; } } $years[] = array('id' => $i, 'text' => $j); } $field=''; // mm dd yy contries = 38 canada,139 Micronesia,163 Palau,168 Philippines,223 & 224 United States if(STORE_COUNTRY == 223 || STORE_COUNTRY == 224 || STORE_COUNTRY == 38 || STORE_COUNTRY == 139 || STORE_COUNTRY == 163 || STORE_COUNTRY == 168) { $field .= tep_draw_pull_down_menu($named, $months, $month); $field .= tep_draw_pull_down_menu($namem, $days, $day); } else { $field .= tep_draw_pull_down_menu($named, $days, $day); $field .= tep_draw_pull_down_menu($namem, $months, $month); } $field .= tep_draw_pull_down_menu($name, $years, $year); return $field; } -
product selling by type in oscommerce?
Jonojamesmac replied to RishikeshJha's topic in General Add-Ons Support
look for an addon called downloads as product attributes. easy, create you product add your download as an attribute and your cd :) -
Looking forward to the complete finished work of this, perhaps you could write an installation guide for it at some point. much appreciated, Jono
-
Silly silly question re: Google Auto Feeder 1.2
Jonojamesmac replied to DDame's topic in General Add-Ons Support
Browse to http://www.yoursite.com/feed.txt what do you see? If you see a lines of text, it works. Just point google base to that link and google will pick it up. -
Silly silly question re: Google Auto Feeder 1.2
Jonojamesmac replied to DDame's topic in General Add-Ons Support
Try just RewriteBase / RewriteRule feeds.txt googlebase.php