Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

jpcarre

Archived
  • Posts

    7
  • Joined

  • Last visited

About jpcarre

  • Birthday 11/16/1943

Profile Information

jpcarre's Achievements

  1. I am using Os commerce for developping an e-shop selling candies and chocolate; I would like the price of a product being linked to its weight ie for all products, the customer enter the weight he wants to order and the price is updated with this weight. Can anyone help ?
  2. I just reinstalled it, now it is working OK for the vouchers as well for the coupons, but once the coupon code is entered, the total does'nt take it in consideration; Which module (s) are supposed withdraw the coupon ? Your indication could help not to reinstall everything once more. Thanks
  3. HI, I installed the new version of CCGV (trad) It works OK for the vouchers including redeem codes but it does'nt work coorectly with the coupons. When sending a coupon, the customer get an email with the code but when entering the payment page in the shop, there is no field for entering the code neither the 'validation' button. Which module is supposed to display these ? Maybe I did something wrong, even if I installed and desinstalled twice. Thanks for your help
  4. OK for the first it's now solved. The second still there, I've changed the basepath as suggested, no change I relocated FCKeditor folder out of admin folder, no change. I am getting an error message out of html_output .... seems this modules has something amazing. The genuine module looks not correct, so when adding the auto emailer lines at the end, the code looks abnormal... end of Genuine code : //// // Output a form pull down menu function tep_draw_pull_down_menu($name, $values, $default = '', $parameters = '', $required = false) { $field = '<select name="' . tep_output_string($name) . '"'; if (tep_not_null($parameters)) $field .= ' ' . $parameters; $field .= '>'; if (empty($default) && isset($GLOBALS[$name])) $default = stripslashes($GLOBALS[$name]); for ($i=0, $n=sizeof($values); $i<$n; $i++) { $field .= '<option value="' . tep_output_string($values[$i]['id']) . '"'; if ($default == $values[$i]['id']) { $field .= ' SELECTED'; } $field .= '>' . tep_output_string($values[$i]['text'], array('"' => '"', '\'' => ''', '<' => '<', '>' => '>')) . '</option>'; } $field .= '</select>'; if ($required == true) $field .= TEXT_FIELD_REQUIRED; return $field; } ?> When adding the auto emailer lines //// // Output a form pull down menu function tep_draw_pull_down_menu($name, $values, $default = '', $parameters = '', $required = false) { $field = '<select name="' . tep_output_string($name) . '"'; if (tep_not_null($parameters)) $field .= ' ' . $parameters; $field .= '>'; if (empty($default) && isset($GLOBALS[$name])) $default = stripslashes($GLOBALS[$name]); for ($i=0, $n=sizeof($values); $i<$n; $i++) { $field .= '<option value="' . tep_output_string($values[$i]['id']) . '"'; if ($default == $values[$i]['id']) { $field .= ' SELECTED'; } $field .= '>' . tep_output_string($values[$i]['text'], array('"' => '"', '\'' => ''', '<' => '<', '>' => '>')) . '</option>'; } $field .= '</select>'; if ($required == true) $field .= TEXT_FIELD_REQUIRED; return $field; } //// // Output a form textarea field w/ fckeditor function tep_draw_fckeditor($name, $width, $height, $text) { $oFCKeditor = new FCKeditor($name); $oFCKeditor -> Width = $width; $oFCKeditor -> Height = $height; $oFCKeditor -> BasePath = 'FCKeditor/'; $oFCKeditor -> Value = $text; $field = $oFCKeditor->Create($name); return $field; } ?> I get the following error when opening the admin page: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /hsphere/local/home/azteledo/laboiteasucres.com/admin/includes/functions/html_output.php on line 289 Can you help , thanks
  5. Hi, I am really a PhP beginner so apologize if my question is stupid. I did install the module Auto Emailer 1.4 on my website server (Linux),FCK editor as well From admin auto emailer control panel, when trying to modify settings, or customers, or orders from the control panel, i get this message : Warning: fopen(auto_emailer/auto_emailer.php): failed to open stream: Permission denied in /hsphere/local/home/azteledo/laboiteasucres.com/admin/includes/functions/auto_emailer.php on line 147 Warning: fwrite(): supplied argument is not a valid stream resource in /hsphere/local/home/azteledo/laboiteasucres.com/admin/includes/functions/auto_emailer.php on line 157 Cannot write to file (auto_emailer/auto_emailer.php) When using announce, I get this other message : Message: Fatal error: Call to undefined function: tep_draw_fckeditor() in /hsphere/local/home/azteledo/laboiteasucres.com/admin/auto_emailer_announce.php on line 178 Tried with files properties at 777, no change Is it something to set within FCK editor ? Could you help ? Thanks very much
  6. Hi, your contribution looks great, but before installing I have one question : how to make already registred customers agreeing ? shall we ask yo reopen another account ?
×
×
  • Create New...