Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL link


CyberRuiz

Recommended Posts

Posted

I just installed a new contribution and need to simply create an ssl link. I currently have my syntax as below, however I am not sure how to create the link so it goes over HTTPS rather than HTTP

 

<?php echo '<a href="' . tep_href_link(FILENAME_PRICE_MATCH, 'products_id=' . $HTTP_GET_VARS['products_id']) . '">' . tep_image(DIR_WS_IMAGES . 'price_match.gif', BOX_HEADING_PRICE_MATCH_ALT); ?></a></td>

 

thanks

Daniel

Posted

Try this:

<?php echo '<a href="' . tep_href_link(FILENAME_PRICE_MATCH, 'products_id=' . $HTTP_GET_VARS['products_id'], SSL) . '">' . tep_image(DIR_WS_IMAGES . 'price_match.gif', BOX_HEADING_PRICE_MATCH_ALT); ?></a></td>

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

Try this:

<?php echo '<a href="' . tep_href_link(FILENAME_PRICE_MATCH, 'products_id=' . $HTTP_GET_VARS['products_id'], SSL) . '">' . tep_image(DIR_WS_IMAGES . 'price_match.gif', BOX_HEADING_PRICE_MATCH_ALT); ?></a></td>

 

Thank you... that worked!

  • 2 years later...
Posted

same problem with a modified link:

<? require(DIR_WS_LANGUAGES . $language . '/price_match.php'); ?>

<a href=<?php
if ( ($today_time - strtotime($product_info['products_date_added'])) > 2000)  
echo "\"javascript:popupPricematch('price_match.php?" . tep_get_all_get_params() . "')\"";
?>


<?php echo  '' . tep_image_button('price_match.gif', IMAGE_BUTTON_PRICEMATCH, 'alt="update price" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" border="0" rel="nofollow"' ) . ' ';?>

<img src="../images/price_match.gif" alt="update price" title="update this price." onmouseover="rowOverEffect(this)'" onmouseout="rowOutEffect(this)'" border="0" rel="nofollow">

</a>

Archived

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

×
×
  • Create New...