<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="http://joetsuihk.com/en/taxonomy/term/272/all" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>cart</title>
    <link>http://joetsuihk.com/en/taxonomy/term/272/all</link>
    <description></description>
    <language>en</language>
     <atom:link href="http://joetsuihk.com/en/taxonomy/term/272/all/feed" rel="self" type="application/rss+xml" />
      <item>
    <title>訪客購物車 programmatically</title>
    <link>http://joetsuihk.com/en/node/398</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;&lt;img src=&quot;http://www.joetsuihk.com/sites/default/files/download.png&quot; /&gt;&lt;br /&gt;
需求：每個訪客都會預設幫他們將一件貨物加到購物車&lt;br /&gt;
他們便可以直接完成交易&lt;/p&gt;
&lt;p&gt;Commerce kickstart已經是一個現成的示範&lt;br /&gt;
訪客就算不注冊仍然可以使用購物車&lt;br /&gt;
而且一定情況之下關閉瀏覽器之後再回到網站仍然可以找回上次的紀錄繼續購物&lt;/p&gt;
&lt;p&gt;但在 init 的時候使用 &lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-taxonomy-vocabulary-2 field-type-taxonomy-term-reference field-label-above&quot;&gt;&lt;div class=&quot;field-label&quot;&gt;Free tags:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/development&quot;&gt;Development&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags_3&quot;&gt;commerce&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags_10&quot;&gt;cart&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-add-this field-type-addthis field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a class=&quot;addthis_button &quot; addthis:title=&quot;訪客購物車 programmatically - JOE Tsui&amp;#039;s Drupal life in Hong Kong (香港)&quot; addthis:url=&quot;http://joetsuihk.com/en/node/398&quot;&gt;&lt;img src=&quot;http://s7.addthis.com/static/btn/sm-share-en.gif&quot; alt=&quot;Share page with AddThis&quot; /&gt;
&lt;/a&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
     <pubDate>Mon, 18 Aug 2014 11:24:29 +0000</pubDate>
 <dc:creator>JOE</dc:creator>
 <guid isPermaLink="false">398 at http://joetsuihk.com</guid>
  </item>
  <item>
    <title>Drupal commerce - Add to cart anonymously, programmatically</title>
    <link>http://joetsuihk.com/en/drupal_commerce_add_to_cart_anonymously_programmatically</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;&lt;img src=&quot;http://www.joetsuihk.com/sites/default/files/download.png&quot; /&gt;&lt;br /&gt;
Feature: add an item to the shopping cart of every visitor so they can checkout immediately.&lt;/p&gt;
&lt;p&gt;Actually a shopping cart can belongs to anonymous, linked by session ID&lt;br /&gt;
Commerce kickstart had already demonstrate such behaviour.&lt;/p&gt;
&lt;p&gt;But the problem is, &lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-taxonomy-vocabulary-2 field-type-taxonomy-term-reference field-label-above&quot;&gt;&lt;div class=&quot;field-label&quot;&gt;Free tags:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/development&quot;&gt;Development&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags_3&quot;&gt;commerce&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags_10&quot;&gt;cart&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-add-this field-type-addthis field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a class=&quot;addthis_button &quot; addthis:title=&quot;Drupal commerce - Add to cart anonymously, programmatically - JOE Tsui&amp;#039;s Drupal life in Hong Kong (香港)&quot; addthis:url=&quot;http://joetsuihk.com/en/drupal_commerce_add_to_cart_anonymously_programmatically&quot;&gt;&lt;img src=&quot;http://s7.addthis.com/static/btn/sm-share-en.gif&quot; alt=&quot;Share page with AddThis&quot; /&gt;
&lt;/a&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
     <pubDate>Mon, 18 Aug 2014 11:17:15 +0000</pubDate>
 <dc:creator>JOE</dc:creator>
 <guid isPermaLink="false">397 at http://joetsuihk.com</guid>
  </item>
  </channel>
</rss>
