Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

shmekera

Pioneers
  • Posts

    46
  • Joined

  • Last visited

Profile Information

  • Real Name
    Soul Seeker

shmekera's Achievements

  1. Hello, Can you please respond to my post (mail.yandex.ru) mail server et-up with sendmail on windows.

  2. Actually I want free postage over $100 and I'm hoping that the answers help me to fix this :) Thanks for future answers
  3. Thanks! Maybe I got something wrong before 2 days, but today my code looks same that you want: I replaced it from: function format($number, $calculate_currency_value = true, $currency_type = '', $currency_value = '') { global $currency; if (empty($currency_type)) $currency_type = $currency; To: function format($number, $calculate_currency_value = true, $currency_type = '', $currency_value = '') { global $currency; $this->cg_id = $this->get_customer_group_id(); if ($this->cg_id > 0) { $this->currencies['USD']['symbol_right'] = ' $'; $this->currencies['USD']['symbol_left'] = ''; } if (empty($currency_type)) $currency_type = $currency; But now I get this error when I'm trying to view the products: Fatal error: Call to undefined method currencies::get_customer_group_id() in D:\Web\www\shopping\includes\classes\currencies.php on line 37
  4. Thank you for your reply. Is there any way to upgrade to this version without changing the sources of the pages where's installed SPPC?
  5. So, the Retail currency will be Dollars and the Wholesale currency will be Pounds, I saw that I have already get_customer_group_id in currencies.php and don't have in shopping_cart.php..? And what part of code I need to replace for function format? This is my function format at currencies.php // class methods function format($number, $calculate_currency_value = true, $currency_type = DEFAULT_CURRENCY, $currency_value = '') { if ($calculate_currency_value) { $rate = ($currency_value) ? $currency_value : $this->currencies[$currency_type]['value']; $format_string = $this->currencies[$currency_type]['symbol_left'] . number_format($number * $rate, $this->currencies[$currency_type]['decimal_places'], $this->currencies[$currency_type]['decimal_point'], $this->currencies[$currency_type]['thousands_point']) . $this->currencies[$currency_type]['symbol_right']; // if the selected currency is in the european euro-conversion and the default currency is euro, // the currency will displayed in the national currency and euro currency if ( (DEFAULT_CURRENCY == 'EUR') && ($currency_type == 'DEM' || $currency_type == 'BEF' || $currency_type == 'LUF' || $currency_type == 'ESP' || $currency_type == 'FRF' || $currency_type == 'IEP' || $currency_type == 'ITL' || $currency_type == 'NLG' || $currency_type == 'ATS' || $currency_type == 'PTE' || $currency_type == 'FIM' || $currency_type == 'GRD') ) { $format_string .= ' <small>[' . $this->format($number, true, 'EUR') . ']</small>'; } } else { $format_string = $this->currencies[$currency_type]['symbol_left'] . number_format($number, $this->currencies[$currency_type]['decimal_places'], $this->currencies[$currency_type]['decimal_point'], $this->currencies[$currency_type]['thousands_point']) . $this->currencies[$currency_type]['symbol_right']; } return $format_string; } Thanks!
  6. OMG, this is perfect! And one more thing, please.. The default currency in my website is "лв." (for Retail buyers). I want when a Wholesale buyer logins to see "$" at the end of the price, not "лв.".. I don't know how to fix this.. Because I set the prices in dollars and now they see the dollar price with "лв." at the end.. it's confusing.. Thanks again!
  7. Hello. I'm uploading thousands of products every month (and delete the old ones). I upload them successfully with my import method but I need to set ALL wholesale prices ONE BY ONE.. Is there any way to make this more easy? Thank you so much! Your addon is INSANE, by the way.. it helps me a lot!\
×
×
  • Create New...