
Originally Posted by
ksoup
Hi Mailbeez, Re: Share Review on Facebook Module (V1.5)
The links going out in the emails look like the following
PHP Code:
Share my Review on Facebook:
http://www.facebook.com/sharer.php?u=http%3A%2F%2FLinkToOurStore.com%2Findex.php%3Fmain_page%3Dproduct_reviews_info%26amp%3Bproducts_id%3Dproducts_id%3D12034%26amp%3Breviews_id%3D4309&t=My Review
This will post fine to the Facebook Wall, but when someone clicks on the product on the facebook wall that was previewed, they get "product not found" and if you look at the link in the URL, it looks like the following:
http://LinkToOurStore.com/index.php?...eviews_id=4309
Because of the "%3D" in the link, the customer when they click on that link get a "product not found in the store."
Is there a way to fix this so it formats properly in the email sent to the customer prompting them to share their review on facebook?
Here is the fix for those who need this :)
file - /mailhive/mailbeez/review_facebook.php
about line 139
WAS!
Code:
$link_shop = mh_href_email_link(FILENAME_PRODUCT_REVIEWS_INFO, 'products_id=' . 'products_id=' . (int)$products_array['products_id'] . '&reviews_id=' . (int)$products_array['review_id']);
SHOULD BE:
Code:
$link_shop = mh_href_email_link(FILENAME_PRODUCT_REVIEWS_INFO, 'products_id=' . (int)$products_array['products_id'] . '&reviews_id=' . (int)$products_array['review_id']);
Bookmarks