Jump to content
Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

  • Days Won


puddlec last won the day on April 2 2015

puddlec had the most liked content!


Profile Information

  • Real Name
  • Gender
  • Location
  1. MATC

    remove the // you have added to the checkout_payment.php as where you added it is fine to have the tables it is just in the matc.php file where it seems to be causing the issue - below is what i am using <?php if(MATC_SHOW_TEXTAREA != 'false'){ //START "show the textarea if" if(MATC_TEXTAREA_FILENAME != ''){//There is a file we should require require('includes/languages/' . $language . '/' . MATC_TEXTAREA_FILENAME); } if(MATC_TEXTAREA_MODE == 'Returning code'){ eval('$textarea_contents_material ='.MATC_TEXTAREA_RETURNING_CODE.';'); }elseif(MATC_TEXTAREA_MODE == 'SQL'){ eval('$contents_query = tep_db_query('.MATC_TEXTAREA_SQL.');'); $contents_query_array = tep_db_fetch_array($contents_query); $textarea_contents_material = $contents_query_array['thetext']; }else{ die('No mode was catched! Search for "qwetyqouty34657+234" in matc.php fo find the place where the error occured.'); //Just for error checking. }; if(MATC_TEXTAREA_HTML_2_PLAIN_TEXT_CONVERT != 'false'){ //Use the conversion tool require_once('includes/classes/'.'html2text.php');// Include the class definition file. $h2t =& new html2text(html_entity_decode($textarea_contents_material,ENT_QUOTES,'ISO8859-1'));// Instantiate a new instance of the class. Passing the string variable automatically loads the HTML for you. $h2t->width=0; //Do not use word wrap $textarea_contents = $h2t->get_text();// Simply call the get_text() method for the class to convert the HTML to the plain text. Store it into the variable. }else{//Use the "raw material", that is we do not convert it to plain text $textarea_contents = $textarea_contents_material; }; ?> <b><?php echo MATC_HEADING_CONDITIONS; ?></b> <textarea name="conditions" class="small" rows="14" cols="60" readonly ><?php echo $textarea_contents; ?></textarea> <?php }//End "show the textarea if" ?> <?php if(MATC_SHOW_LINK != 'false'){ echo '<label class="container"> ' . sprintf(MATC_CONDITION_AGREEMENT, tep_href_link(MATC_FILENAME, MATC_PARAMETERS)); }else{ echo strip_tags(MATC_CONDITION_AGREEMENT); } echo tep_draw_checkbox_field('TermsAgree','true', false, 'id="TermsAgree"') . '<span class="checkmark"></span> </label>'; ?>
  2. MATC

    problem 1 could possibly be that you left in all the table tags in checkout payment and in the matc file e.g. <table> <tr> <td> </td> </tr> </table> i took all those out, then just put some div tags with the relevant bootstrap class names i wanted 2 in checkout confirmation you will need to change the MATC code to //----- BEGINNING OF ADDITION: MATC -----// if (tep_db_prepare_input($_POST['TermsAgree']) != 'true' and MATC_AT_CHECKOUT != 'false') { tep_redirect(tep_href_link('checkout_payment.php', 'matcerror=true', 'SSL')); } //----- END OF ADDITION: MATC -----//
  3. MATC

    i got a hunch on what it could be. in the includes/modules/matc.php file their are references to DIR_WS_CLASSE and DIR_WS_LANGUAGES those would need to be changed to 'includes/classes/' and 'includes/languages/' and in checkout_payment or wherever you installed it to change whatever you got to <?php //----- BEGINNING OF ADDITION: MATC -----// if($_GET['matcerror'] == 'true'){ ?> <div class="contentText"> <div class="alert alert-danger"> <div class="row"> <div class="col-xs-8"> <i class="fas fa-exclamation-circle"></i> <?php echo MATC_ERROR; ?> </div> </div> </div> </div> <?php } //----- END OF ADDITION: MATC -----// ?> <!-- BEGINNING OF ADDITION: MATC --> <?php if(MATC_AT_CHECKOUT != 'false'){ require('includes/modules/'. 'matc.php'); } ?>
  4. MATC

    Check your error log, to see what it says. it will tell you where the error is. i did get the MATC addon working on my BS Frozen site
  5. just had a look, and it does not disable any cookies (Google Analytics) when i click on refuse cookies, looking at the documentation of the cookie script you, have to add some extra code to disable any cookies.
  6. MATC

    Personally I got mine on checkout payment, however you can also put it on create account. So that your customers are also agreeing to it when they create an account as well.
  7. Could you include the information in the email either as text or in a pdf. and tell the customer on the phone that they would have to reply back saying that they accept the t&c's / privacy policy before you can go ahead with completing the order. and that the details you have are correct don't know if you have read this https://ico.org.uk/for-organisations/guide-to-the-general-data-protection-regulation-gdpr/consent/how-should-we-obtain-record-and-manage-consent/
  8. another potential option for google analytics is to use _anonymizeIp() from the page itself which Tells Google Analytics to anonymize the information sent by the tracker objects by removing the last octet of the IP address prior to its storage. Note that this will slightly reduce the accuracy of geographic reporting. When using this function to anonymize tracking, you must use the push function and properly associate the function with the tracker object, as illustrated below. in ht_google_analytics.php change (from line 39) $header = '<script> var _gaq = _gaq || []; _gaq.push([\'_setAccount\', \'' . tep_output_string(MODULE_HEADER_TAGS_GOOGLE_ANALYTICS_ID) . '\']); _gaq.push([\'_trackPageview\']);' . "\n"; to $header = '<script> var _gaq = _gaq || []; _gaq.push([\'_setAccount\', \'' . tep_output_string(MODULE_HEADER_TAGS_GOOGLE_ANALYTICS_ID) . '\']); _gaq.push ([\'_gat._anonymizeIp\']); _gaq.push([\'_trackPageview\']);' . "\n"; NOTE UNTESTED if you wanted you could set that bit configurable from the admin source https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApi_gat#_gat._anonymizeIp
  9. 28d, 2018

    yes, that is correct, as i just tested on my sandbox account, and checked Paypal / database to see if anything was written before i pressed the button on checkout confirmation. i was just unsure how far along the checkout stage the checkbox should be, that would work with the different paypamentoptions
  10. 28d, 2018

    PayPal express from the shopping basket once complete goes directly to confirmation, in the checkout it goes from payment to Paypal then onto confirmation. i got my terms on the payment page (as the shipping page is skipped, and removed paypal from the basket page as well)
  11. 28d, 2018

    how would that work with PayPal express, which you can either access via the shopping basket page (if enabled) if via the checkout it redirects you to the PayPal site before the checkout_confirmation page
  12. 28d, 2018

    what about adding something like a tooltip next to selected fields where the shop owner can explain how that data would be used. e.g. against the email field, they could put something along the lines of it is used for sending the order conformation, status updates, delivery status (from the courier), phone number - contacting the customer in case their is a problem with the order, delivery updates from the courier. and possibly your own take on the MATC addon
  13. 28d, 2018

    Burt, not sure, if you have already included it, but what about, the order comments, either what the customer have typed in, what the payment provider has passed back to the store, and then any anything else that was typed in the admin.
  14. Just tried it and it worked, Thanks for that Burt
  15. @burt just downloaded the latest version off github, and have noticed, that when you get to the product listing page, the left hand menu completely disappears from view, (can see it in the source code) if i turn off the Product Listing module it appears again. seems to be because of a missing div tag somewhere. as for a quick test i added one at the bottom and it came back up.