Latest News: (loading..)

goyan

Members
  • Content count

    10
  • Joined

  • Last visited

About goyan

Profile Information

  • Real Name
    Goyan
  • Gender
    Male
  • Location
    Serbia

Recent Profile Visitors

399 profile views
  1. @CGhoST Have you fixed this? I'm also trying to install Featured Products BS over SPPC, looks promising for now, but there is some mess with sppc and specials.
  2. Delete please... Accedentaly posted.
  3. Solved: if ($order->delivery['country_id'] == STORE_COUNTRY) { $currency = 'RSD'; } else { $currency = 'EUR'; }
  4. In checkout_shipping.php I have put this: if($customer_address['countries_id'] == 236) { $currency = 'RSD'; } else { $currency = 'EUR'; } but $customer_address['countries_id'] is not right variable for this. Which variable should I use instead, for customer billing address?
  5. How can I disable in "Site settings" change of currency for logged user? I want to restrict logged user to use only currency which correspond to his/her billing address.
  6. Thanks @@raiwa, I know that condition should look something like this: if ($total > 500) or ($shipping_id != spu_id) $this->enabled = false; ​but I have a problem in locating those variables. ​I have found: $order->info['shipping_method']​ - which contain a string with description of shipping module; $shipping['id']​ - contains a string "spu_spu" for Store Pickup, "flat_flat" for Flat Rate shipping. ​but I don't think they are appropriate for this condition. ​Which variables should I use instead?
  7. How can I disable COD (Cache on Delivery) payment module if shipping is not equal SPU (Store Pickup) or Total is greater then $500 for example?
  8. Thank you Tsimi. shoping_cart.php is not showin quantity (BS GOLD), but I have found solution and it looks nice: I ahve changed loop before "echo $products_name;": to for ($i=0, $n=sizeof($products); $i<$n; $i++) { $products_quantity = tep_get_products_stock($products[$i]['id']); $products_name .= '<tr>'; $products_name .= ' <td valign="top" align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">' . tep_image(DIR_WS_IMAGES . $products[$i]['image'], $products[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>' . ' <td valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><strong>' . $products[$i]['name'] . '</strong></a>'; if (STOCK_CHECK == 'true') { $stock_check = tep_check_stock($products[$i]['id'], $products[$i]['quantity']); if (tep_not_null($stock_check)) { $any_out_of_stock = 1; $products_name .= $stock_check; } } if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) { reset($products[$i]['attributes']); while (list($option, $value) = each($products[$i]['attributes'])) { $products_name .= '<br /><small><i> - ' . $products[$i][$option]['products_options_name'] . ' ' . $products[$i][$option]['products_options_values_name'] . '</i></small>'; } } $products_name .= '<br>' . tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'style="width: 90px;"') . tep_draw_hidden_field('products_id[]', $products[$i]['id']) . ' ' . tep_draw_button(NULL, 'glyphicon glyphicon-refresh', NULL, NULL, NULL, 'btn-info btn-xs') . ' ' . tep_draw_button(NULL, 'glyphicon glyphicon-remove', tep_href_link(FILENAME_SHOPPING_CART, 'products_id=' . $products[$i]['id'] . '&action=remove_product'), NULL, NULL, 'btn-danger btn-xs'); $products_name .= ' <br>' . TABLE_HEADING_QUANTITY . ": " . $products_quantity; $products_name .= '</td>'; $products_name .= ' <td align="right" valign="top"><strong>' . $currencies->display_price($products[$i]['final_price'], tep_get_tax_rate($products[$i]['tax_class_id']), $products[$i]['quantity']) . '</strong></td>' . '</tr>'; }
  9. Hello osCommercialist, I'm trying to make a site based on Responsive-osCommerce-2.3.4-GOLD. In admin > configuration > product listing I have enabled (set value to 3) in for Display Product Quantity and quantity is displayed in specials.php and product_listing.php (only in list view, not in grid) How can I see quantity in new_product.php, product_info.php and shoping_cart.php? Thanks.