No Comments

Adding a dynamic attribute to products

Magento 2.1 product urls end with .html.html - why?
How do I prevent junk customer registrations on my store?

I wish to add a dynamic attribute to products. I am looking to add an attribute “Calorie” associated with food products and wish to add them in bundled products much in the same way as their price add up.For eg, if I have a platter of fruits and fruit A is 40 calories and food B is 30 calories. When I keep both of them in my platter the total calorie of the platter should be 70, i.e. the sum of both individual products. Is there a way to add a dynamic attribute or is there any other way to approach this ?

Related Posts

  • Adding a value calories together with price of product (0)
    I am making a website for food products. I wish to add a value calorie count with every product that would add up like price of product when choosing many products in the cart. How can I do this in Magento 2? I wish to do this for simple as well as bundled products.
  • Magento 1.9: One grouped (or bundle-) product with two different tax classes (0)
    I've searched quite long time around for that problem. Since I cannot find any answer, I want to post it here and hope I'm not the only one with that problem. So here's the thing: In Germany we have two different tax classes (both appear in the Shop): 7% discounted products (like […]
  • Magento Bundle Product Coupons (0)
    I have a question about the Coupon System of Magento. Is it possible to enable a Coupon for a Bundle Product. The Coupon will work on the Total Price of the Bundle Product Configuration and not by the single Sub Product. I found no solution of Configuration in den Coupon […]
  • Magento Bundle Product Coupons (0)
    I have a question about the Coupon System of Magento. Is it possible to enable a Coupon for a Bundle Product. The Coupon will work on the Total Price of the Bundle Product Configuration and not by the single Sub Product. I found no solution of Configuration in den Coupon […]
  • Bundle product dynamic pricing (0)
    I have a problem with bundle product dynamic pricing and tax on the category page. Each simple product is set the correct tax class and shows perfectly when viewed as a simple product. Bundle product pages also show the price correctly included tax. For some reason the category […]
  • How to get the price range of bundle products in Magento 2? (2)
    How can I get the price range of bundle products? It's complicated as the bundle product can have different settings e.g. fixed price / dynamic price? I tried to take Magento's core code as an example, but I failed to trace it as the price range is rendered in a _toHtml() […]
  • Display old price in dynamic bundle product price (0)
    Wanting to show the old price ('was' with strikethrough) in the main bundle product dynamic price. Struggling to figure out how to do this though. It is specifically the price in bundle/catalog/product/view/price.phtml. Seems to load the price via the javascript .reloadPrice and I […]
  • Magento Bundle Product Coupons (0)
    I have a question about the Coupon System of Magento. Is it possible to enable a Coupon for a Bundle Product. The Coupon will work on the Total Price of the Bundle Product Configuration and not by the single Sub Product. I found no solution of Configuration in den Coupon […]
  • Bundle product dynamic pricing (0)
    I have a problem with bundle product dynamic pricing and tax on the category page. Each simple product is set the correct tax class and shows perfectly when viewed as a simple product. Bundle product pages also show the price correctly included tax. For some reason the category […]
  • Magento Bundle Product Coupons (0)
    I have a question about the Coupon System of Magento. Is it possible to enable a Coupon for a Bundle Product. The Coupon will work on the Total Price of the Bundle Product Configuration and not by the single Sub Product. I found no solution of Configuration in den Coupon […]
Magento 2.1 product urls end with .html.html - why?
How do I prevent junk customer registrations on my store?

Be the first to post a comment.

Add a comment