When custom description is present, do not display Amazon description.
This commit is contained in:
parent
036a4371f8
commit
bcaeea3e1e
|
@ -167,6 +167,8 @@ clarity and confidence in a variety of environments.
|
||||||
* Nitrogen purging and o-ring seals provide water and fogproof performance
|
* Nitrogen purging and o-ring seals provide water and fogproof performance
|
||||||
* Rugged construction withstands recoil and impact
|
* Rugged construction withstands recoil and impact
|
||||||
* Included GlassPak binocular harness for quick optic deployment in the field
|
* Included GlassPak binocular harness for quick optic deployment in the field
|
||||||
|
|
||||||
|
The Crossfire HD binoculars bring HD optics, rugged performance and high end form-factor. Add in the included GlassPak binocular harness for quick optic deployment in the field and superior protection and comfort. The Crossfire HD truly is a rare find.
|
||||||
`.trim(),
|
`.trim(),
|
||||||
productDetails: {
|
productDetails: {
|
||||||
"title": "Vortex Optics Crossfire HD 10x42 Binoculars - HD Optical System, Tripod Adaptable, Rubber Armor, Waterproof, Fogproof, Shockproof, Included GlassPak - Unlimited, Unconditional Warranty",
|
"title": "Vortex Optics Crossfire HD 10x42 Binoculars - HD Optical System, Tripod Adaptable, Rubber Armor, Waterproof, Fogproof, Shockproof, Included GlassPak - Unlimited, Unconditional Warranty",
|
||||||
|
|
|
@ -56,15 +56,19 @@ const category = categories.find(c => c.id == product.categoryId)!;
|
||||||
<p>
|
<p>
|
||||||
<StarRating value={product?.productDetails?.reviewRating||0} max={5} overlayColor="#13151a" /> {product?.productDetails?.reviewCount} Reviews
|
<StarRating value={product?.productDetails?.reviewRating||0} max={5} overlayColor="#13151a" /> {product?.productDetails?.reviewCount} Reviews
|
||||||
</p>
|
</p>
|
||||||
{ product?.description && <div set:html={md.render(product?.description||'')}></div> }
|
{ product?.description &&
|
||||||
{ !product?.description &&<ul role="list">
|
<div set:html={md.render(product?.description||'')}></div>
|
||||||
{product?.productDetails?.featureBullets?.map(featureBullet => (
|
}
|
||||||
<li>{featureBullet}</li>
|
{ !product?.description &&
|
||||||
))}
|
<ul role="list">
|
||||||
</ul> }
|
{product?.productDetails?.featureBullets?.map(featureBullet => (
|
||||||
<p>
|
<li>{featureBullet}</li>
|
||||||
{product?.productDetails?.description && product?.productDetails?.description}
|
))}
|
||||||
</p>
|
</ul>
|
||||||
|
<p>
|
||||||
|
{product?.productDetails?.description && product?.productDetails?.description}
|
||||||
|
</p>
|
||||||
|
}
|
||||||
<a href={product?.amazonLink} class="btn btn-primary">{formatAsCurrency(product?.productDetails?.price||0)} On Amazon <span>→</span></a>
|
<a href={product?.amazonLink} class="btn btn-primary">{formatAsCurrency(product?.productDetails?.price||0)} On Amazon <span>→</span></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user