Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Taking E-commerce Syliusly

Taking E-commerce Syliusly

Saša Stamenković

October 24, 2015
Tweet

More Decks by Saša Stamenković

Other Decks in Programming

Transcript

  1. Using Sylius bundles $ composer require sylius/taxonomy-bundle Enable it in

    kernel, configure: sylius_taxonomy: driver: doctrine/orm ...
  2. $ ./app/console sylius:install Installing Sylius... Step 1 of 4. Checking

    system requirements. +--------------------+----------------+ | Issue | Recommendation | +--------------------+----------------+ | short_open_tag | | | session.auto_start | | +--------------------+----------------+ Success! Your system can run Sylius properly. Step 2 of 4. Setting up the database. Creating Sylius database for environment dev. 4/4 [||||||||||||||||||||||||||||] 100%
  3. Sylius\Component\Addressing\Matcher\ZoneMatcher 45 ✔ returns null if there are no zones

    51 ✔ should match address by province 68 ✔ should match address by province and scope 85 ✔ should match address by country 102 ✔ should match address by country and scope 119 ✔ should match address for nested zones 143 ✔ should match address for nested zones and scope 167 ✔ should match address from province when many are found 194 ✔ should match address from province when many are found by scope 221 ✔ should match all zones when one zone for address is defined 238 ✔ should match all zones by scope when one zone for address is defined
  4. Scenario: Placing the order Given I am logged in user

    And I added product "PHP Top" to cart And I go to the checkout start page And I fill in the shipping address to United Kingdom And I press "Continue" And I select the "DHL Express" radio button And I press "Continue" And I select the "Dummy" radio button And I press "Continue" When I click "Place order" Then I should be on the store homepage And I should see "Thank you for your order!"
  5. ★ Community ★ Clean code ★ BDD ★ Hard updates

    ★ Steep learning curve ★ Growing codebase