Skip to content

Commit

Permalink
Updated code for new purchasable implementation
Browse files Browse the repository at this point in the history
* Using the new repository for purchasable instead of all single ones
* Adapted store and templates for this change

Fixes:

* Class ProductHasOnlyOneCategoryEventListener fixed. Doctrine was crashing because of bad practice of collection setters.
  More information in doctrine/orm#5601
* Fixtures restarted. No one resultant fixtures cannot be applied when there is some data.

Code:

* Code has changed in order to establish a new relation between the project and elcodi updates.
* All admin pages, twig templates and forms have been created
* Store have changed in order to work with new implementation
* Some names were explicitely refering to product instead of purchasable. This has changed.
* Using purchasable_name and valid_image twig extensions in store template

Tests:

* Some tests have been redone. All of them were testing behavior, and because some urls have been changed, for example,
these scenarios have been changed.
* Testing pack administration
* Added some entries in Visithor and fixed old ones

Translations:

* Updated the translations guide [EN]
* Fixed some keys for purchasable_pack
* Added serbian in Languages and fixed Galician
  • Loading branch information
mmoreram committed Jan 31, 2016
1 parent e269cb4 commit f016f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/translations/messages.gl.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
elcodi_plugin:
paypal_web_checkout:
description: '<p>Paypal permite aos teus usuarios pagar empregando a súa conta de Paypal. Para habilitalo necesitas crear unha conta de Paypal e configurala aquí.</p><p>Non tes unha conta de Paypal?</p> <a href=''https://www.paypal.com/webapps/mpp/merchant'' class=''button'' target=''_blank''>Crea unha conta nova</a>.'
field:
business:
label: 'Conta de Paypal'
placeholder: xoan@example.com
description: '<p>Paypal permite aos teus usuarios pagar empregando a súa conta de Paypal. Para habilitalo necesitas crear unha conta de Paypal e configurala aquí.</p><p>Non tes unha conta de Paypal?</p> <a href=''https://www.paypal.com/webapps/mpp/merchant'' class=''button'' target=''_blank''>Crea unha conta nova</a>.'
name: 'Paypal Web Checkout'

0 comments on commit f016f22

Please sign in to comment.