Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

alexv

Archived
  • Posts

    13
  • Joined

  • Last visited

Profile Information

  • Real Name
    Alex V

alexv's Achievements

  1. That does it for both questions I had! Never got a fast answer like that. Thanks for your help, Rigadin. Alex
  2. Could someone help me with the infobox templates? I want to customize let say the language box with a different design. I have put a file named infobox_language.php.html in the /boxes folder but nothing happens. It's still the design used in box.php.html. In the docs, it says Include the name of the infobox template in the filename in the following format: • infobox_infoboxname.php.html What exactly does that mean? If someone already went this path please share your experience. Question 2: Is it possible to assign different designs to boxes like Featured Products, New Products, or Specials that are displayed in the central area? I mean can it be changed by using an infobox template? Alex
  3. I have a problem with totals with taxes when I enter a rebate, let say a 10$ amount, the taxe field value is changed automatically. It must be some javascript in the page. When I click update the value is taken out of the page but it's not there after the resfreh. Let say 10$ it's still showing -10. Same thing when I add or remove products. I have version 2.8.2 please help me.
  4. Hi, I had that problem and read through most of the pages in this topic but found nothing to fix it and I don't want to spend hours just reading and not find anything so I decided to do some coding. I found a way do arrange that with some minors modifications. I don't want to make an update to Tom's wonderful contrib so I post my code here to be discussed. #1: In product_info.php, - Find the following code: if (tep_not_null($product_info['products_model'])) { $products_name = $product_info['products_name'] . '<br><span class="smallText">[' . $product_info['products_model'] . ']</span>'; } else { $products_name = $product_info['products_name']; } - Add after: $in_product_info_block = true; #2: In the same file - Find the following code: if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) { - Add before: $in_product_info_block = false; #3: In html_output.php, - Find the following code: if (strstr($_SERVER['PHP_SELF'],"product_info.php")) { - Change it for if (strstr($_SERVER['PHP_SELF'],"product_info.php") && isset($in_product_info_block) & $in_product_info_block) { And that's about it. It was tested for 5 mins but seems to works fine. Should fit for most versions: mine is OSC2MS2.2. I had some problems previously with that contrib related to the php.ini file so I needed to also install the Register Globals contrib. Alex
  5. I installed the following modules: - World Zones - Canadian Shipping Module - Local delivery option - Customer Pickup Option It's all up and running. Thanks to the authors of these great contributions! I have the following minors problems when using them from the front end. I say minors because they don't block the customer to place correctly an order. Problem 1: - The sort order attribute is not taken into account. No matter what values are entered, the modules are displayed in what seems the order they appear in the admin console. Problem 2: - I get the following error in the logs when using the Canadian Shipping Module: Log <<<<< PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/httpd/vhosts/infoencans.com/httpsdocs/osCommerce/includes/modules/shipping/canadapost.php on line 228 <<<<< Source code: Line 228: $fp = @fsockopen($host, $port, &$errno, &$errstr, 2); <<< Anyone has an idea how to solve this? Thanks Alex
  6. What is the procedure to replace the original stylesheet.css with a different one for each template located in /sts_templates? Can it be switched between templates simply by changing the template folder in admin panel?
  7. I forgot to mention that if available, it should be possible for the customer to choose between different services for the delivery like Ground Shipping, AirMail, ExpressPost, etc.
  8. There will be 4 main zones for shipping: Canada, USA, Europe and International (others) - Can I configure that without using a contrib? - If not, what contrib(s) should I use? I think I have to charge taxes on some zones, at least for Canada. So that option should be there. I will be using Canada Post as the preferred shipping carrier. If possible, have an option for the customer pick up. For Canada contribs, how could I compute dimensions in the equation? Does it mean I need to specify them for each product? How can it calculate the shipping fees if they are no dimensions? Are fees auto-updated with a web site or I need to enter them manually? Thanks Alex
  9. In the language files, I found that by removing one line, the problem is resolved. It is in the file <language>.php Remove the line: define('HEADER_SECTION','Newsletter'); By the way, great contrib you have there.
  10. After installation everything runs fine but when I click another section in the left menu the title is always displayed as "Newsletter" except for the Configuration category. I am running OSC2.2 with update 2, Newsletter contrib v0.53
×
×
  • Create New...