Jump to content

Leo2

Members
  • Content count

    42
  • Joined

  • Last visited

Everything posted by Leo2

  1. I have USD as base currency, and rubles as default currency. So I enter prices in USD, and, since the exchange rate is like 29.21, I get ugly prices in rubles, like 2349. 43 rub. What I need is to round prices in rubles. So, for example, price in rubles would be 2350 rub. Does such contribution exist?
  2. 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?
  3. 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?
  4. 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.
  5. 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 :)
  6. This work for product images. What to change to reduce the categories images as well? Also, where to change text style for the page?
  7. 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?
  8. 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?
  9. Leo2

    "Dynamenu" for osCommerce

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

    Bundled products

    Can this excellent contribution work with v2.3.3? What should be done to make it work there?
  11. 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.
  12. 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?
  13. 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?
  14. I finally found it. There was another instance in the language file. Now everything works fine. :)
  15. 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.
  16. 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.
  17. My hoster said that the localization on server by default is "locale en_US.UTF-8". I think that means that lynx takes charset settings from the english language file. I will change in languages/english.php the locale to @setlocale(LC_TIME, 'en_US.UTF-8'); (it was @setlocale(LC_TIME, 'en_US.ISO_8859-1'); ) - hope this will help You could also try to set the charset as Meta-Data in the html-main template of mailbeez, located in catalog\mailhive\common\templates I have the following there already: <META HTTP-EQUIV="content-language" CONTENT="ru"> <META HTTP-EQUIV="content-type" CONTENT="text/html; charset=utf-8">
  18. I have a question about mailbeez messages charset. It seems that it not correctly put into headers the charset info. Possibly because of that I have a mess with displaying the html and text messages in different mail clients. Since I use utf-8 and cyrillic letters in my messages, in most cases the charset is not determined correctly, and I have something like this: Уважаемый Игорь Бочаров, instead of cyrillic letters. To display the message correctly I need to set the utf charset for the message manually in the mail client. In the same time, the subject and form/to field are displayed correctly. ps. Forgot to mention - the problem appears when the messages are sent by lynx. the headers contain Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit If I send messages manually from firefox, everything is OK. the headers contain Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit How can I change the charset directive for the headers of messages sent by mailbeez through lynx?
  19. Why do you need to change the owner? something doesn't wrong? To change the owner you need to use ssh or ftp to your host and use 'chown' (ssh) or 'properties'(ftp) to change the owner. But this is not related to SMI either.
  20. hey folks! Nobody here will inspect your code for the mistakes. If there is no mistakes and you inserted right pieces of code to the right places, the contribution works fine. If you installed additional contributions, check your code to be sure that they work together with SMI. I see that author do not track this forum anymore, and he even doesn't answer questions on future development and possibilities of his contribution.
  21. So, is there any way to set the links to existing images, without uploading them every time?
  22. I installed this contribution smoothly (and I have STS4 and many other add-ons). Thanks for the clear installation instructions. The one thing I mentioned - the new added images are not shown in the preview page right after adding them. Next time I edit the product, all the images are there. 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?
  23. This contribution worked for me until I upgraded to RC2a. Now it doesn't work. Any clues?
  24. Many people complain that your contributions does not work (see

    http://forums.oscommerce.com/index.php?showtopic=297336&hl=\product+sets\ )

    Do you still support it?

×