![]() |
Re: Product code
Wow, this is a GREAT idea. I see it useful for product videos, but also pop-up links, or other product specific details tha would be a royal PITA to insert on a per-product level in product details. By having a new field, you can do a numbering game by sku and SIMPLY have a product video (or not), using smarty to populate the video URL.
Very good idea. This post is now in my bookmarks for the future! |
Re: Product code
PS -- does this mean we still have the 255 character limit for the aditional field? -- or if the field is yes/no, I guess this wouldn't matter... the code would be in product.tpl, trapping for the yes/no and then calculating the correct link. Yes?
additional field: does product have a video? Y if yes. Leave blank if no. in product.tpl: Code:
{if $extra_fields[0].field_value ne ""} Padraic, you rock! Thanks. |
Re: Product code
This worked out perfectly thank you for your help!!! I really appreciate it! One last question is the exra field available to the products_t.tpl so I can have a smaller icon appear on the thumbnail page?
Thanks! Cameron |
Re: Product code
Ahhh...that gets much more involved. Extra Fields won't work on the products templates by default. Look in the Wish List forum for a thread on getting Extra Fields to appear in other places than the product page....requires a bit of php and Smarty programming.
|
All times are GMT -8. The time now is 04:17 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.