Jump to content

spidometrs

Members
  • Content count

    101
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    spidometrs got a reaction from raiwa in [Contribution] Ship In Cart   
    cm_sc_shipping.php
    end
    spu.php
  2. Like
    spidometrs reacted to raiwa in [Contribution] Ship In Cart   
    Hello Sergey @@spidometrs,
     
    Please try the folowing:
    1. Make sure you entered a Default ZIP code in the shipping estimator module
    2. I just uploaded a new version for the store pickup module which solves a compatibility error together with mzmt shipping module and the shipping estimator module:
    Store Pickup Shipping Module v1.73. If the store pickup works correct with the update and the russian shipping doesn't, compare both module and update the zone and zip check of the russian module to the way it is done in the new store pickup module.
    4. If both modules still do not work, try this modification in the shipping estimator module:
    in: includes/modules/content/shopping_cart/cm_sc_shipping.php:
    find:
    // first timer $cart_country_id = STORE_COUNTRY; tep_session_register('cart_country_id'); $country_info = tep_get_countries(STORE_COUNTRY,true); tep_session_register('cart_zip_code'); $order->delivery = array(); and replace by:
                      // first timer                   $cart_country_id = STORE_COUNTRY;                 $cart_zone = STORE_ZONE;                 $cart_zip_code = MODULE_CONTENT_SC_SHIPPING_DEFAULT_ZIP;                   tep_session_register('cart_country_id');                   tep_session_register('cart_zone');                   tep_session_register('cart_zip_code');                   $country_info = tep_get_countries(STORE_COUNTRY,true);                   $order->delivery = array(); If all of this doesn't help and the problem only appears in Opera, I'm sorry, I can't spent more time to debug for a browser which only is used by 1% of all users.
     
    rgds
    Rainer
  3. Like
    spidometrs reacted to raiwa in [Contribution] Ship In Cart   
    Hello Sergey @@spidometrs,
     
    It's in:
    includes/modules/order_total/ot_total.php:
    'text' => '<strong>' . $currencies->format($order->info['total'], true, $order->info['currency'], $order->info['currency_value']) . '</strong>', But this is not specific for the order total module in the shopping cart page. If you change it, it will also apply on all other pages where order totals are shown, like checkout_confirmation.php and account_history_info.php
     
    rgds
    Rainer
  4. Like
    spidometrs reacted to raiwa in [Contribution] Ship In Cart   
    Hello Sergey @@spidometrs,
     
    You are right, there is an error in the module if no shipping options are available.
     
    I moved some "if..." lines and now it should show still the country/state/postcode selection block and a no shipping available message.
    Please try this one and let me know. I'll then upload a new version with these fixes.:
     
     
    Another fix for your store, if you only offer shipping to Russia, would be to disable the country menu and the update button. Or to remove all other countries in your database and leave only Russia.
     
    Thank you and kind regards
    Rainer
  5. Like
    spidometrs reacted to raiwa in [Contribution] Ship In Cart   
    Hello Sergey @@spidometrs,
     
    Thank you for testing and confirmation.
    I just uploaded the new version 3.4 with the fixes.
     
    Kind regards
    Rainer
  6. Like
    spidometrs reacted to raiwa in [Contribution] Ship In Cart   
    zipcode shipping/delivery 
    and
    Store Pickup Shipping Moduleuses postcodes to show or hide the module.
     
    there may be more, just search in add-ons for zip shipping or similar
     
    rgds
    Rainer
  7. Like
    spidometrs got a reaction from raiwa in [Contribution] Ship In Cart   
    @@raiwa
     
    I replaced the file.
    Now addon works well.

    Thank you very much!
  8. Like
    spidometrs got a reaction from Tsimi in [Contribution] Option Types v2   
    I propose to change the sorting of the attributes for the price.
    Change the line in the file product_info.php
    $products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . (int)$ProdOpt_ID . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "' order by pa.products_options_sort_order"); on
    $products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix, pa.products_attributes_id from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . (int)$ProdOpt_ID . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "'" . " order by pa.options_values_price, pa.products_attributes_id"); I have this code works well.
×