Giter Club home page Giter Club logo

Comments (6)

bigboss86 avatar bigboss86 commented on June 3, 2024

Hi @bhaktaraz. Have you extended the product class as indicated in the installation doc?

from syliusvendorplugin.

bhaktaraz avatar bhaktaraz commented on June 3, 2024

Yes.

from syliusvendorplugin.

bigboss86 avatar bigboss86 commented on June 3, 2024

And have you registered it as a resource?

from syliusvendorplugin.

bhaktaraz avatar bhaktaraz commented on June 3, 2024

Yes followed up to step 6.

Added this configuration

# config/packages/_sylius.yaml sylius_product: resources: product: classes: repository: App\Repository\ProductRepository

Created ProductRepository in src/Repository but adding that leads me to error : Warning: class_implements(): Class App\Repository\ProductRepository does not exist and could not be loaded.

So haven't override the product repository.

Is it necessary to override product repository?

from syliusvendorplugin.

bigboss86 avatar bigboss86 commented on June 3, 2024

And you have this configuration?

sylius_product:
    resources:
        product:
            classes:
                model: App\Entity\Product

Yes, is necessary override the product repository to show vendor's products in the shop page.

from syliusvendorplugin.

bigboss86 avatar bigboss86 commented on June 3, 2024

@bhaktaraz Have you been able to solve it?

from syliusvendorplugin.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.