Implementing a Store in Brazil
Jonathan Finlay
Posted: Tuesday, May 01, 2012 1:51:05 PM

Groups: Member

Joined: 4/18/2012
Posts: 9
Hi, I´ve checked on the forum but couldn´t find any helpful info.

I´ve used the store builder to implement my Zazzle store into a Brazilian website (in Portuguese). However, when the user clicks the product, the user is taken to the American version of store to buy (in English with currency in $). I´d like it if the user was taken to the Brazilian site of Zazzle (zazzle.com.br). I tried changing the config and css files, but when I try to change the feed.zazzle.com to .com.br I get an error message. Anyone knows how I can change this? For reference, the site is www.inglesrio.com.br/presentes.php

Tks!
FishTsdotcom
Posted: Tuesday, May 01, 2012 2:13:12 PM
 Zazzle Proseller
Groups: ProSeller

Joined: 2/27/2008
Posts: 2,493
Here is from a previous post about doing the same thing. I would think it should work from any currency and country as long as their are zazzle feeds for it.

Quote:
http://forum.zazzle.com/tools/using_the_zazzle_store_builder_with_uk_stores?m=342842

have been playing around with the html and have got the Zazzle store builder to show up in GBP pounds using the £ symbol and linking the store builder through to the UK site.

Here is the code that I used.

The url feeds in the zstore. file look like this:

// URLS used by the Zazzle Store Builder
$poweredByZazzleButton = "http://www.zazzle.com/assets/graphics/logos/poweredByZazzle_v2.png";
$dataURLBase = $contributorHandle!="" ? 'http://feed.zazzle.com/'.$contributorHandle.'/feed' : 'http://feed.zazzle.com/feed';
$zazzleURLBase = 'http://www.zazzle.com';

If you change those feeds to the zazzle.co.uk, add your store, and then after the word feed add the text &ft=gb see example below, this will direct your store builder to zazzle.co.uk and show the prices in GBP but it will not change the dollar symbol to the GBP symbol.

// URLS used by the Zazzle Store Builder
$poweredByZazzleButton = "http://www.zazzle.com/assets/graphics/logos/poweredByZazzle_v2.png";
$dataURLBase = $contributorHandle!="" ? 'http://www.zazzle.com/justbyjulie/feed&ft=gb' : 'http://feed.zazzle.co.uk/feed&ft=gb';
$zazzleURLBase = 'http://www.zazzle.co.uk';

To change the dollar symbol on the prices to the GBP symbol you need to add a piece of text to the following section of the zstore. file. Towards the end of the zstore. file you will find the following text:

if( $showProductPrice == 'true' ) {
$displayprice = "<div class=\"productPrice\"><a href=\"$link\" title=\"$description\" class=\"productPrice\">$$price</a></div>";

All you need to do is change the $$price to read &pound$price so your script will look like this:

if( $showProductPrice == 'true' ) {
$displayprice = "<div class=\"productPrice\"><a href=\"$link\" title=\"$description\" class=\"productPrice\">&pound$price</a></div>";

This will then display the prices in your store builder with the £ instead of the $ symbol.

Hope this helps everyone. If you do need help then feel free to contact me through my zazzle store.
Jonathan Finlay
Posted: Tuesday, May 01, 2012 5:19:24 PM

Groups: Member

Joined: 4/18/2012
Posts: 9
thanks for the advice, but I changed tried it with both the Brazilian site and the exact UK values listed above, but neither change makes any difference. I read in other posts that there is a problem with the RSS feed and calling product types, do you think the problem is related??
podaid
Posted: Tuesday, May 01, 2012 5:43:40 PM
 Zazzle Proseller
Groups: ProSeller

Joined: 4/17/2012
Posts: 38
Only if your trying to show specific products.
But there could definitely be some other issue's going on that we dont know about yet. Zazzle doesnt really communicate these things unless you bring them up first. Maybe send them an email to find out.
Jonathan Finlay
Posted: Thursday, May 03, 2012 8:07:22 AM

Groups: Member

Joined: 4/18/2012
Posts: 9
thanks for the advice. I sent Zazzle an email, lets wait and see! If anybody else knows, the code from the zstore.php file is:

$poweredByZazzleButton = "http://www.zazzle.com/assets/graphics/logos/poweredByZazzle_v2.png";
$dataURLBase = $contributorHandle!="" ? 'http://feed.zazzle.com/'.$contributorHandle.'/feed&ft=br' : 'http://feed.zazzle.com.br/feed&ft=br';
$zazzleURLBase = 'http://www.zazzle.com.br';
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Print this topic
RSS Feed
Normal
Threaded