Jump to content
Latest News: (loading..)

Leo2

Members
  • Content count

    42
  • Joined

  • Last visited

Profile Information

  • Real Name
    Vladimir
  1. Leo2

    Rounding prices

    I am still running my oscommerce shop :) For years since prevous post ruble was stable and I moved to RUB as default. Now we have jumping currency exchange rate and I had to set back the USD as default currency. So, the problem appears again. I found this workaround http://forums.oscommerce.com/topic/140316-silly-prices-when-currency-not-default/ However, it rounds all currencies. I need to round only rub, which is not default currency. Default USD must remain with decimal places. I tried to set decimal places to 0 for rubs, but in this case all the prices are calculated wrong (seems the USD price is rounded and then exchange rate is applied) Can anybody help?
  2. That makes it same as "2gether discount" which I tried too - but it has the way it works in its name. What exactly software do you mean? Manufacturer Discount? Does it include required features of BT contribution as I described above?
  3. Thank you, style class works, but is it possible to have special class for the discount number? Now I can apply the style only to the whole text. That doesn't work for me. I have the following function there function get_categories_image($category_id) { global $languages_id; $category_query = tep_db_query("select cd.categories_name, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$category_id . "' and cd.categories_id = '" . (int)$category_id . "' and cd.language_id = '" . (int)$languages_id . "'"); $category = tep_db_fetch_array($category_query); return tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], 80, 80); // return $category['categories_image']; } and it doesn't find any images. I have OnTheFly Thumbnails mod installed too, and it puts "no image" picture with it initial 200*200 size to all the categories pictures, and the size is not changed by the parameters in the return tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], 80, 80). If I use second (commented now) 'return' call, I get the categories pictures with no scaling.
  4. I have "simple price breakdown" module installed already, adn it works for quantity discount purpose. I want to give more discount if people buy more products. The Better Discount uses quantity discounted price to calculate the discount, which is OK, but only for 1 item, not for all. Many of my bundled products should be not 1+1, but 1+5 or 1+10, and I need to have discount on sum, not on one item. Since the discount is calculted at checkout_confirmation step, I think is should be possible to calculate discount for subtotals, not for 1 item. And yes, I aldready have Bundled Products contribution installed :)
  5. This work for product images. What to change to reduce the categories images as well? Also, where to change text style for the page?
  6. I installed v.1.0.2 on 2.2rc2 It works, but not the way I need. It adds discount for just 1 qualified item. For example, if I add 10 units with 1 linked product the discount is given only for 1 unit. If same 10 unuits are bought with 2 linked products, I get discount for 2 units. How to make it to calculate discount for all 10 items in the order? So, if I give discount 10% for product XX if product YY is ordered, and a client orders 10*XX and 2 or 1 of YY, then he should get diiscount 10% for ALL 10 XX products, not just for 2 or 1. Another question - is it possible to give discount for product or category if another product of specific manufacturer from specific category is bought together?
  7. Leo2

    "Dynamenu" for osCommerce

    Thank you Steve, but they are both dropdown. I would need tree or flyout multilevel menu. Can the superfish be vertical, not horizontal?
  8. Leo2

    "Dynamenu" for osCommerce

    Is there similar menu for v.2.3.3?
  9. Leo2

    Bundled products

    Can this excellent contribution work with v2.3.3? What should be done to make it work there?
  10. Leo2

    [Addon} Theme Switcher

    Hi, please advise where to get the updated bxGallery. I have jquery.bxGallery.1.1.min.js and it hangs image loading if there are more than 1 image attached to a product.
  11. I have the same error. Is there the fix already? I tried to replace the function gfc_format_date as suggested but without success. Moreover, there is no errors if I enter start date as dd/mm/yyyy and end date as mm/dd/yyyy, but the end date becames incorrect. For example i I enter 03/31/2012, it becomes 07/03/2014. This makes the use of this contribution impossible. Any clues?
  12. After installation I changed BLOB to VARCHAR(800) to be able to edit the array in the phpmyadmin. I wanted to add existing piсtures to the product info page without uploading them. However, it wasn't so simple :( So, my question is: How to add information to the image array without actually uploading files? I have many products with same additional pictures. It would be good if I have fields in the edit (admin/categories.php) page where I can just insert/edit links to the main and additional images. Can it be so?
  13. I finally found it. There was another instance in the language file. Now everything works fine. :)
  14. This also didn't help. There is something strange - the message header charset is different from the html inside --=_b78737164e0643ab5dde0c7ae9b54eae Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <title>=D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0=D0=B9 =D0=9F=D1=80=D0=BE=D0= =BA=D0=BE=D1=84=D1=8C=D0=B5=D0=B2, =D0=92=D1=8B =D0=B4=D0=B0=D0=B2=D0=BD=D0= =BE =D1=83 =D0=BD=D0=B0=D1=81 =D0=BD=D0=B5 =D0=B1=D1=8B=D0=BB=D0=B8, =D0=B8= =D0=BD=D0=B0=D0=BC =D0=B2=D0=B0=D1=81 =D0=BD=D0=B5 =D1=85=D0=B2=D0=B0=D1= =82=D0=B0=D0=B5=D1=82 </title> <META HTTP-EQUIV=3D"content-language" CONTENT=3D"ru"> <META HTTP-EQUIV=3D"content-type" CONTENT=3D"text/html; charset=3Dutf-8"> </head> Where the script takes this iso-8859-1 from? My language files are all with utf-8.
  15. Same result. I have the folowing in the headers To: "=?utf-8?B?0JPQsNCy0YDQuNC70Y7QuiDQodC10YDQs9C10Lk=?=" <webmaster@solarhome.ru> Subject: =?utf-8?B?0JPQsNCy0YDQuNC70Y7QuiDQodC10YDQs9C10LkgLSDQvNGLINGF0L7RgtC40LwsINGH0YLQvtCx0Ysg0LLRiyDRgdGC0LDQu9C4INC90LDRiNC40Lwg0LrQu9C40LXQvdGC0L7QvA==?= X-PHP-Script: www.solarhome.ru/catalog/mailhive.php for 91.218.229.12 From: "=?utf-8?B?0JLQsNGIINCh0L7Qu9C90LXRh9C90YvQuSDQlNC+0Lw=?=" <shop@solarhome.ru> MIME-Version: 1.0 X-Mailer: mailbeez.com Content-Type: multipart/alternative; boundary="=_e8c83bcbb63b46946c2d1ac75f581a96" --=_e8c83bcbb63b46946c2d1ac75f581a96 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit From and subject are encoded correctly, but the body is not. I changed english.php in /catalog/includes/.., I will change the language file in /admin section too, and see what will change.
×