Amazon API AWS webservices Generator Product script auto web store complete
DANNY:
Customize Country, specific Product by Categoryada pertanyaan berikut: gimana caranya membuat spesifik niche produk by country dan kategori aja? contohnya negara preancis dan kategori Electronics tapi lebih spesifikkan produk nya seperti Printer, Tablet, Handphone, Netbook dll...
oke gampang caranya
1. buka config.phpIsikan value berikut pada variable
Code:
define('CATEGORY','Electronics'); //set default homepage
define('COUNTRY','fr'); //set default country
step satu selesai
2. buka index.phptemukan bagian ini
Code:
<a class="menulisting<? if($category == 'All') { echo 'visited';} ?>" href="<? echo $http_rot.'list-category-All/'.$country.'/'.$pages.'/'; ?>">ALL</a>
<a class="menulisting<? if($category == 'Apparel') { echo 'visited';} ?>" href="<? echo $http_rot.'list-category-Apparel/'.$country.'/'.$pages.'/'; ?>">Apparel</a>
<a class="menulisting<? if($category == 'Appliances') { echo 'visited';} ?>" href="<? echo $http_rot.'list-category-Appliances/'.$country.'/'.$pages.'/'; ?>">Appliances</a>
dst.........
dst.........
dst.........
dst.........
dst.........
coding diatas itu adalah menu samping, Delete semua dan Ubah menjadi:
Code:
<a class="menulisting<? if($product == 'Printer') { echo 'visited';} ?>" href="<? echo $http_rot.'list-category-All/'.$country.'/'.$pages.'/Printer'; ?>">Printer</a>
<a class="menulisting<? if($product == 'Tablet') { echo 'visited';} ?>" href="<? echo $http_rot.'list-category-All/'.$country.'/'.$pages.'/Tablet'; ?>">Tablet</a>
<a class="menulisting<? if($product == 'Smartphone') { echo 'visited';} ?>" href="<? echo $http_rot.'list-category-All/'.$country.'/'.$pages.'/Smartphone'; ?>">Smartphone</a>
<a class="menulisting<? if($product == 'Samsung') { echo 'visited';} ?>" href="<? echo $http_rot.'list-category-All/'.$country.'/'.$pages.'/Samsung'; ?>">Samsung</a>
dst............
dst............
dst............
dst............
dst............
3. selesai save dan refresh situs anda
Selain berdasarkan tipe product, anda juga menambahkan berdasarkan merek seperti: samsung, sonyericson, motorola dll... atau apapun sesuai kebutuhan category anda
DANNY:
Verifikasi Google webmaster dan Analitycssetelah anda mendaftarkan google webmaster dan analitycs maka anda akan mendapatkan code meta ataupun script untuk verifikasi maupun untuk ditanam dalam website kita, lalu dimanakan kita dapat menempatkannya dalam script ini?
1. buka index.php dan cari </head>
2. copy script yang anda dapat dari google
3. paste script yang anda dapat dari google sebelum/diatas </head>
4. save selesai
DANNY:
Cara mengubah META title, keyword dan descriptionbuka config.php////////////////////META LIST PRODUCT//////////////////////////////
bagian ini merupakan meta yang akan ditampilkan pada halaman list/search/category product////////////////////META DETAIL PRODUCT///////////////////////////////
bagian ini merupakan meta yang akan ditampilkan pada halaman detail productINFO VARIABLEQuote VariableMeta ListMeta DetailResult '.MY_NAME_STORE.'Memunculkan nama toko online anda '.$category.'Memunculkan nama category '.$str.'memunculkan judul product '.$countryname.'memunculkan nama negara '.$newkeyword.'memunculkan koleksi keyword product '.$product.'memunculkan judul product yang disearch
anda bisa memodifikasi bagian ini sesuai keinginan anda untuk meningkatkan keakuratan SEO.
DANNY:
Cara mengopen Semua NegaraPertanyaan, sob mau nambah list country bijimane? nah loh? ane belum mikirin bagian ini, okelah kalo begitu... langsung aja kita open kebetulan variable yang ane butuhin cocok dan support untuk open semua country, tapi ada sedikit perubahan untuk mendisable default awal country membuat CASE jika ada country lain yang dipanggil. cekidot:
1. buka config.php dan hapus bagian ini:
Code:
define('AWS_TAG','');
2. cari bagian ini di config.php
Code:
define('COUNTRY','com');
ubah menjadi
Code:
define('COUNTRYdefault','com');
bagian itu adalah halaman country default home anda, terserah isikan com atau co.uk atau negara default untuk home anda
3. masih di config.php, letakkan script ini diatas
include 'fungsi.php';Code:
//////////////////////////////////////////////////
if(!empty($_POST[country])) { $country = $_POST[country]; }
else { $country = $_GET[country]; }
if(empty($country)) { $country = COUNTRYdefault; }
/////////////////////ISI SESUAI TAG COUNTRY ANDA
if($country == 'com')
{ define('COUNTRY','com'); define('AWS_TAG', 'Tag-anda-sesuai-country-20'); }
if($country == 'co.uk')
{ define('COUNTRY','co.uk'); define('AWS_TAG', 'Tag-anda-sesuai-country-21'); }
if($country == 'de')
{ define('COUNTRY','de'); define('AWS_TAG', 'Tag-anda-sesuai-country-21'); }
if($country == 'es')
{ define('COUNTRY','es'); define('AWS_TAG', 'Tag-anda-sesuai-country-21'); }
if($country == 'it')
{ define('COUNTRY','it'); define('AWS_TAG', 'Tag-anda-sesuai-country-21'); }
if($country == 'fr')
{ define('COUNTRY','fr'); define('AWS_TAG', 'Tag-anda-sesuai-country-21'); }
if($country == 'ca')
{ define('COUNTRY','ca'); define('AWS_TAG', 'Tag-anda-sesuai-country-20'); }
if($country == 'co.jp')
{ define('COUNTRY','co.jp'); define('AWS_TAG', 'Tag-anda-sesuai-country-22'); }
if($country == 'cn')
{ define('COUNTRY','cn'); define('AWS_TAG', 'Tag-anda-sesuai-country-23'); }
/////////////////////BAGIAN INI TIDAK PERLU DIRUBAH/////////////
if($country == 'de') { $countryname = 'Deutschland'; }
if($country == 'com') { $countryname = 'Usa'; }
if($country == 'co.uk') { $countryname = 'England'; }
if($country == 'ca') { $countryname = 'Canada'; }
if($country == 'fr') { $countryname = 'France'; }
if($country == 'es') { $countryname = 'Espana'; }
if($country == 'it') { $countryname = 'Italia'; }
if($country == 'cn') { $countryname = 'China'; }
if($country == 'co.jp') { $countryname = 'Japan'; }
//////////////////////////////////////////////////
4. buka index.php
letakkan script berikut diatas
<h3>Category</h3>Code:
<h3>Country</h3><hr>
<div class="tborder">
<a class="menulisting<? if($country == 'com') { echo 'visited';} ?>" href="<? echo $http_rot.'list-category-'.$category.'/com/1/'; ?>"><img height="14" src="https://images-na.ssl-images-amazon.com/images/G/01/associates/network/US-flag._V192206995_.gif"> USA</a>
<a class="menulisting<? if($country == 'de') { echo 'visited';} ?>" href="<? echo $http_rot.'list-category-'.$category.'/de/1/'; ?>"><img height="14" src="https://images-na.ssl-images-amazon.com/images/G/01/associates/network/DE-flag._V192206982_.gif"> Deutschland</a>
<a class="menulisting<? if($country == 'co.uk') { echo 'visited';} ?>" href="<? echo $http_rot.'list-category-'.$category.'/co.uk/1/'; ?>"><img height="14" src="https://images-na.ssl-images-amazon.com/images/G/01/associates/network/UK-flag._V192206992_.gif"> England</a>
<a class="menulisting<? if($country == 'ca') { echo 'visited';} ?>" href="<? echo $http_rot.'list-category-'.$category.'/ca/1/'; ?>"><img height="14" src="https://images-na.ssl-images-amazon.com/images/G/01/associates/network/CA-flag._V192206983_.gif"> Canada</a>
<a class="menulisting<? if($country == 'fr') { echo 'visited';} ?>" href="<? echo $http_rot.'list-category-'.$category.'/fr/1/'; ?>"><img height="14" src="https://images-na.ssl-images-amazon.com/images/G/01/associates/network/FR-flag._V192206976_.gif"> France</a>
<a class="menulisting<? if($country == 'it') { echo 'visited';} ?>" href="<? echo $http_rot.'list-category-'.$category.'/it/1/'; ?>"><img height="14" src="https://images-na.ssl-images-amazon.com/images/G/01/associates/network/IT-flag._V194799758_.gif"> Italia</a>
<a class="menulisting<? if($country == 'es') { echo 'visited';} ?>" href="<? echo $http_rot.'list-category-'.$category.'/es/1/'; ?>"><img height="14" src="https://images-na.ssl-images-amazon.com/images/G/01/associates/network/ES-flag._V156897028_.gif"> Espana</a>
<a class="menulisting<? if($country == 'co.jp') { echo 'visited';} ?>" href="<? echo $http_rot.'list-category-'.$category.'/co.jp/1/'; ?>"><img height="14" src="https://images-na.ssl-images-amazon.com/images/G/01/associates/network/JP-flag._V192207005_.gif"> Japan</a>
<a class="menulisting<? if($country == 'cn') { echo 'visited';} ?>" href="<? echo $http_rot.'list-category-'.$category.'/cn/1/'; ?>"><img height="14" src="https://images-na.ssl-images-amazon.com/images/G/01/associates/network/CN-flag._V204498394_.gif"> China</a>
<div style="clear:both"></div>
</div>
bagian diatas bisa anda hapus jika ada country yang tidak anda inginkan
have fun
;)
Navigation