Jump to content

Panagiotis Vagenas

Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Activity
    Developer

Recent Profile Visitors

237 profile views

Panagiotis Vagenas's Achievements

Newbie

Newbie (1/14)

0

Reputation

1

Community Answers

  1. This seems to work. I just have to add Greek "states" (which is more like prefectures actually). Even though I would like prestashop have the ability to calculate these bloody taxes based only in postal codes. Anyway, thank you guys.
  2. Hi community, I have some problems applying tax rules based on postal code. In Greece VAT standard rate is 23%. There are some areas that have reduced rate to 16% and this is based on postal code of the invoice address. So I leaved the built in standard rate (GR Standard Rate (23%)) as is and add some extra rules to reflect the reduced rate. The reduced rate should be applied for the following postal codes: 81100 - ​84800 34007 37002 - 37003 37005 64004 68002 Problem is that even if a customer use an address that should have reduced VAT rate prestashop still applies only the standard rate. Is there a solution to this problem?
  3. One year and a half later and no solution. I think this issue is pretty match critical.
  4. Incase anyone else trying to make this work for default-bootstrap theme here it is: File default-bootstrap/js/global.js function bindGrid now reads function bindGrid() { var view = $.totalStorage('display'); if (!view && (typeof displayList != 'undefined') && displayList) view = 'list'; if (view && view != 'grid') display(view); else $('.display').find('li#grid').addClass('selected'); $(document).on('click', '#grid', function(e){ e.preventDefault(); display('grid'); }); $(document).on('click', '#list', function(e){ e.preventDefault(); display('list'); }); } change to function bindGrid() { var view = $.totalStorage('display'); var displayList = true; if (!view && (typeof displayList != 'undefined') && displayList) view = 'list'; if (view && view != 'grid') display(view); else $('.display').find('li#grid').addClass('selected'); $(document).on('click', '#grid', function(e){ e.preventDefault(); display('grid'); }); $(document).on('click', '#list', function(e){ e.preventDefault(); display('list'); }); } Bonus: If you want to make layout change work for home page go to default-bootstrap/js/modules/blocksearch/blocksearch.js line 58 and call just before return statement the bindGrid function. Something like if($("#search_query_" + blocksearch_type).val().length > 0) { tryToCloseInstantSearch(); $('#center_column').attr('id', 'old_center_column'); $('#old_center_column').after('<div id="center_column" class="' + $('#old_center_column').attr('class') + '">'+data+'</div>'); $('#old_center_column').hide(); // Button override ajaxCart.overrideButtonsInThePage(); $("#instant_search_results a.close").click(function() { $("#search_query_" + blocksearch_type).val(''); return tryToCloseInstantSearch(); }); bindGrid(); return false; }
×
×
  • Create New...