<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>Prestashop Archives - Kemal Özçelik</title>
	<atom:link href="https://www.kemalozcelik.com/category/prestashop/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kemalozcelik.com/category/prestashop/</link>
	<description>Kişisel Blog</description>
	<lastBuildDate>Fri, 11 Jan 2019 21:34:23 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.0.2</generator>
<site xmlns="com-wordpress:feed-additions:1">155321232</site>	<item>
		<title>Prestashop Web Servislerini Kullanmak</title>
		<link>https://www.kemalozcelik.com/prestashop-web-servislerini-kullanmak/</link>
		
		<dc:creator><![CDATA[kemalozcelik]]></dc:creator>
		<pubDate>Fri, 11 Jan 2019 19:56:36 +0000</pubDate>
				<category><![CDATA[Prestashop]]></category>
		<guid isPermaLink="false">https://www.kemalozcelik.com/?p=799</guid>

					<description><![CDATA[<p>Prestashop eticaret projelerini hayata geçirirken kullandığım uygulamalardan bir tanesi. Bazı durumlarda prestashop ile farklı uygulamaların haberleşmesi gerekebiliyor.</p>
<p>The post <a rel="nofollow" href="https://www.kemalozcelik.com/prestashop-web-servislerini-kullanmak/">Prestashop Web Servislerini Kullanmak</a> appeared first on <a rel="nofollow" href="https://www.kemalozcelik.com">Kemal Özçelik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Prestashop eticaret projelerini hayata geçirirken kullandığım uygulamalardan bir tanesi. Bazı durumlarda prestashop ile farklı uygulamaların haberleşmesi gerekebiliyor.</p>
<ul>
<li>Pazaryeri entegrasyon uygulamaları.</li>
<li>Ön muhasebe yazılımları.</li>
<li>Mobil uygulamalar ve buna benzer farklı ihtiyaçlar.</li>
</ul>
<p>Bir süre öncesine kadar direkt olarak prestashop veritabanına müdahil olup ihtiyaç duyduğum bilgileri buradan temin etmeye yada toplamaya çalışıyordum. Ancak prestashop web servislerine biraz zaman ayırınca aslında daha önesinde kendi işimi zorlaştırdığımın farkına vardım.</p>
<p>Prestashop&#8217;un web servislerini kullanarak, kategoriler, ürünler, müşteriler, siparişler gibi bir çok noktadan pratik şekilde bilgi almak mümkün.</p>
<p>Öncelikle servisin nasıl kullanılacağını anlatan dökümana <a href="http://doc.prestashop.com/display/PS16/Web+service+tutorial?_ga=2.126123661.1612821174.1547235102-1338292293.1538739487" target="_blank" rel="noopener">bu linkten</a> erişebilirsiniz.</p>
<p><img data-attachment-id="805" data-permalink="https://www.kemalozcelik.com/prestashop-web-servislerini-kullanmak/prestashop-web-servisleri/" data-orig-file="https://www.kemalozcelik.com/wp-content/uploads/2019/01/prestashop-web-servisleri.png" data-orig-size="208,307" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="prestashop-web-servisleri" data-image-description="" data-image-caption="" data-medium-file="https://www.kemalozcelik.com/wp-content/uploads/2019/01/prestashop-web-servisleri-203x300.png" data-large-file="https://www.kemalozcelik.com/wp-content/uploads/2019/01/prestashop-web-servisleri.png" class="size-medium wp-image-805 aligncenter" src="https://i0.wp.com/www.kemalozcelik.com/wp-content/uploads/2019/01/prestashop-web-servisleri-203x300.png?resize=203%2C300" alt="Prestashop web servisleri" width="203" height="300" srcset="https://i0.wp.com/www.kemalozcelik.com/wp-content/uploads/2019/01/prestashop-web-servisleri.png?resize=203%2C300&amp;ssl=1 203w, https://i0.wp.com/www.kemalozcelik.com/wp-content/uploads/2019/01/prestashop-web-servisleri.png?w=208&amp;ssl=1 208w" sizes="(max-width: 203px) 100vw, 203px" data-recalc-dims="1" /></p>
<p>Prestashop yönetim arayüzünde web servis kullanımını aktif hale getirip servisi kullanmak için bir anahtar oluşturmak gerekli. Anahtarı oluştururken oldukça ayrıntılı bir yetkilendirme opsiyonu sunulmuş. Yani bazı erişim anahtarlarına sadece belli kaynaklara erişim verip bu kaynaklar üzerinde hangi işlemleri yapabileceğine dair sınırlandırmalar yapılabiliyor.</p>
<p>Erişim anahtarını oluşturduktan sonra yapılması gereken bizim için hazırlanmış web servis erişim kütüphanesini projemize dahil etmek ve bu kütüphaneyi kullanarak kaynaklara erişmek.</p>
<p>Web Servis Erişim Kütüphanesi: <a href="https://github.com/PrestaShop/PrestaShop-webservice-lib/archive/master.zip" target="_blank" rel="noopener">https://github.com/PrestaShop/PrestaShop-webservice-lib/archive/master.zip</a></p>
<p><img data-attachment-id="806" data-permalink="https://www.kemalozcelik.com/prestashop-web-servislerini-kullanmak/prestahop-webservice-aktiflestirme/" data-orig-file="https://www.kemalozcelik.com/wp-content/uploads/2019/01/prestahop-Webservice-aktiflestirme.png" data-orig-size="1286,638" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="prestahop-Webservice-aktiflestirme" data-image-description="" data-image-caption="" data-medium-file="https://www.kemalozcelik.com/wp-content/uploads/2019/01/prestahop-Webservice-aktiflestirme-300x149.png" data-large-file="https://www.kemalozcelik.com/wp-content/uploads/2019/01/prestahop-Webservice-aktiflestirme-1024x508.png" loading="lazy" class="alignnone wp-image-806 size-large" src="https://i0.wp.com/www.kemalozcelik.com/wp-content/uploads/2019/01/prestahop-Webservice-aktiflestirme-1024x508.png?resize=1024%2C508" alt="prestashop webservisi aktifleştirme" width="1024" height="508" srcset="https://i0.wp.com/www.kemalozcelik.com/wp-content/uploads/2019/01/prestahop-Webservice-aktiflestirme.png?resize=1024%2C508&amp;ssl=1 1024w, https://i0.wp.com/www.kemalozcelik.com/wp-content/uploads/2019/01/prestahop-Webservice-aktiflestirme.png?resize=300%2C149&amp;ssl=1 300w, https://i0.wp.com/www.kemalozcelik.com/wp-content/uploads/2019/01/prestahop-Webservice-aktiflestirme.png?resize=768%2C381&amp;ssl=1 768w, https://i0.wp.com/www.kemalozcelik.com/wp-content/uploads/2019/01/prestahop-Webservice-aktiflestirme.png?w=1286&amp;ssl=1 1286w" sizes="(max-width: 1024px) 100vw, 1024px" data-recalc-dims="1" /></p>
<p>İlk bağlantıyı yapmak için aşağıdaki metodu çağırmamız yeterli.</p>
<p><code>&lt;? $webService = new PrestaShopWebservice('http://example.com/', 'UCCLLQ9N2ARSHWCXLT74KUKSSK34BFKX', false); ?&gt;</code></p>
<p>Dökümanda müşterileri çekmekle ilgili örnek kullanılmış aşağıda bu örnek kullanılmış. Veriler servisten XML formatında döndüğünde PHP ile XML verilerine erişmenizi sağlayan Simple XML&#8217; e göz atmanızda fayda var.</p>
<p><code>&lt;?<br />
// The key-value array<br />
$opt['resource'] = 'customers';<br />
Retrieving the XML data<br />
$xml = $webService-&gt;get($opt);<br />
?&gt;<br />
</code></p>
<p>The post <a rel="nofollow" href="https://www.kemalozcelik.com/prestashop-web-servislerini-kullanmak/">Prestashop Web Servislerini Kullanmak</a> appeared first on <a rel="nofollow" href="https://www.kemalozcelik.com">Kemal Özçelik</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">799</post-id>	</item>
		<item>
		<title>Prestashop Telefon Formatı Kontrolünü Yoksaymak</title>
		<link>https://www.kemalozcelik.com/prestashop-telefon-formati-kontrolunu-yoksaymak/</link>
		
		<dc:creator><![CDATA[kemalozcelik]]></dc:creator>
		<pubDate>Tue, 25 Dec 2018 19:15:53 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Prestashop]]></category>
		<guid isPermaLink="false">http://www.kemalozcelik.com/?p=731</guid>

					<description><![CDATA[<p>Prestashop açık kaynak kodlu popüler bir e-ticaret yazılımı, yazılım oldukça iyi özelliklere sahip ancak bazı durumlarda özelleştirmeler yapmak gerekebiliyor.</p>
<p>The post <a rel="nofollow" href="https://www.kemalozcelik.com/prestashop-telefon-formati-kontrolunu-yoksaymak/">Prestashop Telefon Formatı Kontrolünü Yoksaymak</a> appeared first on <a rel="nofollow" href="https://www.kemalozcelik.com">Kemal Özçelik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Prestashop açık kaynak kodlu popüler bir e-ticaret yazılımı, yazılım oldukça iyi özelliklere sahip ancak bazı durumlarda özelleştirmeler yapmak gerekebiliyor.</p>
<p>Ürünü sepetine eklemiş olan müşterimiz üyelik aşamasında yada telefon bilgilerine girerken prestashop&#8217;un telefon numarası doğrulama metoduna takılıp ürünü satın almaktan vazgeçebilir. Standart durumda bu input alanında hangi formatta girileceğine dair bir placeholder yada input mask bulunmuyor. Türkiye için doğru format +905321234567 ancak bu formatı sıradan bir kullanıcının doğru girmesi olası değil.</p>
<p><strong>/classes</strong> klasörü içerisinde <strong>Validate.php</strong> dosyasını editleyerek bu formatı değiştirmek yada iptal etmek mümkün.</p>
<p><strong>ORJİNALİ</p>
<p></strong><code>public static function isPhoneNumber($number)<br />
{<br />
return preg_match('/^[+0-9. ()-]*$/', $number);<br />
}<br />
</code></p>
<p><strong>GÜNCELLENMİŞ HALİ</strong></p>
<p><code>public static function isPhoneNumber($number)<br />
{<br />
return true;<br />
}<br />
</code></p>
<p>&nbsp;</p>
<p>https://www.prestashop.com/forums/topic/393876-how-disable-phone-number-format-check/</p>
<p>The post <a rel="nofollow" href="https://www.kemalozcelik.com/prestashop-telefon-formati-kontrolunu-yoksaymak/">Prestashop Telefon Formatı Kontrolünü Yoksaymak</a> appeared first on <a rel="nofollow" href="https://www.kemalozcelik.com">Kemal Özçelik</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">731</post-id>	</item>
	</channel>
</rss>
