Jump to content

completepresta

Members
  • Posts

    60
  • Joined

  • Last visited

Contact Methods

Profile Information

  • Location
    The Netherlands, The Hague
  • Activity
    Developer

Recent Profile Visitors

7,060,002 profile views

completepresta's Achievements

Newbie

Newbie (1/14)

3

Reputation

1

Community Answers

  1. "Cannot retrieve test results" Do not fill in the UA- id in profile ID field under client secret, that was my mistake. It should be another ID, this ID you can find in the url from your google analytics page, the one marked red (without the P) https://www.google.com/analytics/web/?hl=nl&pli=1#report/visitors-overview/ab62536633w94595418p972752622/
  2. Hi, does someone know how i can set the checkboxes checked in my module helper checkbox tree? Now i have the following but it does not work: In my Fields form array $selected_coupon_categories = @unserialize(Configuration::get($this->module_name.'_COUPON_CATEGORIES', NULL, $id_shop_group, $id_shop)); if($selected_coupon_categories === false && $selected_coupon_categories !== 'b:0;') { $selected_coupon_categories = array(); } $tree->setUseCheckBox(false)-> setUseCheckBox(1)-> setAttribute('is_category_filter', 2)-> setRootCategory(2)-> setAttribute('id', 'expand-all-2')-> setSelectedCategories($selected_coupon_categories); And in check post and get params $categories = @unserialize(Configuration::get($this->module_name.'_COUPON_CATEGORIES', NULL, $id_shop_group, $id_shop)); if($categories === false && $categories !== 'b:0;') { $categories = array(); } $fields = array( 'categoryBox' => $categories ); Both does not work
  3. If still not working, i found out following: In address.tpl: countriesNeedZipCode[{$country.id_country|intval}] = {$country.need_zip_code}; passed to validate.js: var result = window['validate_'+$(that).attr('data-validate')]($(that).val(), countriesNeedZipCode[id_country], countries[id_country]['iso_code']); countriesNeedZipCode returns a integer while the function expects an patern, so countriesNeedZipCode[{$country.id_country|intval}] = {$country.need_zip_code}; should be: countriesNeedZipCode[{$country.id_country|intval}] = {$country.zip_code_format}; then in validate.js: if (typeof(countriesNeedZipCode[id_country]) != 'undefined' && typeof(countries[id_country]) != 'undefined') { countries is always undefined: first thing is if you dont use states its never set: {if isset($country.states) && $country.contains_states} countries[{$country.id_country|intval}] = new Array(); {foreach from=$country.states item='state' name='states'} countries[{$country.id_country|intval}].push({ldelim}'id' : '{$state.id_state}', 'name' : '{$state.name|escape:'htmlall':'UTF-8'}'{rdelim}); {/foreach} {/if} should move: countries[{$country.id_country|intval}] = new Array(); to above the check for state Anyway then countries still undefined in my validate.js Conclusion i fixed all changing: if (typeof(countriesNeedZipCode[id_country]) != 'undefined' && typeof(countries[id_country]) != 'undefined') { to: if (typeof(countriesNeedZipCode[id_country]) != 'undefined') { and var result = window['validate_'+$(that).attr('data-validate')]($(that).val(), countriesNeedZipCode[id_country], countries[id_country]['iso_code']); to var result = window['validate_'+$(that).attr('data-validate')]($(that).val(), countriesNeedZipCode[id_country], ''); and adress.tpl: changed countriesNeedZipCode[{$country.id_country|intval}] = {$country.need_zip_code}; to: countriesNeedZipCode[{$country.id_country|intval}] = {$country.zip_code_format}; Hope this helps someone
  4. Dat is niet helemaal waar, gratis is het niet, met myparcel betaal je gemiddeld €1,- meer per pakket, met meer als 1500 pakketten per jaar scheelt al meer dan €1300 op jaarbasis Met deze module hoef je ook niets te importeren, hetzelfde als MyParcel je drukt op export en de labels worden automatisch geprint via de parcelsoftware zonder te hoeven importeren, eigenlijk werkt het daarom zelfs nog sneller dan MyParcel want je hoeft niets meer in te vullen in een popup
  5. INSERT INTO `ps_order_state` (`id_order_state`, `invoice`, `send_email`, `module_name`, `color`, `unremovable`, `hidden`, `logable`, `delivery`, `shipped`, `paid`, `deleted`) VALUES (1, 1, 0, '', '#40b600', 1, 0, 1, 1, 1, 1, 0), (2, 1, 0, '', '#b3e1ff', 1, 0, 1, 0, 0, 1, 0), (3, 1, 0, '', 'DarkOrange', 1, 0, 1, 1, 0, 1, 0), (4, 1, 1, '', '#40b600', 1, 0, 1, 1, 1, 1, 0), (6, 0, 0, '', 'Crimson', 1, 0, 0, 0, 0, 0, 0), (7, 1, 1, '', '#ec2e15', 1, 0, 0, 0, 0, 0, 0), (8, 0, 1, '', '#8f0621', 1, 0, 0, 0, 0, 0, 0), (9, 1, 1, '', '#ff9ffe', 1, 0, 1, 1, 0, 1, 0), (10, 0, 1, 'bankwire', '#e2ff37', 1, 0, 0, 0, 0, 0, 0), (11, 0, 0, '', 'RoyalBlue', 1, 0, 0, 0, 0, 0, 0), (12, 1, 1, '', '#b3e1ff', 1, 0, 1, 0, 0, 1, 0), (13, 1, 0, '', '#DDEEFF', 0, 0, 1, 0, 0, 0, 0); INSERT INTO `ps_order_state_lang` (`id_order_state`, `id_lang`, `name`, `template`) VALUES (1, 1, 'Verzonden (DHL)', ''), (2, 1, 'Betaling Ontvangen', ''), (3, 1, 'In Behandeling', ''), (4, 1, 'Verzonden (Briefpost)', 'shipped'), (5, 1, 'Bezorgd', ''), (6, 1, 'Geannuleerd', ''), (7, 1, 'Terugbetaald', 'refund'), (8, 1, 'Betaling Mislukt', 'payment_error'), (9, 1, 'In Backorder', 'outofstock'), (10, 1, 'Wachten op Vooruitbetaling', 'bankwire'), (11, 1, 'Wachten op PayPal betaling', ''), (12, 1, 'Betaling Ontvangen (Paypal)', 'payment'), (13, 1, 'Authenticatie Geacepteerd PayPal', ''); Deze ff in je PhpMyAdmin, dan heb je in ieder geval de oude orderstatussen weer terug. Let wel op 2e sql dat je id_lang goed zet, bij mij is Nederland id_lang 1, ik weet niet welke dat is in jouw shop.
  6. Kijk even of dat aan staat, misschien dat het helpt en dan verversen.
  7. En Localizatie -> Landen -> Nederland en dan Adresformaat, staat daar wel postcode tussen? Ik weet niet zeker of dat invloed heeft maar je kan in ieder geval voor de zekerheid even kijken of dat goed staat.
  8. Heb je de templates aangepast, misschien is die daar weggehaald? (address.tpl) Of anders bij Localizatie -> Landen -> Nederland en dan Adresformaat, kijk even of daar postcode nog tussenstaat.
  9. Kijk eens op: https://www.prestashop.com/forums/topic/430936-module-tntpostnl-parcelware-dhl-easyship-dpd-delisprint-advanced-order-manager/ Misschien een goed alternatief
  10. Als je een e-mail ontvangt van prestashop in Outlook is in het onderwerp de regel van de body tekst je domeinnaam met wat spaties, ziet er niet mooi uit. Een goede suggestie is in elke e-mail template het volgende toevoegen direct onder je <body> tag. <style type="text/css"> div.preheader { display: none !important; } </style> <div class="preheader" style="font-size: 1px; display: none !important;">U heeft een bericht ontvangen van de {shop_name} klantenservice</div> De "preheader" kun je dan wijzigen met de titel die je wilt per e-mail. Zou een goede verbetering zijn als Prestashop dit toevoegd aan de volgende update
  11. Thanks, hier ga ik gebruik van maken. Jammer dat niet in meer in het NL forum kan, mijn module wordt eigenlijk bijna alleen maar NL gekocht.
  12. Waarom is het forum van Module & Thema's gesloten? Ik heb een PostNL Parcelware module ontwikkeld en geupdate met terugkoppeling van tracking code naar prestashop. Graag zou ik dit in mijn post willen vermelden maar dat kan niet meer?
  13. I found out something, strange but there was a file Address.php in the override folder. I did not install any non-prestashop modules yet so i dont know where and when this file has been created. Also there was another file Validate.php, i removed both this fixed the problem. There must be a bug somewhere that create these 2 files because the prestashop i use is a clean install.
  14. Missing files (2) .gitignore .gitmodules The error occurred when i did the following steps: Customers -> Required fields > Address2 - Postcode Localization > Countries > Country> Address format I changed back to normal but won't fix the issue. Changed it to address address2 one one rule instead of down each other.
  15. Got same problem, fresh install after changing Localization > Country > Address Format I changed back to the original address format but still this error, the post you link i can't get any clue related to this error. prestashop version: 1.6.0.14
×
×
  • Create New...