The easiest way to add a YouTube Video is to add the videos embed code in the item’s extended description field. The extended description field takes HTML.
Alternatively, you can add a video using the procedure below.
Create a field in PAM.
Give the field a menaningful name an ensure the attribute type is set to string.
Copy the embed video code from the videos youtube page and paste it into the attribute field you just cretaed in PAM. The embed video code should be under share>embed
Be sure to click commit changes after you’ve added the embed code
Next you’ll need to add the newly created attribute to NSc Sync’s field mappings.
Left click on Configuration.
Left click on Field Mappings
Right click on Item
Choose add field, then Standard RMS field
For remote field name, enter product_weblinxcustomtextx (where x is an available custom text field. x can be numbers 1-5)
For field source, enter: nitroasl_pamtable.mypamfieldname(where mypamfieldname is the what you name your newly created pam field)
Left click on validate, then ok
Synchronize your webstore
Finally you’ll need to add the nitroscript to your product page template.
simply add the following to your product page template - {product[‘product_weblinxcustomtextx’]} (where x is an available custom text field. x can be numbers 1-5)
You can style the field by enclosing it in a paragraph tag and adding a class you’ve created in your stylesheets. for example <p class=‘myclass’>{product[‘product_weblinxcustomtextx’]}</p>