Timeline for When i post a URL to Facebook I get html code showing in the post
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 17, 2017 at 16:15 | comment | added | Matthéo Geoffray | @JamesWeston Did you try my solution ? | |
Feb 14, 2017 at 8:35 | comment | added | Matthéo Geoffray |
The file app/design/{Package}/{theme}/Magento_Catalog/templates/product/view/opengraph/general.phtml do not exist yet you have to create it. I highly recommended you to not change the file vendor/magento/module-catalog/view/frontend/templates/product/view/opengraph/general.phtml by editing the Core at the next update you will erase these changes.
|
|
Feb 14, 2017 at 5:40 | comment | added | James Weston | Hi Matthew the template developer got back to be and it was as follows: your custom theme, you can make overwrite the template file at: vendor/magento/module-catalog/view/frontend/templates/product/view/opengraph/general.phtm So apparently I just had to overwrite it there. Many thanks for pointing me in the right direction. Jim | |
Feb 14, 2017 at 0:50 | comment | added | James Weston | Hi @MatthéoGeoffray many thanks for breaking it down for me to a way that I can understand. Unfortunately I can't find the file to paste the code into. I can't find app/design/{Package}/{theme}/Magento_Catalog/templates/product/view/opengraph/general.phtml normally when I cannot find a file I do a search. When I searched general.phtml only one file is found and that is the first one that you guided me to to copy the code from. | |
Feb 13, 2017 at 20:36 | comment | added | Matthéo Geoffray | Hi @JamesWeston I edit my answer to give you the steps to process for fixing the issue. tell me if that is OK for you. | |
Feb 13, 2017 at 20:35 | history | edited | Matthéo Geoffray | CC BY-SA 3.0 |
Add answer description
|
Feb 13, 2017 at 16:55 | comment | added | James Weston | Thanks Matthéo. I have contacted the template developer to see if they have a simple fix that I might be able to do myself as can't quite understand how to do what you suggested above. My other thought was to see if I could just put the word Details into the template above where the text i enter in the product appears so that I don't have to add the html for the bold and heading details; or would that just mean that the html from the first line of text would then show instead? | |
Feb 13, 2017 at 13:04 | history | edited | Matthéo Geoffray | CC BY-SA 3.0 |
added 381 characters in body
|
Feb 13, 2017 at 12:54 | history | edited | Matthéo Geoffray | CC BY-SA 3.0 |
added 5 characters in body
|
Feb 13, 2017 at 12:47 | history | answered | Matthéo Geoffray | CC BY-SA 3.0 |