Skip to content

KnockoutJS $parent-Element in Checkout seems to miss some information #7085

Closed
@grasdaggel

Description

@grasdaggel

When trying to modify the knockout.js-templates in Magento_Checkout/web/template/summary/item/details.html there are a few appearances of "$parent.identifier", where identifier is the desired part of it (e.g.: text)

It seems that $parent.name works, but $parent.url doesn't work. Shouldn't the array contain such informations? On Magento 2.0.6. its not in there.

Preconditions

  1. Use of Magento 2.0.6, intended to use in Germany

Steps to reproduce

  1. Try to modify the knockout js template in order to be legit with german ecommerce laws
  2. Try to access the products URL

Expected result

  1. in $parent theres a key with the url

Actual result

  1. $parent only contain item_id, name and qty of product

Its less a bug report, but a feature request. In Germany you need to link the products on the last pages in the cart. Without a URL, KO JS can't load it (obviously). Therefore, $parent needs to have a key with the URL in order to link the product to its page.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions