Skip to content

social cards have price entry but put 0 in for grouped #142

Description

@iphigenie

The social.phtml template puts price in 2 data fields

twitter:data1
product:price:amount

It does this by calling Mage::helper('creareseocore')->getProductStartingprice($_product)

getProductStartingprice has a test for bundle, but not for grouped, and returns 0 on a grouped product

If this was the only place a loop on the associated products was done it would probably not be worth the performance hit, but on a grouped product the associated products will be built anyway so I suspect it is worth adding it for completeness.

Happy to submit my code - 9 lines added to Data.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions