Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

From Fan 2 Fans

Pioneers
  • Posts

    35
  • Joined

  • Last visited

Profile Information

  • Real Name
    Jean-Michel

From Fan 2 Fans's Achievements

  1. It does not work for me. I have installed the last version available and followed all steps scrupulously. My cache folder is on 777 accordingly to the instructions. But, When I turn this contribution on, I have the following problems: _ images that I have placed as names of categories do not appear anymore. I simply see the name of the category _ product images are replaced by the name of the product _ nothing is created in te cache folder My first idea was that it should be a problem with my cache folder BUT, when I go to a product info page, the bigger image (original size) do not appear neither. Would you have an idea of what my problem could be? Thx a lot!
  2. It still does not work for me. When I use this contribution, big pictures of products does not appear anymore and thumbnails are not created. I thought that it was due to STS but the problem is the same if I turn off STS. Instead of having an image, I have the name of the product. Any idea?
  3. any idea? Thanks and best wishes for 2009
  4. I have a problem with this contribution. It does not create thumbnails and normal images (the one for which I want to create thumbnails) are not showned anymore. 1. I am using STS. 2. I have followed the instructions 3. I have set the permissions to 77 for catalog/phpThumb, catalog/phpThumb/cache and catalog/phpThumb/cache/source ( I do not need watermarks) 4. In catalog/phpthumb/phpthumbconfig.php: I have change line 139: $PHPTHUMB_CONFIG['output_format'] = 'gif'; instead of jpeg because all my pictures are in .gif) 5. taking into account previous posts about sts: a. I have integrated oscthumb.php in sts_inc b. as the post did not mention which oscthumb.php file to copy there (the one in catalog or the one in catalog/includes/classes), I have tried with both c. in my sts admin panel, I have indicated oscthumb.php in "files for content template" of product info Result: images do not appear and are replaced by the name of the products. So my question are: 1. Did I something wrong? 2. Did I forgot to do something? 3. Would it be a problem of host? Thank you in advance for your time!
  5. any idea from someone already using this contribution? I am really blocked :( Thx
  6. You should better use the follwing contribution: http://www.oscommerce.com/community/contri...ent+type+charge It works very well (I have it on my website) ;)
  7. In the instructions, I see 2 choices: I don't see my case: I have customers but many with wrong email address. So I would like to force all my clients to validate their email. Is it possible? If yes, how can I do it? I would give them one month to validate their account. I will then erase all accounts not validated. I have a lot of inactive users. I guess that they would not validate their account and I could then erase them easily. Thx for your help
  8. Thanks for your reply bkellum. So, if I understand well, it is not possible to update the design of the template without changing the current design of my store. In fact, I only would like to affect my sts template without any impact on the design that my customers see currently. Is it possible? For example, would it be possible to duplicate stylesheet.css, call it, for exemplae stylesheetSTS.css and link it to my sts template? By the way, I have an other problem: I can only see my sts template through the "debug" mode. If I try www.mywebsite.com/index.php?sts_template=full (I use the template "full"), I don't see the sts template but my current design. Is it normal? Thx
  9. I can't understand some things with the infobox code. I have worked a little bit on it. here is my current code: <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111"> <tr> <td width="11" bgcolor="#F3C600"> <img src="images/infobox_left.gif"</td> <td width="1428" bgcolor="F3C600"><strong>$headertext</strong></td> <td width="92" style="background-repeat: norepeat" bgcolor="#F3C600">$right_arrow</td> <td width="11" bgcolor="#F3C600" style="background-repeat: norepeat"> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F3C600" style="border-collapse: collapse" bordercolor="#111111"> <tr> <td bgcolor="#F3C600"> </td> <td bgcolor="#f8f8f9">$content</td> <td> </td> </tr> <tr> <td width="30"> </td> <td width="100%"> </td> <td width="31"> </td> </tr> </table> There are some problems: _ colour of the header: the colour is still the one defined in stylesheet.css Is it normal? In fact, I don't to change stylesheet.css because it would change my current design also; not only the design that I am testing; which is not the prupose of this contribution. _ when I change the colour in this line: <td bgcolor="#f8f8f9">$content</td> it only affects the box on my index page (new products for may) but there is no change in the other colums (category,...). Is it normal? I guess that the answer is in this topic but, it is hard to find it in 202 pages. So thank you for your time. :)
  10. Any idea for my problem? Without STS, no problem with boxes; with STS, I have this problem but I can't understand why. This is a very good contribution but I can't use it currently because of this stupid problem. I hope that you will be able to help me. Thx
  11. Hello, I have recently installed this contribution. I have already improved my template but I have a probelm with the box "new product". First of all, here is an image to illustrate it: As you can see, the corners are too small so the box has some problems. On the right of this image, you can see one of my infobox and there is no problem on it. More over, on my basic design (teh one withtout sts), I don't have any problem with corners and I did not touch to those images. Would you have any idea in order to help me? Thank you!
  12. I have additional information about my problem. My code about the total without vat has only been placed recently; which means that most current orders are still without this total VAT excluded. However, if I try to edit one of those orders, order editor add a line "total vat excluded". So it means that it is recognized by order editor. But the problem of calculation remains. Any idea?
  13. does this contribution allow to insert individual comments to orders? For example, If i want to turn the staus to "delivered", will I have the opportunity to provide the tracking number to each order?
  14. I will give you more info about my total vat excluded (before shipping). 1/ In includes/classes/order.php I have replaced if (DISPLAY_PRICE_WITH_TAX == 'true') { $this->info['total'] = $this->info['subtotal'] + $this->info['shipping_cost']; } else { $this->info['total'] = $this->info['subtotal'] + $this->info['tax'] + $this->info['shipping_cost']; } by if (DISPLAY_PRICE_WITH_TAX == 'true') { $this->info['total'] = $this->info['subtotal'] + $this->info['shipping_cost']; } else { $this->info['total'] = $this->info['subtotal'] + $this->info['tax'] + $this->info['shipping_cost']; } $this->info['totalHT'] = $this->info['subtotal'] - $this->info['tax']; Then I have created ot_total_ht.php in includes/modules/order_total/ <?php /* $Id: ot_total.php,v 1.7 2003/02/13 00:12:04 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ class ot_total_ht { var $title, $output; function ot_total_ht() { $this->code = 'ot_total_ht'; $this->title = MODULE_ORDER_TOTAL_HT_TOTAL_TITLE; $this->description = MODULE_ORDER_TOTAL_HT_TOTAL_DESCRIPTION; $this->enabled = ((MODULE_ORDER_TOTAL_HT_TOTAL_STATUS == 'true') ? true : false); $this->sort_order = MODULE_ORDER_TOTAL_HT_TOTAL_SORT_ORDER; $this->output = array(); } function process() { global $order, $currencies; $this->output[] = array('title' => $this->title . ':', 'text' => '<b>' . $currencies->format($order->info['totalHT'], true, $order->info['currency'], $order->info['currency_value']) . '</b>', 'value' => $order->info['totalHT']); } function check() { if (!isset($this->_check)) { $check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_ORDER_TOTAL_HT_TOTAL_STATUS'"); $this->_check = tep_db_num_rows($check_query); } return $this->_check; } function keys() { return array('MODULE_ORDER_TOTAL_HT_TOTAL_STATUS', 'MODULE_ORDER_TOTAL_HT_TOTAL_SORT_ORDER'); } function install() { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Affichage du total', 'MODULE_ORDER_TOTAL_HT_TOTAL_STATUS', 'true', 'Voulez-vous montrer le total de la commande HT ?', '6', '1','tep_cfg_select_option(array(\'true\', \'false\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Ordre de tri', 'MODULE_ORDER_TOTAL_HT_TOTAL_SORT_ORDER', '4', 'Ordre de tri pour l\'affichage (Le plus petit nombre est montré en premier).', '6', '2', now())"); } function remove() { tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')"); } } ?> (+creation of a file in languages of course but it is not important here) How could I modify the order editor contribution (in order to update the total without tax properly)? Thank you in advance for your help
  15. I had an old evrsion but I've just upgraded it to the latest version. It is a great evolution. However, I have a small problem because something is not updated: Now, for each order, I have the following information: _ subtotal (the "normal" one => vat included and before shipping) _ total VAT excluded _VAT _ shipping (I don't have VAT on shipping) _ TOTAL The total VAT excluded is calculate like this in includes/classes/order.php (it is only one part of the code to include this value of course): if (DISPLAY_PRICE_WITH_TAX == 'true') { $this->info['total'] = $this->info['subtotal'] + $this->info['shipping_cost']; } else { $this->info['total'] = $this->info['subtotal'] + $this->info['tax'] + $this->info['shipping_cost']; } $this->info['totalHT'] = $this->info['subtotal'] - $this->info['tax']; However, when I edit my order with this contribution, the total VAT excluded is not updated as it should be and I can't access to the related box to update it manually. Could you please help me?
×
×
  • Create New...