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
|
||||
* Rugged construction withstands recoil and impact
|
||||
* 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(),
|
||||
productDetails: {
|
||||
"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>
|
||||
<StarRating value={product?.productDetails?.reviewRating||0} max={5} overlayColor="#13151a" /> {product?.productDetails?.reviewCount} Reviews
|
||||
</p>
|
||||
{ product?.description && <div set:html={md.render(product?.description||'')}></div> }
|
||||
{ !product?.description &&<ul role="list">
|
||||
{product?.productDetails?.featureBullets?.map(featureBullet => (
|
||||
<li>{featureBullet}</li>
|
||||
))}
|
||||
</ul> }
|
||||
<p>
|
||||
{product?.productDetails?.description && product?.productDetails?.description}
|
||||
</p>
|
||||
{ product?.description &&
|
||||
<div set:html={md.render(product?.description||'')}></div>
|
||||
}
|
||||
{ !product?.description &&
|
||||
<ul role="list">
|
||||
{product?.productDetails?.featureBullets?.map(featureBullet => (
|
||||
<li>{featureBullet}</li>
|
||||
))}
|
||||
</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>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user