Add custom attribute 'condition' to schema rich snippets for products in magento store


I have a website running on Magento 1.8.1 using the Ultimo theme which has rich snippets built in but it doesn't include the OfferItemCondition attribute. We have a mixture of used, refurbished and new items and I need it to work something like the following:

<meta itemprop="itemCondition" itemtype="[login to view URL]" content="

if ("{condition}" == "Renew") return "RefurbishedCondition";

if ("{condition}" == "Refurb") return "RefurbishedCondition";

if ("{condition}" == "Used") return "UsedCondition";

if ("{condition}" == "As New") return "UsedCondition";

if ("{condition}" == "New") return "NewCondition";" />"

The custom attribute "condition" is already set up I just need the code that will pull in the data from this attribute and add it within the <div itemprop="offers" itemscope="" itemtype="[login to view URL]"> Div in the existing schema code.

I've uploaded the relevant files but please ask if you have any other question or need more information.


Evner: eHandel, HTML, Javascript, Magento, PHP

Se mere: magento add custom attribute tier price, organize products magento store, rich snippets plugin magento, magento rich snippets extension free, google schema markup generator, google rich snippets plugin magento, rich snippets google magento, magento add custom options products, add cart custom attribute virtuemart, virtuemart custom attribute add cart, add custom products specifications virtuemart, add custom fields products oscommerce, add custom attribute magento joomla, enter products magento store, copy products magento store, javascript table row add custom attribute, ajax add custom attribute product

Om arbejdsgiveren:
( 5 bedømmelser ) Buncrana, Ireland

Projekt ID: #17027635

Tildelt til:


Hello I am Ankur Dholakia, Php/Magento Developer and having 3 years of experience in Magento [login to view URL] I have worked on around 35+ Magento Projects. I have understood the task here, and I will be able to do Flere

$35 USD på 1 dag
(3 bedømmelser)

5 freelancere byder i gennemsnit $43 på dette job


I have read job requirement carefully, please share project detail, we will do this job on time, Thanks

$100 USD på 1 dag
(65 bedømmelser)

I have more than 4 years of expreince in magento and magneto 2.x. I would like to work on this project. Thanks. I have Done More than 43 Project in Magneto 1.9 and Magneto 2.x.

$25 USD på 1 dag
(6 bedømmelser)

I have good knowledge of SEO snippets and meta tags, I have 6+ years exp. in Magento. I will update attached file with given condition and submit to you.

$25 USD på 1 dag
(9 bedømmelser)

Hello Ready to work! We are a team of professional Magento developers. You can find information about us and our works here: [login to view URL] [login to view URL] Feel free to contact and discuss Flere

$30 USD på 1 dag
(4 bedømmelser)