Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 53 total)
  • Author
    Replies
  • in reply to: promotional products #37435

    msalmi.kais
    Participant

    Thanks for your help

    in reply to: Rebuild the cache from the controller #33064

    msalmi.kais
    Participant

    I found it

    in reply to: Group restriction #33025

    msalmi.kais
    Participant

    Thank you very much Andrey.

    in reply to: Group restriction #33023

    msalmi.kais
    Participant

    Hi,
    @Andrey, can we apply this ACL voter for the frontend product by customers ?
    i think this example https://github.com/oroinc/orocommerce/blob/1.6/src/Oro/Bundle/VisibilityBundle/Acl/Voter/ProductVisibilityVoter.php it’s for backend product.
    there is a more detailed example to follow, or a course for voting acl?
    Thank you Andrey for help.

    in reply to: Group restriction #33016

    msalmi.kais
    Participant

    for users at storefront

    in reply to: Oro FileType in frontend #33003

    msalmi.kais
    Participant

    Thank you very much. it worked.

    in reply to: Oro FileType in frontend #33001

    msalmi.kais
    Participant

    yes.
    the idea is to allow the seller to upload their company files from front.

    in reply to: front-end "oro_file_view" #32989

    msalmi.kais
    Participant

    Thank you for you precious help

    in reply to: custom menu 'commerce_main_menu' #32983

    msalmi.kais
    Participant

    hi,
    I just override main_menu.html.twig and it works.
    Thank you

    in reply to: add reCAPTCHA to form #32974

    msalmi.kais
    Participant

    Thank you for your advice

    in reply to: Probleme with File type in frontend form build #32934

    msalmi.kais
    Participant

    Hi Dmitriy Pasechnik
    I change the class SpgCustomerUserType.php

    I receive an error in log file:

    request.CRITICAL: Uncaught PHP Exception Doctrine\ORM\ORMInvalidArgumentException: “Expected value of type “Oro\Bundle\UserBundle\Entity\User” for association field “Oro\Bundle\AttachmentBundle\Entity\File#$owner”, got “Oro\Bundle\CustomerBundle\Entity\CustomerUser” instead.” at C:\EasyPHP-Devserver-17\eds-www\oro-commerce\vendor\doctrine\orm\lib\Doctrine\ORM\ORMInvalidArgumentException.php line 206 {“exception”:”[object] (Doctrine\\ORM\\ORMInvalidArgumentException(code: 0): Expected value of type \”Oro\\Bundle\\UserBundle\\Entity\\User\” for association field \”Oro\\Bundle\\AttachmentBundle\\Entity\\File#$owner\”, got \”Oro\\Bundle\\CustomerBundle\\Entity\\CustomerUser\” instead. at C:\\EasyPHP-Devserver-17\\eds-www\\oro-commerce\\vendor\\doctrine\\orm\\lib\\Doctrine\\ORM\\ORMInvalidArgumentException.php:206)”} []

    but when i add the file in the backend, and in the front i edit the form and i upload another file, it works !!!
    so, if the field is empty it returns error
    do I forget an aption?
    Thank you

    in reply to: Modification in the identification of the front-end user #32898

    msalmi.kais
    Participant

    i mean

    • I want to add fields to the entity “customer” and editable when saving.
    • toggle the form in side by side mode.
    • how to change the different types of registration forms

    Thank you

    in reply to: Modification in the identification of the front-end user #32897

    msalmi.kais
    Participant

    Thank you for your help,
    Following your recap then I want to know how to customize the registration form of a new “Customer Users” in the front-end:

    • I want to add fields to the entity “Accounts” and editable when saving.
    • toggle the form in side by side mode.

    Thank you

    in reply to: ERR_CONNECTION_RESET #32846

    msalmi.kais
    Participant

    I tested the oro-commerce version 1.4 with the same server and it worked.

    in reply to: Error: Creating a simple CRUD !! #37107

    msalmi.kais
    Participant

    I found :
    just replace the return
    ‘vehicle’ => $ vehicle
    by
    ‘entity’ => $ vehicle

Viewing 15 replies - 1 through 15 (of 53 total)
Back to top