GithubHelp home page GithubHelp logo

commerce_product_set's People

Contributors

agoradesign avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

commerce_product_set's Issues

Cannot add new variations to existing product set

I have a product set I created. It references some product variations, everything works fine. Today I added a new product, with some variations. When editing the existing product set to attempt to reference the newly create product/variations the values are not available in the autocomplete.

I tried switching widget to a select to see what shows and they are not there. I also created a new product set type and then went to create the product set and that one has the options for the new product/variations. Weird issue and I don't understand why this is happening.

Call to a member function getDefaultVariation()

This is a great module.

I am having an issue with using this along with commerce_stock. It seems that when I attempt to load the Add to Cart form on a Product Set page I get:

The website encountered an unexpected error. Please try again later.
Error: Call to a member function getDefaultVariation() on null in commerce_stock_enforcement_form_alter() (line 39 of modules/contrib/commerce_stock/modules/enforcement/commerce_stock_enforcement.module).

Commerce_stock does do a form_alter there but the thing is it is looking for a property 'product' and it doesn't exist in the $form_state when this module is enabled.

Ajaxified commerce wishlist and addd to cart

I did not know where to ask this question. I saw https://gist.github.com/agoradesign/d70763c8ba4447b312d04093183d153f

I have a custom product template commerce-product--teaser.html.twig and it has this code to show add to cart and wishlist buttons

<div class="pi-links">
      <a href="javascript: void(0);" class="add-card" data-pid="{{ product_entity.id ~ temp_uuid }}"><i class="flaticon-bag"></i><span>ADD TO CART</span></a>
      <a href="javascript: void(0);" class="wishlist-btn"><i class="flaticon-heart"></i></a>
    </div>

I am confused what should I do with this code?

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.