that has been fixed already in a latter version
could you point me to the PR or change Dominik? The only one I found is coreshop/CoreShop#738 but we are on 2.1.6 so this should not be our issue here. Might just backport the fix as long as we can't update here
Hey @dpfaffenbauer ,
I need to remove the gender field within the customer registration process. I first thought it would be enough to remove the gender field within the FormBuilder process with own formtype extension. However, this doesn't seem to be enough. I have found now this source, that seems to always add the gender constraint validation. Is there a way to remove this validation? I came across this YAML file: https://github.com/coreshop/CoreShop/blob/2.2.9/src/CoreShop/Bundle/CustomerBundle/Resources/config/validation/Customer.yml
Thanks in advance
composer create-project pimcore/skeleton demo_temp
composer config "minimum-stability" "dev"
composer config "prefer-stable" "true"
composer req coreshop/core-shop:^3.0
php bin/console pimcore:bundle:enable CoreShopCoreBundle
php bin/console coreshop:install
php bin/console coreshop:install:demo
I am trying to implement a product import in Coreshop using Pimcore DataHub and the Data Importer. Unfortunately I can't get it to access the store attributes of the products the mapping is not possible. Does anyone have a tip how to access it?
With data objects the mapping is possible without problems.
Hi, depending on the login state I'd like to switch between Login/Logout in the header menu. Similar to the demo I've created a controller to include those links.
When calling the getCustomer() method, the service is not available:
$customer = $this->get(CustomerContextInterface::class)->getCustomer();
Service "CoreShop\Component\Customer\Context\CustomerContextInterface" not found: even though it exists in the app's container, the container inside "App\Controller\LayoutController" is a smaller service locator that only knows about the "doctrine", "form.factory", "http_kernel", "message_bus", "messenger.default_bus", "parameter_bag", "request_stack", "router", "security.authorization_checker", "security.csrf.token_manager", "security.token_storage", "serializer", "session" and "twig" services. Try using dependency injection instead.
Did I miss something in the install process? How can i access the CoreShop Services in App context directly?
bin/console debug:config appit looks like it's registered correctly. Unfortunately
$this->get('coreshop.repository.stack.purchasable')->findAll()doesn't list the custom products. Is there anything else to consider about custom Product Objects?