Add custom attribute 'condition' to schema rich snippets for products in magento store
$10-30 USD
Completed
Posted almost 6 years ago
$10-30 USD
Paid on delivery
Hi,
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.
Thanks
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 this today only.
Please message me to discuss further.
Thanks
Ankur
$35 USD in 1 day
5.0 (3 reviews)
1.7
1.7
5 freelancers are bidding on average $43 USD for this job
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.
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.