Has anyone successfully added this to their site yet? I wanted to add it to each product details page, twitter have a page that apparently builds the code for you but it won't grab the page url dynamically it seems.
I've thought that their has to be a way to get viart to feed this information itself but I don't really know php so don't know how to get it to call the relevant page url each time it builds the page per product.
I also want to do this with a facebook like button as well and am guessing I'm going to have the same problems?
Anyone got knowledge of these and if you can get it integrated?
Regards
Simon
Vera
24 Sep 2010 3:31 PM
We have successfully integrated these features for some of our clients and this isn't some costly customizations. The only difficulty is that FaceBook for example, requires specific product URL and it changes in ViArt Shop depending on category that's why it is necessary to create some variable that will tell FaceBook the URL of the page.
Please feel free to contact us via https://www.viart.com/support.php for a quote to integrate Twitter and FaceBook features on your site.
Best Regards,
ViArt Support
Metz
24 Sep 2010 4:40 PM
Are you saying that if an item is in multiple categories, a different URL is generated for each one? Doesn't this create a duplicate content problem for the search engines?
Vera
30 Sep 2010 11:31 AM
In version 3.6 there was added a category_id tag to friendly URLs. The category_id is used to pass the category detail query into the product's breadcrumbs. If product is located in more than one category it will have different category_id tags. In case you are sure that you want to remove this tag, all you need to do is open block_products_details.php and change this line:
$t->set_var("product_details_url", $friendly_url . $friendly_extension . $details_query);
to this one:
$t->set_var("product_details_url", $friendly_url . $friendly_extension);
NOTE: this problem is resolved in version 4.0 where instead of category_id tag there is used a canonical tag that points to the search engines a unique product URL and it is not visible in FURLS.
Best Regards,
ViArt Team
crmartell
7 Oct 2010 12:54 PM
Simon
I have used addthis.com on many of my websites.
This gives you the code that you can enter into a custom block and add to the Product detail page.
It allows visitors to your site to share the information on the page with many social sites, including facebook and twitter.