Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Jari646

Archived
  • Posts

    49
  • Joined

  • Last visited

About Jari646

  • Birthday 10/17/1976

Profile Information

Jari646's Achievements

  1. Hi, Maybe this help is late, but go to your admin page Configuration and change Allow Guest To Tell A Friend to True
  2. Add javascripts to your STS template head. catalog/includes/sts_templates/full/sts_template.html
  3. Hi, I have a small problem with the Products Price Schdules / Quantity price. In my shop number 2 the Quantity prices show ok in every page, but when I add them to shopping cart, the price is wrong. Example: Product price is 1 piece 120 USD 5 piece 110 USD In product_info.php that is what will show, but when you add 5 piece to shopping cart the price is 120 USD x 5 = Total 600USD Can anyone help me solve this problem?
  4. I had same sql error. I removed ) before "pd" --> Now Specials work fine. $products_query = tep_db_query("select p.products_id, pd.products_name, p.products_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd " . ($admin_allowed_stores[0] == '*' ? " " : " LEFT JOIN " . TABLE_PRODUCTS_TO_STORES . " p2s ON p.products_id = p2s.products_id ") . "where p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' " . ($admin_allowed_stores[0] == '*' ? " " : " and p2s.stores_id in(" . implode(',' , $admin_allowed_stores) . ") ") . "order by products_name"); while ($products = tep_db_fetch_array($products_query)) { if (!in_array($products['products_id'], $exclude)) { $select_string .= '<option value="' . $products['products_id'] . '">' . $products['products_name'] . ' (' . $currencies->format($products['products_price']) . ')</option>';
  5. Thank you for great contribution! I wonder if any one can help me find solution for this problem. I have installed Buy Two module and I don’t get the discounted bundled product to show in shopping cart. The bundled products show in admin side (I get them show also in catalog side if I don’t use discount). I have been trying modulating catalog/includes/modules/shopping_cart.php and price_schedule :'(
  6. Hi djmonkey1, Great contribution! I have small problem with tax calculation. When I give discount the tax goes wrong (for me). The discount tax calculation should work like shipping calculation. Example if (correct): Subtotal 299 Shipping 10 Tax 55.72 TOTAL 309 If I give discount (wrong): Subtotal 299 Discount -50 Shipping 10 Tax 55.72 TOTAL 259 Hope you can help me :)
  7. Thank you for those who have developed this great contribution! I have just installed it, and I wonder is there possibility to give some specific discount, example 20 euros?
  8. Hi, Can anyone tell me how to get animated gif pictures work with image magic? Thank s :rolleyes:
  9. Hi, I have a little problem in my front page. If I but one of my new product in to discount, only old price is showing in front page (new products). What should I do that old price and special price would show in front page (new products)? Thank s :D
  10. Thank s :D But you are correct that was not what I was looking for. I m all ready use SPPC for my reseller site. The reseller site is one brand (www address is the same as the brand) site and normal site I sell all different brands.
  11. Hi, I have two websites and they are located in different servers. One site is for normal customer and other site is meant for resellers (The normal site is the site where stock level is right). Resellers can see stock level when they log in. How can I get stock level from my normal site to reseller site? I don t mean that it should update my stock level, just to get level so the reseller can read how much is the stock level. The sites have different product id so I have trying to make some kind of code to get right level to show up. This is part of the code I'm have made to my normal site. This is what I try to do --> If reseller is watching dvd385 product (id=28) (reseller page) he / she can see normal site dvd385 (id=40) stock level. How can I get right product id date to my reseller page ? :blush: <?php if ($products_id == "28"){ function dvd385 () { $products_id = "40"; $prod_quantity = tep_get_products_stock($products_id); print "Varastossa:?";// Varastossa = Stock echo $prod_quantity; print "kpl<br>";// kpl = piece } dvd385 (); } else if ($products_id == "41"){ function dvd383 () { $products_id = "96"; $prod_quantity = tep_get_products_stock($products_id); print "Varastossa:?"; echo $prod_quantity; print "kpl<br>"; } dvd383 (); } else if ($products_id == "40"){ function dvd389 () { $products_id = "98"; $prod_quantity = tep_get_products_stock($products_id); print "Varastossa:?"; echo $prod_quantity; print "kpl<br>"; } dvd398 (); } else echo "Stock level ???" Have I done all wrong? Please help me :)
  12. I did go around my problem. I decided to not but the viite into database. I but this code directly to the invoice.php :D require_once(DIR_WS_FUNCTIONS . 'viite.php'); $temp = str_replace('?', ' ', PRINT_VIITE); $pdf->Text(75,112,$temp . $viite);
  13. How I do that? I have made this code, but it does not work? $viite_query = tep_db_query("select viite from " . TABLE_VIITENUMEROT . " where orders_id = '" . (int)$orders_id . "'"); $viite = tep_db_fetch_array($viite_query); And I m trying print my fetch in this code, but it does not work either? //Draw Viite $temp = str_replace('?', ' ', PRINT_VIITE); $pdf->Text(75,112,$temp . print ($viite));
×
×
  • Create New...