<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Php on idw.xyz</title>
    <link>https://idw.xyz/tags/php/</link>
    <description>Recent content in Php on idw.xyz</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 16 Aug 2013 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://idw.xyz/tags/php/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Dynamically Generate Product Variations with PHP</title>
      <link>https://idw.xyz/posts/dynamically-generate-product-variations-with-php/</link>
      <pubDate>Fri, 16 Aug 2013 00:00:00 +0000</pubDate>
      <guid>https://idw.xyz/posts/dynamically-generate-product-variations-with-php/</guid>
      <description>&lt;p&gt;&lt;strong&gt;Note: This post was originally published on iamianwright.com it&amp;rsquo;s been moved here for archival purposes.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;ldquo;Why can&amp;rsquo;t I just dynamically generate product variations with PHP?&amp;rdquo;, I thought, &amp;ldquo;Surely that must be how other people do this!&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve been working on an ecommerce site, with Drupal Commerce, for a business that a friend and I have started up. We&amp;rsquo;re selling sports clothing that is made to order. The customer is able to pick a style, two colours and a size. There are eighteen available colours so for each style there are over three hundred variations that could be chosen. As well as building the site I am creating artwork for the products. They are fairly simple vectors that use only two flat colours with a black outline on top.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
