Closed (fixed)
Project:
Metatag
Version:
7.x-1.x-dev
Component:
Open Graph
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Dec 2014 at 19:30 UTC
Updated:
20 Jan 2015 at 01:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gregglesHere's a patch if you're interested.
Comment #3
gregglesWith a proper path so it will apply.
Comment #4
gregglesSo...
Updated patch attached uses product:price: prefix
Comment #5
damienmckennaHappy to add this quick patch to the next release, but the default values aren't needed.
Comment #6
gregglesSorry to be daft. You're saying:
Should be...what?
Comment #7
damienmckennaI'm saying that you don't need to include anything in metatag_opengraph_metatag_bundled_config_alter() unless you specifically need a default assigned for one of the configuration instances.
Comment #8
gregglesOK, updated patch to remove the empty defaults.
I also added the "xmlns" entry for products per https://developers.facebook.com/docs/payments/product
I unhid the file about prefixes b/c I used that to explain to pinterest how their docs are inaccurate - hope that's OK :)
Comment #9
dpintats commentedDisclosure: I work with Greg and conducted tests and code review relating to work.
I've reviewed this patch and it works as expected when adding product price values in my particular content type. Works for me and I'll +1 this.
Comment #10
damienmckenna@dpintats: Thanks. I trust Greg's coding skills very highly, but your review is appreciated.
Comment #11
damienmckennaCommitted. Thanks Greg, and dpintats.