Is it possible to add `QuickAddToCart` view to`Ite...
# suitecommerce
k
Is it possible to add
QuickAddToCart
view to`ItemRelations@sco-2018.1.0/Templates/item_relations_related_item.tpl`? It doesn’t seem to work with just
_data-view_="Cart.QuickAddToCart"
k
I imagine you'd need to define a childview in the item_relations view for the data-view attribute to work.
k
How do I go about that? Can I extend the current add to cart view to apply to this template?
k
It's hard to know what you're trying to accomplish, but if you're looking to add related items to the QuickAddToCart modal you should be able to do this with a childView in the QuickAdd.View
k
Im just trying to add the “Add To cart” button to related items
k
depending on if you want quick add or the add to cart button, either way that would need to be a childview of your itemRelation view.
k
You mean in the template? In that I would need to call the add to cart button in the Itemrelation? How so?
k
what version of SCA are you on?
k
SC basic not advanced
or standard rather