Add custom attribute 'condition' to schema rich snippets for products in magento store
$10-30 USD
완료함
게시됨 거의 6년 전
$10-30 USD
제출할때 지불됩니다
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
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.