GithubHelp home page GithubHelp logo

Comments (8)

mamazu avatar mamazu commented on June 24, 2024 1

Thank you for reporting this bug. In version 0.8 it should work as it has the version constraint 1.3. But I will prepare a release of the version 0.9 which is base on sylius 1.3.x later this day.

from syliustierpriceplugin.

mamazu avatar mamazu commented on June 24, 2024

Version 0.9 is out.

from syliustierpriceplugin.

jcgdjob avatar jcgdjob commented on June 24, 2024

Version 0.9 is out.

Thanks!

But after installation, I cannot find the "Tier price" on the menu of product variant edit. How could I fix it?

from syliustierpriceplugin.

mamazu avatar mamazu commented on June 24, 2024

Have you tried to update it? I have made some fixes to it.

from syliustierpriceplugin.

jcgdjob avatar jcgdjob commented on June 24, 2024

Have you tried to update it? I have made some fixes to it.

Just did but still the same...
I run "php bin/console debug:container | grep tierprice"
and it's showing up.

Since I have updated ProductVariant entity before, I added the oneToMany "tierPrices" on ymal
And the class extends Brille24\SyliusTierPricePlugin\Entity\ProductVariant
I guess my changes not related to the tab menu not showing up.

Any clues?

from syliustierpriceplugin.

mamazu avatar mamazu commented on June 24, 2024

Have you included the service definition as defined in the README.md?

from syliustierpriceplugin.

jcgdjob avatar jcgdjob commented on June 24, 2024

Have you included the service definition as defined in the README.md?

You are right. I have forgot to import
- { resource: "@Brille24SyliusTierPricePlugin/Resources/config/services.yml" }
Thanks!

Another error on js when pressing the add button.

Uncaught TypeError: table.find(...).filter(...).sortElements is not a function
    at HTMLTableCellElement.<anonymous> (itemCollectionRender.js:71)
    at Function.each (VM698 jquery-3.3.1.min.js:2)
    at w.fn.init.each (VM698 jquery-3.3.1.min.js:2)
    at tierPriceTableSort (itemCollectionRender.js:65)
    at tierPriceTableAdd (itemCollectionRender.js:10)
    at HTMLDivElement.onclick (edit:530)

Solved by adding back the sortElements js:
https://rawgit.com/padolsey/jQuery-Plugins/master/sortElements/jquery.sortElements.js

from syliustierpriceplugin.

mamazu avatar mamazu commented on June 24, 2024

Glad I could help. :) Thanks for using our plugin.

from syliustierpriceplugin.

Related Issues (20)

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.