Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
shnufc
shnufc
Hi,
 
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.
 
The tweet button I want to put in can be seen at
http://twitter.com/goodies/tweetbutton
 
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
Vera
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
Metz
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
Vera
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
crmartell
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.
 
carla
http://www.capebretoncafe.com/
example here
 
SajMalik
SajMalik
crmartell - please forgive my ignorance.
 
We have a PayPal account but do not use any other.
 
Could you give me a little idea how *addthis* actually works and what extra we NEED to do if anything?
 
Chris
 
crmartell
crmartell
Hi Chris
You can go to addthis.com and get the code. then add the code to a custom block. Then add the custom block to any page you want.
 
SajMalik
SajMalik
Thank you crmartell - should have posted back - have add AddThis now and pleased with the way it is working. Smile
 
thebirdman
thebirdman
Do you add the code to block content ?
cant seam to get to show up ?
tkx
all
 
SajMalik
SajMalik
Hello theBirdman - I have a block called AddThis:
 
Then simply inserted the code from AddThis
 
You can see it on my site: malikstores.co.uk
 
thebirdman
thebirdman
Tkx chris, code was bad,
redownloaded and works mint
Thank You
Randy
 
foxtrotdomains.com
foxtrotdomains.com
The AddThis model works very well. I am v3.6 and have no issues.