minghoo Posted October 4, 2005 Posted October 4, 2005 Hi Guys, How can i change this source code to active link: $email_body .= sprintf(TEXT_EMAIL_LINK, tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id'])) . "\n\n" . sprintf(TEXT_EMAIL_SIGNATURE, STORE_NAME . "\n" . HTTP_SERVER . DIR_WS_CATALOG . "\n"); since those code from tell a friend email, what i want is product link, and store name can be active links when customer receive tell a friend email. Thanks sean My contributions: EZ new fields easy way add Qty box in your product_info.php
Guest Posted October 4, 2005 Posted October 4, 2005 you could add the <a> tags around the tep_href_link something like this: $email_body .= sprintf(TEXT_EMAIL_LINK, '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id']), false, false) . '">' . $product_info['products_name'] . '</a>' . "\n\n" . sprintf(TEXT_EMAIL_SIGNATURE, STORE_NAME . "\n" . HTTP_SERVER . DIR_WS_CATALOG . "\n");
minghoo Posted October 4, 2005 Author Posted October 4, 2005 you could add the <a> tags around the tep_href_link something like this: $email_body .= sprintf(TEXT_EMAIL_LINK, '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id']), false, false) . '">' . $product_info['products_name'] . '</a>' . "\n\n" . sprintf(TEXT_EMAIL_SIGNATURE, STORE_NAME . "\n" . HTTP_SERVER . DIR_WS_CATALOG . "\n"); Thank you so much. sean My contributions: EZ new fields easy way add Qty box in your product_info.php
Recommended Posts
Archived
This topic is now archived and is closed to further replies.