rough-egg-5359
06/19/2021, 6:43 AMcareful-country-34175
06/21/2021, 8:45 AMgorgeous-school-55417
06/21/2021, 11:32 AMdelete-migration-files:
command: "vendor/bin/console propel:migration:delete"
later on new migrations will be created (propel:diff). any idea why not the existing migrations will be executed? migration files which are checked in into repository should not be deleted, right?loud-rainbow-44827
06/22/2021, 7:22 AMvendor/spryker/gui/assets/Zed/sass/_custom.scss
file? i need to change some styles in ZED.mysterious-king-59256
06/22/2021, 9:19 AMstocky-insurance-30459
06/22/2021, 10:32 AMwitty-jordan-77597
06/22/2021, 4:13 PMancient-helicopter-789
06/23/2021, 9:49 AMwitty-jordan-77597
06/23/2021, 2:31 PMcms_page.csv
with docker/sdk console data:import --config=data/import/local/our-full-import-file_EN.yml
?
note: the path to cms_page is included in our-full-import-file_EN.yml
In cms_page.csv there are columns already like placeholder.content.en_US, placeholder.content.de_DE which seems to be working on import and here the values will change.
But we have placeholder.subTitle.en_US, …de_DE also, but here the changes doesn’t affect in database table -> spy_cms_page_storage - the values won’t imported 😞
Can anyone help with this problem?astonishing-lamp-41374
06/23/2021, 7:27 PM/**
* @param \Spryker\Zed\Kernel\Container $container
*
* @return \Spryker\Zed\Kernel\Container
*/
public function addAttributeProduct(Container $container): Container
{
$container->set(static::FACADE_ATTRIBUTE_PRODUCT, function (Container $container) {
return $container->getLocator()->attributeProduct()->facade();
});
return $container;
}
we on the right track here?ancient-arm-53696
06/24/2021, 8:54 AMMigrate database
Executing migration PropelMigration_1624522485 up
Propel\Runtime\Exception\RuntimeException - Exception: <error>Failed to execute SQL "DROP INDEX `spy_acl_groups_has_roles-fi_acl_group` ON `spy_acl_groups_has_roles`". Aborting migration.</error>
in /data/vendor/propel/propel/src/Propel/Generator/Command/MigrationMigrateCommand.php (149)
The UP-migration looks like this:
# This is a fix for InnoDB in MySQL >= 4.1.x
# It "suspends judgement" for fkey relationships until are tables are set.
SET FOREIGN_KEY_CHECKS = 0;
DROP INDEX `spy_acl_groups_has_roles-fi_acl_group` ON `spy_acl_groups_has_roles`;
CREATE INDEX `spy_acl_groups_has_roles-fi_acl_role` ON `spy_acl_groups_has_roles` (`fk_acl_role`);
DROP INDEX `spy_acl_user_has_group-fi_acl_group` ON `spy_acl_user_has_group`;
CREATE INDEX `spy_acl_user_has_group-fi_user` ON `spy_acl_user_has_group` (`fk_user`);
acoustic-businessperson-27970
06/25/2021, 7:51 AMbest-spring-76376
06/25/2021, 11:51 AMPyz\Yves\DiscountPromotion
module from demoshop and place it somewhere in your project" but this module does not exist in b2c or in b2b demo shop.
2. problem is for adding discount ID Make sure CartOperationHandler sets ID of idDiscountPromotion but in project there is information
Cart operations must be updated to cover product bundle logic as follows: instead of CartOperationHandler use \Pyz\Yves\Cart\Handler\ProductBundleCartOperationHandler (you can take this from the demoshop) but this also does not exist in demo shop.
Can someone tell how to implement discount and promotion in Yves, or where to see some example.
Thank youfreezing-beard-78365
06/25/2021, 3:24 PMvendor/bin/console propel:install
I get this error, anyone knows why? and how can I solve it?
$->vendor/bin/console propel:install
Store: DE | Environment: development
Creating Database
RuntimeException - Exception: createdb: error: could not connect to database template1: FATAL: role "root" does not exist
in /home/sqli/Desktop/work/b2c-demo-shop/vendor/spryker/propel/src/Spryker/Zed/Propel/Business/Model/PropelDatabase/Adapter/PostgreSql/CreatePostgreSqlDatabase.php (133)
Command: vendor/bin/console propel:install
rough-egg-5359
06/25/2021, 6:24 PMhundreds-flower-81270
06/30/2021, 11:27 AMacceptable-chef-52827
06/30/2021, 12:55 PMnutritious-angle-64267
07/01/2021, 11:23 AMmysterious-diamond-73348
07/01/2021, 1:26 PMancient-apartment-59274
07/02/2021, 12:39 PMspy_product_abstract_localized_attributes
in my case … so for each laguage theres a dedicated row … this works so far.
What i dont get is, that these values are obviously used to be saved on the quote and also will be used on further processing … thats a bit strange.
What i would expect is some kind of “technically” value which is the same for each language. For white this would be “value.white” for example but instead, the “translation” of the language is saved to the quote (when adding to cart). I assumed till now, that this “technically” key is saved in the non localized attributes table (which is spy_product_attribute
in that case) and will be used when saved to the quote
What do I miss here?
Bestrough-egg-5359
07/02/2021, 1:45 PMearly-rocket-64335
07/05/2021, 4:40 PMrough-egg-5359
07/06/2021, 9:18 AMrough-egg-5359
07/06/2021, 10:39 AMspyCmsBlock({id_cms_block: 54})
?many-yacht-15129
07/06/2021, 1:26 PMstrong-laptop-16773
07/06/2021, 1:26 PMechoing-notebook-55206
07/07/2021, 1:01 PMdocker/sdk cli composer require my/packagename
is working for a bit and then exiting with the only output being Killed.
It's not a memory or a time limit issue, I've monitored both with docker stats
and they don't approach any limit. It's not tied to the composer package, any I install has the same result. I'm on Mac OS Big Sur, if that helps.
Anyone have any idea?best-sundown-96727
07/07/2021, 1:42 PMpurple-evening-1996
07/08/2021, 7:40 AMabc
in cart with a calculated discount (cominig from a voucher)
and you want to add the same product with SKU abc
again, the quantitiy of abc
will increase. But we don’t want that
the calculated discount will also apply to the additional added product abc
.
So it should be possible to flag this product that it stands on its own and you can’t increase/decrease the quantity.
Example what we want:
- 1x product with SKU abc
(1x10€) with calculated discount (10€ - 10%) -> 9€
- 2x product with SKU abc
(2x20€)
--------------
29€
How it is at the moment:
- 3x product with SKU abc
(3x10€) with calculated discount (30€ - 10%) -> 27€
--------------
27€
If you are using the quick add to cart functionality
each product, also with the same sku
,
will be added separately. This is kind of what we also want to achieve.gentle-journalist-88390
07/08/2021, 8:05 AMspryker/shopping-list: 4.1.0
and we are getting error:
Error - Exception: Class 'Generated\Shared\Transfer\SpyShoppingListPermissionGroupEntityTransfer' not found
When looking into the core transfer.xml there is no such transfer defined. Does anyone have any idea?