stop_parms = ['expand','cnoffset','copy_offset','copy_limit'];
ctx.record_attrs = attrs; # capture for JS
%]
-<div id='canvas_main' class='canvas' vocab="http://schema.org/" typeof='[% args.schema.itemtype %] Product'>
+<div id='canvas_main' class='canvas' vocab="http://schema.org/" typeof='[% args.schema.itemtype %] Product' resource="#schemarecord">
[%- INCLUDE "opac/parts/record/navigation.tt2" %]
[%- IF ctx.bib_is_dead %]
<div id='rdetail_deleted_exp'>
displayed_ous.$ou_name = 1;
%]
<li property="offers" typeof="AggregateOffer">
+ <link property="itemOffered" href="#schemarecord">
<meta property="offerCount" content="[% ou_avail %]">
<meta property="seller" content="[% ou_name | html %]">
[% l('[quant,_1,copy,copies] at [_2].', ou_avail, ou_name) | html %]
%]
[%- IF attrs.plib_copy_counts.$depth.count > 0; %]
<li class="preferred" property="offers" typeof="AggregateOffer">
+ <link property="itemOffered" href="#schemarecord">
<meta property="offerCount" content="[% ou_avail %]">
<meta property="seller" content="[% ou_name | html %]">
[%-
IF lib_url; '</a>'; END;
-%]
<link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
+ <link property="itemOffered" href="#schemarecord">
</td>[% END %]
<td header='copy_header_callnumber'><span property="sku">[% callnum | html %]</span> [% IF ctx.get_org_setting(CGI.param('loc') OR ctx.aou_tree.id, 'sms.enable') == 1 %](<a href="[% mkurl(ctx.opac_root _ '/sms_cn', {copy_id => copy_info.id}) %]">Text</a>)[% END %]</td>
[%- IF has_parts == 'true' %]