Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

a good "must accept" contrib ?


Guest

Recommended Posts

Posted

do any know a good must accept terms contrib?

 

i badly need one and this one is not quite up to spec http://addons.oscommerce.com/info/8205

 

i have used i before when it was only for 2.2 but it now reads to be 2.3.x comp.

 

but the install doc included does not add up when it comes to the search and replace examples...

 

 

so are there any other good choices i could look at.. running on 2.3.3

Posted

@@boelle

 

I have always used the MATC contribution you referenced, even without the install docs being correct, it is a simple addition to your v2.3.x site. I have it running on several of my 2.3.x sites already. Is there a particular file you are having problems with ?

 

 

 

Chris

Posted

yeah... i follow the install doc and from checkout_payment.php onward the search and replace info does not look the same at all.... it more looks like the install doc is for 2.2...

Posted

Not sure if this will help as my site is heavily modified, but the MATC additions are clearly marked in the attached files.

 

 

Chris

Posted

Hi Chris

 

I have installed this contribution but it doesnt work like the older one for rc2.

 

The java script for mouseover doesnt work. Does it work in all your installations. Could you please show how i can do it also if you have been able to do it.

 

Appreciate all the help.

 

Thanks.

Posted

@@CGhoST

 

In my checkout_payment.php file, you will notice that I do not have the mouse over effect enabled, rather I have a button effect instead.

 

 

Chris

Posted

thanks for the files, they helped me a lot and i almost got it.... in checkout_payment.php last bit looks like

 

//----- BEGINNING OF ADDITION: MATC -----//
if(MATC_AT_CHECKOUT != 'false'){
require(DIR_WS_MODULES . 'matc.php');
}
//----- END OF ADDITION: MATC -----//
?>
	 <div class="contentText">
 <table border="0" width="100%" cellspacing="0" cellpadding="2">
		 <tr>
		 <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
	 <!-- <td class="main"><b><?php echo TITLE_CONTINUE_CHECKOUT_PROCEDURE . '</b><br>' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?></td> -->
		 <?php //----- CHANGE IN ROW BELOW: MATC - Added id="TheSubmitButton" -----// ?>

		 <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
		 </tr>
</table>
</div>
</br>
<!-- <h2><?php echo TABLE_HEADING_COMMENTS; ?></h2>

<div class="contentText">
<?php echo tep_draw_textarea_field('comments', 'soft', '60', '5', $comments); ?>
</div> -->
</br></br>
<div style="float: right;"><?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE,'', 'triangle-1-e', null, 'primary'); ?></div>
</div><br><br>
<div class="contentText">
<div style="float: left; width: 60%; padding-top: 5px; padding-left: 15%;">
 <div id="coProgressBar" style="height: 5px;"></div>
 <table border="0" width="100%" cellspacing="0" cellpadding="2">
 <tr>
	 <td align="center" width="33%" class="checkoutBarFrom"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '" class="checkoutBarFrom">' . CHECKOUT_BAR_DELIVERY . '</a>'; ?></td>
	 <td align="center" width="33%" class="checkoutBarCurrent"><?php echo CHECKOUT_BAR_PAYMENT; ?></td>
	 <td align="center" width="33%" class="checkoutBarTo"><?php echo CHECKOUT_BAR_CONFIRMATION; ?></td>
 </tr>
 </table>
</div>

</div>
<script type="text/javascript">
$('#coProgressBar').progressbar({
value: 66
});
</script>
</form>
<?php
require(DIR_WS_INCLUDES . 'template_bottom.php');
require(DIR_WS_INCLUDES . 'application_bottom.php');
?>

 

but when reaching the page all i get (at the right place thou):

 

//----- BEGINNING OF ADDITION: MATC -----// if(MATC_AT_CHECKOUT != 'false'){ require(DIR_WS_MODULES . 'matc.php'); } //----- END OF ADDITION: MATC -----// ?>

Posted

figured it....

 

but now i get this:

 

Deprecated: Assigning the return value of new by reference is deprecated in C:\ftp\bo\testwebshop\includes\modules\matc.php on line 80
Posted

another funny thing i noted.... when going directly to my conditions.php i see images... i have converted e-mail adresses to pictures to avoid spammers...

 

so http://carputer1.com/testwebshop/conditions.php shows the images but the text area at checkout_payment.php does not, the most funnt thing is that if i disable html2text it shows the pure html ie. tags and all... if i enable it shows correctly, just not the pictures

Posted

figured it:

 

line 60 in mact.php:

 

$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.

 

change to:

 

$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.

Posted

any idea why the pics do not show when the agreements are shown in the textarea?

Posted

Chris do you make any changes to the matc.php file?

 

i cant get the red cross to come on the button when the term and conditions have not been ticked.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...