tabexseriescomponents 0.0.694 → 0.0.696

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (356) hide show
  1. package/dist/index.cjs.js +1005 -1219
  2. package/dist/index.esm.js +1005 -1219
  3. package/dist/index.umd.js +1007 -1222
  4. package/package.json +1 -1
  5. package/{srcoman → srcoriginal}/TabexComponents/Cards/Card23/Card23.jsx +2 -2
  6. package/{srcoman → srcoriginal}/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +2 -2
  7. package/{srcoman → srcoriginal}/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +1 -0
  8. package/{srcoman → srcoriginal}/TabexComponents/Cards/MenuCard/MenuCard.jsx +25 -13
  9. package/{srcoman → srcoriginal}/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -2
  10. package/{srcoman → srcoriginal}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +2 -2
  11. package/srcoriginal/TabexComponents/Footer/Footer1/Footer1.jsx +551 -0
  12. package/{srcoman → srcoriginal}/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +19 -0
  13. package/{srcoman → srcoriginal}/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +19 -0
  14. package/{srcoman → srcoriginal}/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +1 -1
  15. package/{srcoman → srcoriginal}/TabexComponents/Headers/Header8/Header8.jsx +41 -1
  16. package/{srcoman → srcoriginal}/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +249 -21
  17. package/{srcoman → srcoriginal}/TabexComponents/Headers/Modernheader/Modernheader.jsx +222 -217
  18. package/{srcoman → srcoriginal}/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +41 -4
  19. package/{srcoman → srcoriginal}/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +18 -0
  20. package/{srcoman → srcoriginal}/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +5 -1
  21. package/{srcoman → srcoriginal}/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +6 -3
  22. package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +72 -22
  23. package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +2 -3
  24. package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +3 -3
  25. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1935 -0
  26. package/{srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx → srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection21-11beforeform.jsx} +1 -13
  27. package/srcoriginal/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +760 -0
  28. package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +1 -1
  29. package/srcoriginal/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +1679 -0
  30. package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +45 -40
  31. package/srcoriginal/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +512 -0
  32. package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter.jsx +460 -252
  33. package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +1616 -1481
  34. package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +2 -1
  35. package/srcoman/TabexComponents/Footer/Footer1/Footer1.jsx +0 -780
  36. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -437
  37. package/srcoman/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -1769
  38. package/srcoman/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -790
  39. /package/{srcoman → srcoriginal}/Contexts/LanguageContext.jsx +0 -0
  40. /package/{srcoman → srcoriginal}/Contexts/ProductsCardsSectionContext.jsx +0 -0
  41. /package/{srcoman → srcoriginal}/Imagekitconfig.jsx +0 -0
  42. /package/{srcoman → srcoriginal}/StylesJS/Customstyles.js +0 -0
  43. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -0
  44. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Card20/Card20.jsx +0 -0
  45. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Card21/Card21.jsx +0 -0
  46. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Card22/Card22.jsx +0 -0
  47. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -0
  48. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CardAll/CardAll.jsx +0 -0
  49. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -0
  50. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -0
  51. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -0
  52. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -0
  53. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -0
  54. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -0
  55. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -0
  56. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -0
  57. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -0
  58. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -0
  59. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +0 -0
  60. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +0 -0
  61. /package/{srcoman → srcoriginal}/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -0
  62. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -0
  63. /package/{srcoman → srcoriginal}/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -0
  64. /package/{srcoman → srcoriginal}/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -0
  65. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -0
  66. /package/{srcoman → srcoriginal}/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -0
  67. /package/{srcoman → srcoriginal}/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -0
  68. /package/{srcoman → srcoriginal}/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -0
  69. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -0
  70. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -0
  71. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -0
  72. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -0
  73. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -0
  74. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -0
  75. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -0
  76. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -0
  77. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -0
  78. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -0
  79. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -0
  80. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -0
  81. /package/{srcoman → srcoriginal}/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -0
  82. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -0
  83. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -0
  84. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -0
  85. /package/{srcoman → srcoriginal}/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -0
  86. /package/{srcoman → srcoriginal}/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -0
  87. /package/{srcoman → srcoriginal}/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -0
  88. /package/{srcoman → srcoriginal}/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -0
  89. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -0
  90. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer2/Footer2.jsx +0 -0
  91. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer3/Footer3.jsx +0 -0
  92. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer4/Footer4.jsx +0 -0
  93. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer5/Footer5.jsx +0 -0
  94. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer6/Footer6.jsx +0 -0
  95. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer7/Footer7.jsx +0 -0
  96. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer8/Footer8.jsx +0 -0
  97. /package/{srcoman → srcoriginal}/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -0
  98. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +0 -0
  99. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -0
  100. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  101. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/noimage.png +0 -0
  102. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  103. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  104. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  105. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  106. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  107. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  108. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  109. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  110. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  111. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/usflag.png +0 -0
  112. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  113. /package/{srcoman → srcoriginal}/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -0
  114. /package/{srcoman → srcoriginal}/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -0
  115. /package/{srcoman → srcoriginal}/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -0
  116. /package/{srcoman → srcoriginal}/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -0
  117. /package/{srcoman → srcoriginal}/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -0
  118. /package/{srcoman → srcoriginal}/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -0
  119. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -0
  120. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Header4/Header4.jsx +0 -0
  121. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -0
  122. /package/{srcoman → srcoriginal}/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -0
  123. /package/{srcoman → srcoriginal}/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -0
  124. /package/{srcoman → srcoriginal}/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -0
  125. /package/{srcoman → srcoriginal}/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -0
  126. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -0
  127. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -0
  128. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -0
  129. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -0
  130. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +0 -0
  131. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -0
  132. /package/{srcoman → srcoriginal}/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -0
  133. /package/{srcoman → srcoriginal}/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -0
  134. /package/{srcoman → srcoriginal}/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -0
  135. /package/{srcoman → srcoriginal}/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -0
  136. /package/{srcoman → srcoriginal}/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -0
  137. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Subheader/Subheader.jsx +0 -0
  138. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Subheader/Subheader13-3.jsx +0 -0
  139. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -0
  140. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -0
  141. /package/{srcoman → srcoriginal}/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -0
  142. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -0
  143. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -0
  144. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -0
  145. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -0
  146. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -0
  147. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -0
  148. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -0
  149. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -0
  150. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +0 -0
  151. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +0 -0
  152. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +0 -0
  153. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +0 -0
  154. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +0 -0
  155. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -0
  156. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +0 -0
  157. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +0 -0
  158. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +0 -0
  159. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -0
  160. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -0
  161. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -0
  162. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -0
  163. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -0
  164. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -0
  165. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -0
  166. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +0 -0
  167. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +0 -0
  168. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +0 -0
  169. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -0
  170. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -0
  171. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -0
  172. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -0
  173. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -0
  174. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -0
  175. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -0
  176. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -0
  177. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -0
  178. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -0
  179. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -0
  180. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -0
  181. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -0
  182. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -0
  183. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -0
  184. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -0
  185. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -0
  186. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -0
  187. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -0
  188. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -0
  189. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -0
  190. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -0
  191. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -0
  192. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -0
  193. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +0 -0
  194. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -0
  195. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -0
  196. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -0
  197. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -0
  198. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -0
  199. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -0
  200. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -0
  201. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -0
  202. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -0
  203. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -0
  204. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -0
  205. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -0
  206. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -0
  207. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -0
  208. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -0
  209. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -0
  210. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +0 -0
  211. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -0
  212. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -0
  213. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter1-5.jsx +0 -0
  214. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter13-11.jsx +0 -0
  215. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter14-8.jsx +0 -0
  216. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -0
  217. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/VariantFilter.jsx +0 -0
  218. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -0
  219. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -0
  220. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -0
  221. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Login/Login copy.jsx +0 -0
  222. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Login/Login.jsx +0 -0
  223. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -0
  224. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -0
  225. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Policies/Policies.jsx +0 -0
  226. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -0
  227. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -0
  228. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -0
  229. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +0 -0
  230. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -0
  231. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -0
  232. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +0 -0
  233. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -0
  234. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -0
  235. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -0
  236. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +0 -0
  237. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +0 -0
  238. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -0
  239. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -0
  240. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -0
  241. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -0
  242. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -0
  243. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -0
  244. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +0 -0
  245. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +0 -0
  246. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +0 -0
  247. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +0 -0
  248. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +0 -0
  249. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +0 -0
  250. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +0 -0
  251. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +0 -0
  252. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +0 -0
  253. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +0 -0
  254. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +0 -0
  255. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +0 -0
  256. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +0 -0
  257. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +0 -0
  258. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +0 -0
  259. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +0 -0
  260. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -0
  261. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -0
  262. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -0
  263. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -0
  264. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -0
  265. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -0
  266. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -0
  267. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Signup/Signup.jsx +0 -0
  268. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -0
  269. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -0
  270. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -0
  271. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -0
  272. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -0
  273. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -0
  274. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -0
  275. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -0
  276. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -0
  277. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +0 -0
  278. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -0
  279. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -0
  280. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -0
  281. /package/{srcoman → srcoriginal}/button.jsx +0 -0
  282. /package/{srcoman → srcoriginal}/index.jsx +0 -0
  283. /package/{srcoman → srcoriginal}/styles/Home.module.css +0 -0
  284. /package/{srcoman → srcoriginal}/styles/cards/Categorcycard_fullimage.module.css +0 -0
  285. /package/{srcoman → srcoriginal}/styles/cards/Categorycard_slidebgscaled.module.css +0 -0
  286. /package/{srcoman → srcoriginal}/styles/cards/Categorycard_withshapes.module.css +0 -0
  287. /package/{srcoman → srcoriginal}/styles/cards/ModernCardWithQuantityButton.module.css +0 -0
  288. /package/{srcoman → srcoriginal}/styles/cards/Productcard6.module.css +0 -0
  289. /package/{srcoman → srcoriginal}/styles/cards/Productccard_with_zoominonhover.module.css +0 -0
  290. /package/{srcoman → srcoriginal}/styles/cards/Prouductcard_with_zoomhover.module.css +0 -0
  291. /package/{srcoman → srcoriginal}/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -0
  292. /package/{srcoman → srcoriginal}/styles/cards/card23.module.css +0 -0
  293. /package/{srcoman → srcoriginal}/styles/cards/categorycard.module.css +0 -0
  294. /package/{srcoman → srcoriginal}/styles/cards/categorycard3.module.css +0 -0
  295. /package/{srcoman → srcoriginal}/styles/cards/categorycardwithtext.module.css +0 -0
  296. /package/{srcoman → srcoriginal}/styles/cards/generalCardsStyles.module.css +0 -0
  297. /package/{srcoman → srcoriginal}/styles/cards/productcard_animatedbuttons.module.css +0 -0
  298. /package/{srcoman → srcoriginal}/styles/cards/productcard_with_textonhover.module.css +0 -0
  299. /package/{srcoman → srcoriginal}/styles/cards/productcard_withtextonimage.module.css +0 -0
  300. /package/{srcoman → srcoriginal}/styles/cards/productccard_with_imageontopleft.module.css +0 -0
  301. /package/{srcoman → srcoriginal}/styles/general/bootstrap.css +0 -0
  302. /package/{srcoman → srcoriginal}/styles/general/dropdown.css +0 -0
  303. /package/{srcoman → srcoriginal}/styles/general/editorbardropdown.module.css +0 -0
  304. /package/{srcoman → srcoriginal}/styles/general/filter.module.css +0 -0
  305. /package/{srcoman → srcoriginal}/styles/general/form.module.css +0 -0
  306. /package/{srcoman → srcoriginal}/styles/general/general.module.css +0 -0
  307. /package/{srcoman → srcoriginal}/styles/general/image-gallery.css +0 -0
  308. /package/{srcoman → srcoriginal}/styles/general/react-accessible-accordion.module.css +0 -0
  309. /package/{srcoman → srcoriginal}/styles/general/react-phone-input-2.module.css +0 -0
  310. /package/{srcoman → srcoriginal}/styles/general/scrollbtn.module.css +0 -0
  311. /package/{srcoman → srcoriginal}/styles/general/slick.module.css +0 -0
  312. /package/{srcoman → srcoriginal}/styles/general/tabs.module.css +0 -0
  313. /package/{srcoman → srcoriginal}/styles/general/workplaceeditor.module.css +0 -0
  314. /package/{srcoman → srcoriginal}/styles/globals.css +0 -0
  315. /package/{srcoman → srcoriginal}/styles/headers/CTAHeader.module.css +0 -0
  316. /package/{srcoman → srcoriginal}/styles/headers/CategoryFeaturingHeader.module.css +0 -0
  317. /package/{srcoman → srcoriginal}/styles/headers/Gotoheader.module.css +0 -0
  318. /package/{srcoman → srcoriginal}/styles/headers/Header7.module.css +0 -0
  319. /package/{srcoman → srcoriginal}/styles/headers/HeaderWithAdSlider.module.css +0 -0
  320. /package/{srcoman → srcoriginal}/styles/headers/HeaderWithSearchOnCenter.module.css +0 -0
  321. /package/{srcoman → srcoriginal}/styles/headers/HeaderWithUtilityBar.module.css +0 -0
  322. /package/{srcoman → srcoriginal}/styles/headers/Header_threesectionslogocentered.module.css +0 -0
  323. /package/{srcoman → srcoriginal}/styles/headers/NewHeader.module.css +0 -0
  324. /package/{srcoman → srcoriginal}/styles/headers/SearchFocusedHeader.module.css +0 -0
  325. /package/{srcoman → srcoriginal}/styles/headers/Sideheader.module.css +0 -0
  326. /package/{srcoman → srcoriginal}/styles/headers/Simpleheader.module.css +0 -0
  327. /package/{srcoman → srcoriginal}/styles/headers/classicheader.module.css +0 -0
  328. /package/{srcoman → srcoriginal}/styles/headers/classicheaderstyles.module.css +0 -0
  329. /package/{srcoman → srcoriginal}/styles/headers/dropdown.css +0 -0
  330. /package/{srcoman → srcoriginal}/styles/headers/header4.module.css +0 -0
  331. /package/{srcoman → srcoriginal}/styles/headers/header5.module.css +0 -0
  332. /package/{srcoman → srcoriginal}/styles/headers/header_contactinfo.module.css +0 -0
  333. /package/{srcoman → srcoriginal}/styles/headers/headerresturant.module.css +0 -0
  334. /package/{srcoman → srcoriginal}/styles/headers/modernheader.module.css +0 -0
  335. /package/{srcoman → srcoriginal}/styles/headers/stylishheader.module.css +0 -0
  336. /package/{srcoman → srcoriginal}/styles/headers/subheader.module.css +0 -0
  337. /package/{srcoman → srcoriginal}/styles/headers/threetieredheader.module.css +0 -0
  338. /package/{srcoman → srcoriginal}/styles/sections/BackgroundImageWithTopContent.css +0 -0
  339. /package/{srcoman → srcoriginal}/styles/sections/Backgroundimage1.module.css +0 -0
  340. /package/{srcoman → srcoriginal}/styles/sections/Backgroundimage_with_topcircle.module.css +0 -0
  341. /package/{srcoman → srcoriginal}/styles/sections/Freetext.module.css +0 -0
  342. /package/{srcoman → srcoriginal}/styles/sections/Section_with_rightbgcont.module.css +0 -0
  343. /package/{srcoman → srcoriginal}/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -0
  344. /package/{srcoman → srcoriginal}/styles/sections/Slideshow_with_squarebg.module.css +0 -0
  345. /package/{srcoman → srcoriginal}/styles/staticpages/accordion.module.css +0 -0
  346. /package/{srcoman → srcoriginal}/styles/staticpages/cart.module.css +0 -0
  347. /package/{srcoman → srcoriginal}/styles/staticpages/dropdown.css +0 -0
  348. /package/{srcoman → srcoriginal}/styles/staticpages/filter.module.css +0 -0
  349. /package/{srcoman → srcoriginal}/styles/staticpages/image-gallery.css +0 -0
  350. /package/{srcoman → srcoriginal}/styles/staticpages/login.module.css +0 -0
  351. /package/{srcoman → srcoriginal}/styles/staticpages/productinfo.module.css +0 -0
  352. /package/{srcoman → srcoriginal}/styles/staticpages/shop.module.css +0 -0
  353. /package/{srcoman → srcoriginal}/styles/staticpages/signup.module.css +0 -0
  354. /package/{srcoman → srcoriginal}/styles/staticpages/staticroutersidenav.module.css +0 -0
  355. /package/{srcoman → srcoriginal}/styles/staticpages/viewcart.module.css +0 -0
  356. /package/{srcoman → srcoriginal}/styles/staticpages/wishlist.module.css +0 -0
@@ -228,1405 +228,1468 @@ const Product_itemtype = (props) => {
228
228
  }}
229
229
  >
230
230
  <div class={' col-lg-12 p-0 '}>
231
- <div
232
- class={`${productinfo_cssstyles.cardcontainer}` + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 '}
233
- style={{
234
- minHeight: sectionproperties.height + 'vh',
235
- // paddingLeft: srcfromprops == 'templatedraftrouter' ? 0 : langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
236
- // paddingRight: srcfromprops == 'templatedraftrouter' ? 0 : langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
237
- }}
238
- >
239
- {sectionproperties.gallerystyle == 'Style 2' && (
240
- // scrollhorizontalwithscrollbarremove
241
- <div class="w-100 scrollhorizontalwithscrollbar ">
242
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.productimages?.length != 0 &&
243
- fetchProductInfoQueryContext?.data?.data?.productinfo?.productimages.map((item, index) => {
244
- return (
245
- <div
246
- class={' scrollhorizontalcard mx-2 '}
247
- style={{
248
- height: sectionproperties.image_height + 'px',
249
- width: sectionproperties.image_width + 'px',
250
- }}
251
- >
252
- <Imagekitimagecomp
253
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
254
- publicKey={ikimagecredcontext?.ikimagepublickey}
255
- path={'/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.path}
231
+ {Object.keys(sectionproperties).length != 0 && authdetailsContext?.instinfo?.contactinfo.instid != '673ca821296ee' && (
232
+ <div
233
+ class={`${productinfo_cssstyles.cardcontainer}` + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 '}
234
+ style={{
235
+ minHeight: sectionproperties.height + 'vh',
236
+ // paddingLeft: srcfromprops == 'templatedraftrouter' ? 0 : langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
237
+ // paddingRight: srcfromprops == 'templatedraftrouter' ? 0 : langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
238
+ }}
239
+ >
240
+ {sectionproperties.gallerystyle == 'Style 2' && (
241
+ // scrollhorizontalwithscrollbarremove
242
+ <div class="w-100 scrollhorizontalwithscrollbar ">
243
+ {fetchProductInfoQueryContext?.data?.data?.productinfo?.productimages?.length != 0 &&
244
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.productimages.map((item, index) => {
245
+ return (
246
+ <div
247
+ class={' scrollhorizontalcard mx-2 '}
256
248
  style={{
257
- width: '100%',
258
- height: '100%',
259
- objectFit: 'contain',
249
+ height: sectionproperties.image_height + 'px',
250
+ width: sectionproperties.image_width + 'px',
260
251
  }}
261
- loading="lazy"
262
- />
263
- </div>
264
- );
265
- })}
266
- </div>
267
- )}
268
- {sectionproperties.gallerystyle == 'One Centered Image' && (
269
- <div class="col-lg-12 allcentered">
270
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.productimages?.length != 0 &&
271
- fetchProductInfoQueryContext?.data?.data?.productinfo?.productimages.map((item, index) => {
272
- return (
273
- <div
274
- class={' mx-2 '}
275
- style={{
276
- height: sectionproperties.image_height + 'px',
277
- width: sectionproperties.image_width + 'px',
278
- }}
279
- >
280
- <Imagekitimagecomp
281
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
282
- publicKey={ikimagecredcontext?.ikimagepublickey}
283
- path={'/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.path}
252
+ >
253
+ <Imagekitimagecomp
254
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
255
+ publicKey={ikimagecredcontext?.ikimagepublickey}
256
+ path={'/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.path}
257
+ style={{
258
+ width: '100%',
259
+ height: '100%',
260
+ objectFit: 'contain',
261
+ }}
262
+ loading="lazy"
263
+ />
264
+ </div>
265
+ );
266
+ })}
267
+ </div>
268
+ )}
269
+ {sectionproperties.gallerystyle == 'One Centered Image' && (
270
+ <div class="col-lg-12 allcentered">
271
+ {fetchProductInfoQueryContext?.data?.data?.productinfo?.productimages?.length != 0 &&
272
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.productimages.map((item, index) => {
273
+ return (
274
+ <div
275
+ class={' mx-2 '}
284
276
  style={{
285
- width: '100%',
286
- height: '100%',
287
- objectFit: 'contain',
277
+ height: sectionproperties.image_height + 'px',
278
+ width: sectionproperties.image_width + 'px',
288
279
  }}
289
- loading="lazy"
290
- />
291
- </div>
292
- );
293
- })}
294
- </div>
295
- )}
296
- <div class="col-lg-12 p-0">
297
- <div
298
- class="row mx-0 w-100"
299
- style={{
300
- marginTop: sectionproperties.gallerystyle == 'Style 2' ? '3rem' : 0,
301
- }}
302
- >
280
+ >
281
+ <Imagekitimagecomp
282
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
283
+ publicKey={ikimagecredcontext?.ikimagepublickey}
284
+ path={'/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.path}
285
+ style={{
286
+ width: '100%',
287
+ height: '100%',
288
+ objectFit: 'contain',
289
+ }}
290
+ loading="lazy"
291
+ />
292
+ </div>
293
+ );
294
+ })}
295
+ </div>
296
+ )}
297
+ <div class="col-lg-12 p-0">
303
298
  <div
304
- className={
305
- sectionproperties.showfooterphonenumber == 'Hide' &&
306
- sectionproperties.showfooteremail == 'Hide' &&
307
- sectionproperties.showstoreinfo2 == 'Hide' &&
308
- sectionproperties.showstoreinfo1 == 'Hide'
309
- ? 'col-lg-12'
310
- : sectionproperties.storeinfoposition == 'Below Information'
311
- ? 'col-lg-12'
312
- : langdetect == 'en'
313
- ? 'col-lg-9 pl-0 mb-md-3 p-md-0'
314
- : 'col-lg-9 pr-0 mb-md-3 p-md-0'
315
- }
299
+ class="row mx-0 w-100"
316
300
  style={{
317
- marginBottom: sectionproperties.evencols == 'Yes' ? '60px' : 0,
301
+ marginTop: sectionproperties.gallerystyle == 'Style 2' ? '3rem' : 0,
318
302
  }}
319
303
  >
320
- <div className={'row m-0 w-100'}>
321
- {sectionproperties.gallerystyle == 'Style 1' && (
322
- <div
323
- className={
324
- sectionproperties.evencols == 'Yes'
325
- ? productinfo_cssstyles.evencols + ' col-xl-6 col-lg-6 col-md-12 col-sm-12 mb-md-5 pb-md-5 pl-1 pr-1 evencols '
326
- : 'col-xl-5 col-lg-5 col-md-12 col-sm-12 mb-md-5 pb-md-4 pl-1 pr-1'
327
- }
328
- >
329
- {/* <div className="col-xl-6 col-lg-4 col-md-12 col-sm-12 mb-md-3 pb-md-4 pl-1 pr-1 evencols"> */}
330
- <div
331
- className={sectionproperties.maximizegalleryfullscreen == 'Yes' ? ' col-lg-12 p-0 maximize ' : 'col-lg-12 p-0'}
332
- style={{
333
- width: '100%',
334
- // height: 'auto',
335
- height: sectionproperties.evencols == 'Yes' ? '550px' : 'auto',
336
- }}
337
- >
338
- {productimagesarray.length == 0 && (
339
- <div
340
- style={{
341
- width: '100%',
342
- height: '30vh',
343
- background: '#eee',
344
- borderRadius: 10,
345
- }}
346
- >
347
- <i class="h-100 allcentered text-light">
348
- <FiLayers size={26} />
349
- </i>
350
- </div>
351
- )}
352
- {productimagesarray.length != 0 && (
353
- <div
354
- class="w-100 d-block d-md-none"
355
- style={{
356
- // height: '500px',
357
- height: sectionproperties.evencols == 'Yes' ? '550px' : '',
358
- }}
359
- >
360
- <ImageGallery
361
- items={productimagesarray}
362
- thumbnailPosition={sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left'}
363
- showNav={true}
364
- showPlayButton={false}
365
- showFullscreenButton={sectionproperties.showgalleryfullscreenbtn == 'Yes' ? true : false}
366
- startIndex={currentshowingimageindex}
367
- onSlide={(d) => {
368
- setcurrentshowingimageindex(d);
369
- }}
370
- ref={(el) => setGallery(el)}
371
- onClick={toggleFullScreen}
372
- />
373
- </div>
374
- )}
375
- {productimagesarray.length != 0 && (
376
- <div class="w-100 d-none d-md-block">
377
- <ImageGallery
378
- items={productimagesarray}
379
- thumbnailPosition={'bottom'}
380
- showNav={false}
381
- showPlayButton={false}
382
- showFullscreenButton={true}
383
- startIndex={currentshowingimageindex}
384
- onSlide={(d) => {
385
- setcurrentshowingimageindex(d);
386
- }}
387
- />
388
- </div>
389
- )}
390
- </div>
391
- </div>
392
- )}
393
- <div
394
- className={
395
- sectionproperties.gallerystyle == 'Style 1'
396
- ? sectionproperties.evencols == 'Yes'
397
- ? langdetect == 'en'
398
- ? 'col-xl-6 col-lg-6 col-md-12 col-sm-12 pl-4 pr-0 pl-md-0 pr-md-0 pt-md-5'
399
- : 'col-xl-6 col-lg-6 col-md-12 col-sm-12 pl-0 pr-4 pl-md-0 pr-md-0 pt-md-5'
400
- : langdetect == 'en'
401
- ? 'col-xl-7 col-lg-7 col-md-12 col-sm-12 pl-4 pr-0 p-md-0'
402
- : 'col-xl-7 col-lg-7 col-md-12 col-sm-12 pl-0 pr-4 p-md-0'
403
- : 'col-xl-12 col-lg-12 col-md-12 col-sm-12 px-3 px-md-2'
404
- }
405
- // className={
406
- // sectionproperties.gallerystyle == 'Style 1'
407
- // ? langdetect == 'en'
408
- // ? 'col-xl-6 col-lg-8 col-md-12 col-sm-12 pl-4 pr-0 p-md-0'
409
- // : 'col-xl-6 col-lg-8 col-md-12 col-sm-12 pl-0 pr-4 p-md-0'
410
- // : 'col-xl-12 col-lg-12 col-md-12 col-sm-12 px-3 px-md-2'
411
- // }
412
- >
413
- <div className={sectionproperties.evencols == 'Yes' ? 'row m-0 w-100 mt-md-5' : 'row m-0 w-100'}>
414
- {sectionproperties.showmeasurementunit == 'Show' && (
415
- <div className={'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-1 mt-3'}>
416
- <p
417
- className={' m-0 p-0 wordbreak d-flex justify-content-start '}
418
- style={{
419
- textAlign: langdetect == 'en' ? 'left' : 'right',
420
- fontWeight: 400,
421
- color: sectionproperties.measurementunitcolor,
422
- fontSize: sectionproperties.measurementunitfontsize + 'px',
423
- }}
424
- >
425
- {fetchProductInfoQueryContext.data.data.productinfo.measurmentunit}
426
- </p>
427
- </div>
428
- )}
429
- {sectionproperties.quantityshow == 'Show' && (
430
- <div class="col-lg-12 p-0 text-start">
431
- <p
432
- class="m-0 p-0"
433
- style={{
434
- fontSize: sectionproperties.quantityfontsize,
435
- color: sectionproperties.quantitycolor,
436
- fontWeight: sectionproperties.quantityfontweight,
437
- }}
438
- >
439
- {langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar}:{' '}
440
- {fetchProductInfoQueryContext.data.data.productinfo.currentquantity}
441
- </p>
442
- </div>
443
- )}
304
+ <div
305
+ className={
306
+ sectionproperties.showfooterphonenumber == 'Hide' &&
307
+ sectionproperties.showfooteremail == 'Hide' &&
308
+ sectionproperties.showstoreinfo2 == 'Hide' &&
309
+ sectionproperties.showstoreinfo1 == 'Hide'
310
+ ? 'col-lg-12'
311
+ : sectionproperties.storeinfoposition == 'Below Information'
312
+ ? 'col-lg-12'
313
+ : langdetect == 'en'
314
+ ? 'col-lg-9 pl-0 mb-md-3 p-md-0'
315
+ : 'col-lg-9 pr-0 mb-md-3 p-md-0'
316
+ }
317
+ style={{
318
+ marginBottom: sectionproperties.evencols == 'Yes' ? '60px' : 0,
319
+ }}
320
+ >
321
+ <div className={'row m-0 w-100'}>
322
+ {sectionproperties.gallerystyle == 'Style 1' && (
444
323
  <div
445
324
  className={
446
- fetchProductInfoQueryContext?.data?.data?.productinfo?.productcanrate == 1
447
- ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center'
448
- : sectionproperties.btnposition == 'Top'
449
- ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center'
450
- : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show'
451
- ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center'
452
- : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
325
+ sectionproperties.evencols == 'Yes'
326
+ ? productinfo_cssstyles.evencols + ' col-xl-6 col-lg-6 col-md-12 col-sm-12 mb-md-5 pb-md-5 pl-1 pr-1 evencols '
327
+ : 'col-xl-5 col-lg-5 col-md-12 col-sm-12 mb-md-5 pb-md-4 pl-1 pr-1'
453
328
  }
454
329
  >
455
- <p
456
- className={
457
- props.srcfromprops != 'templatedraftrouter'
458
- ? `${productinfo_cssstyles.productname} ${productinfo_cssstyles.productnamehover}` +
459
- ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 '
460
- : `${productinfo_cssstyles.productname}` + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 '
461
- }
462
- onClick={() => {
463
- if (props.srcfromprops != 'templatedraftrouter') {
464
- routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
465
- }
330
+ {/* <div className="col-xl-6 col-lg-4 col-md-12 col-sm-12 mb-md-3 pb-md-4 pl-1 pr-1 evencols"> */}
331
+ <div
332
+ className={sectionproperties.maximizegalleryfullscreen == 'Yes' ? ' col-lg-12 p-0 maximize ' : 'col-lg-12 p-0'}
333
+ style={{
334
+ width: '100%',
335
+ // height: 'auto',
336
+ height: sectionproperties.evencols == 'Yes' ? '550px' : 'auto',
466
337
  }}
467
- style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}
468
338
  >
469
- {langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar}
470
- </p>
471
- </div>
472
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.productcanrate == 1 && sectionproperties.showrating == 'Show' && (
473
- <div className="col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center">
474
- <ReactStars
475
- count={5}
476
- value={fetchProductInfoQueryContext?.data?.data?.productinfo?.productoverallrate}
477
- edit={false}
478
- size={18}
479
- emptyIcon={<i className="far fa-star" style={{ color: '#FAB400' }}></i>}
480
- halfIcon={<i className="fa fa-star-half-alt style={{ color: '#FAB400' }}"></i>}
481
- filledIcon={<i className="fa fa-star" style={{ color: '#FAB400' }}></i>}
482
- activeColor="#ffd700"
483
- />
484
- </div>
485
- )}
486
- <div className="col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center">
487
- {sectionproperties.availabilitybtnposition == 'Top' &&
488
- sectionproperties.show_availability == 'Show' &&
489
- fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 && (
339
+ {productimagesarray.length == 0 && (
490
340
  <div
491
341
  style={{
492
- width: sectionproperties.availability_width + 'px',
493
- height: sectionproperties.availability_height + 'px',
494
- background:
495
- fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit'
496
- ? sectionproperties.availability_availablebgcolor
497
- : sectionproperties.availability_limitedbgcolor,
498
- borderRadius: sectionproperties.availability_borderrradius + 'px',
499
- border:
500
- fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit'
501
- ? sectionproperties.availability_borderwidtth + 'px solid ' + sectionproperties.availability_availabletextcolor
502
- : sectionproperties.availability_borderwidtth + 'px solid ' + sectionproperties.availability_limitedtextcolor,
503
- justifyContent: sectionproperties.availabilitytextalignment == 'Centered' ? 'center' : 'start',
342
+ width: '100%',
343
+ height: '30vh',
344
+ background: '#eee',
345
+ borderRadius: 10,
504
346
  }}
505
- className="d-flex align-items-center pl-3 pr-3 mx-2"
506
347
  >
507
- <p
508
- className="m-0 p-0 font-weight-500 wordbreak"
509
- style={{
510
- color:
511
- fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit'
512
- ? sectionproperties.availability_availabletextcolor
513
- : sectionproperties.availability_limitedtextcolor,
514
- fontSize: sectionproperties.availability_fontsize + 'px',
515
- textAlign: sectionproperties.availabilitytextalignment == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
516
- }}
517
- >
518
- <span className="ml-1 mr-1">
519
- {fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity}
520
- </span>
521
- </p>
348
+ <i class="h-100 allcentered text-light">
349
+ <FiLayers size={26} />
350
+ </i>
522
351
  </div>
523
352
  )}
524
- {sectionproperties.btnposition == 'Top' && sectionproperties.favBtnShow == 'Show' && (
525
- <div
526
- className={productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 '}
527
- onClick={() => {
528
- addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
529
- }}
530
- style={{
531
- background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : '',
532
- }}
533
- >
534
- <i className="h-100 d-flex align-items-center justify-content-center">
535
- {fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && (
536
- <i className="h-100 d-flex align-items-center justify-content-center">
537
- {sectionproperties.faviconshape == 'Star Shape' && (
538
- <AiFillStar
539
- size={sectionproperties.favBtnIconfontsize}
540
- style={{
541
- color: sectionproperties.activefaviconcolor,
542
- }}
543
- />
544
- )}
545
- {sectionproperties.faviconshape == 'Heart Shape' && (
546
- <FaHeart
547
- size={sectionproperties.favBtnIconfontsize}
548
- style={{
549
- color: sectionproperties.activefaviconcolor,
550
- }}
551
- />
552
- )}
553
- </i>
554
- )}
555
- {!fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && (
556
- <i className="h-100 d-flex align-items-center justify-content-center">
557
- {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
558
- {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
559
- </i>
560
- )}
561
- </i>
562
- </div>
563
- )}
564
- </div>
565
- {sectionproperties.showSKU == 'Show' &&
566
- sectionproperties.productInformationType == 'Product/Service Information' &&
567
- sectionproperties.skuposition == 'Top' && <div class={'col-lg-12 p-0 my-3 d-flex justify-content-start'}>{ProductsSKUContainer()}</div>}
568
- {sectionproperties.featuresposition == 'Under Name' && sectionproperties.featurestyle == 'Table' && (
569
- <div class="col-lg-12 text-start p-md-0">
570
- <div class="row m-0 w-100">
571
- <div class="col-lg-12 p-0 my-3">
572
- <p
573
- className="m-0 p-0"
574
- style={{
575
- color: sectionproperties.featurestitlecolor,
576
- fontSize: sectionproperties.featurestitlefontsize + 'px',
577
- fontWeight: 600,
578
- }}
579
- >
580
- {langdetect == 'en' ? sectionproperties.featurestitleen : sectionproperties.featurestitlear}
581
- </p>
582
- </div>
583
-
584
- <div className="col-lg-12 m-0 w-100 p-0">
585
- <table className={'table tablevertical'}>
586
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.productfeatures?.map((fitem, findex) => {
587
- return (
588
- <tr>
589
- <th
590
- style={{
591
- textTransform: 'capitalize',
592
- color: '#000',
593
- textAlign: langdetect == 'en' ? 'left' : 'right',
594
- }}
595
- >
596
- {langdetect == 'en' ? fitem?.name_en : fitem?.name_ar}
597
- </th>
598
- <td
599
- style={{
600
- textAlign: langdetect == 'en' ? 'left' : 'right',
601
- }}
602
- >
603
- {langdetect == 'en' ? fitem?.value_en : fitem?.value_ar}
604
- </td>
605
- </tr>
606
- );
607
- })}
608
- </table>
609
- </div>
610
- </div>
611
- </div>
612
- )}
613
- {sectionproperties.defaultpricingposition == 'Under Name' && fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 && (
614
- <ProductHeaderPricing actions={props.actions} />
615
- )}
616
-
617
- {/* short desc */}
618
- {/* un comment */}
619
- {langdetect == 'en' &&
620
- fetchProductInfoQueryContext?.data?.data?.productinfo?.short_description_en != null &&
621
- sectionproperties.descriptionstyle == 'Style 1' && (
622
- <div class="col-lg-12 p-0">
623
- <div class="col-lg-12 p-0 d-flex justify-content-start">
624
- <p
625
- className={'text-black m-0 p-0 wordbreak'}
626
- style={{
627
- textAlign: langdetect == 'en' ? 'left' : 'right',
628
- }}
629
- dangerouslySetInnerHTML={{
630
- __html: fetchProductInfoQueryContext?.data?.data?.productinfo?.short_description_en,
353
+ {productimagesarray.length != 0 && (
354
+ <div
355
+ class="w-100 d-block d-md-none"
356
+ style={{
357
+ // height: '500px',
358
+ height: sectionproperties.evencols == 'Yes' ? '550px' : '',
359
+ }}
360
+ >
361
+ <ImageGallery
362
+ items={productimagesarray}
363
+ thumbnailPosition={sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left'}
364
+ showNav={true}
365
+ showPlayButton={false}
366
+ showFullscreenButton={sectionproperties.showgalleryfullscreenbtn == 'Yes' ? true : false}
367
+ startIndex={currentshowingimageindex}
368
+ onSlide={(d) => {
369
+ setcurrentshowingimageindex(d);
631
370
  }}
632
- ></p>
371
+ ref={(el) => setGallery(el)}
372
+ onClick={toggleFullScreen}
373
+ />
633
374
  </div>
634
- </div>
635
- )}
636
- {/* short desc */}
637
- {/* un comment */}
638
- {langdetect == 'ar' &&
639
- fetchProductInfoQueryContext?.data?.data?.productinfo?.short_description_ar != null &&
640
- sectionproperties.descriptionstyle == 'Style 1' && (
641
- <div class="col-lg-12 p-0">
642
- <div class="col-lg-12 p-0 d-flex justify-content-start">
643
- <p
644
- className={'text-black m-0 p-0 wordbreak'}
645
- style={{
646
- textAlign: langdetect == 'en' ? 'left' : 'right',
647
- }}
648
- dangerouslySetInnerHTML={{
649
- __html: fetchProductInfoQueryContext?.data?.data?.productinfo?.short_description_ar,
375
+ )}
376
+ {productimagesarray.length != 0 && (
377
+ <div class="w-100 d-none d-md-block">
378
+ <ImageGallery
379
+ items={productimagesarray}
380
+ thumbnailPosition={'bottom'}
381
+ showNav={false}
382
+ showPlayButton={false}
383
+ showFullscreenButton={true}
384
+ startIndex={currentshowingimageindex}
385
+ onSlide={(d) => {
386
+ setcurrentshowingimageindex(d);
650
387
  }}
651
- ></p>
388
+ />
652
389
  </div>
653
- </div>
654
- )}
655
-
656
- {/* {srcfromprops == 'templatdraftrouter' && (
657
- <div className="col-lg-10 col-md-10 col-sm-10 p-0 mb-2 d-flex justify-content-start align-items-center">
658
- <p className={`${productinfo_cssstyles.productname}` + ' m-0 p-0 wordbreak d-flex justify-content-start '}>
659
- {langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar}
660
- </p>
661
- </div>
662
- )} */}
663
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.vendorinfo != null && sectionproperties.showvendor == 'Show' && (
664
- <div class="col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2">
665
- <p class="m-0 p-0" style={{ color: '#000' }}>
666
- {langdetect == 'en' ? sectionproperties.vendortitleen : sectionproperties.vendortitlear}:{' '}
667
- <span
390
+ )}
391
+ </div>
392
+ </div>
393
+ )}
394
+ <div
395
+ className={
396
+ sectionproperties.gallerystyle == 'Style 1'
397
+ ? sectionproperties.evencols == 'Yes'
398
+ ? langdetect == 'en'
399
+ ? 'col-xl-6 col-lg-6 col-md-12 col-sm-12 pl-4 pr-0 pl-md-0 pr-md-0 pt-md-5'
400
+ : 'col-xl-6 col-lg-6 col-md-12 col-sm-12 pl-0 pr-4 pl-md-0 pr-md-0 pt-md-5'
401
+ : langdetect == 'en'
402
+ ? 'col-xl-7 col-lg-7 col-md-12 col-sm-12 pl-4 pr-0 p-md-0'
403
+ : 'col-xl-7 col-lg-7 col-md-12 col-sm-12 pl-0 pr-4 p-md-0'
404
+ : 'col-xl-12 col-lg-12 col-md-12 col-sm-12 px-3 px-md-2'
405
+ }
406
+ // className={
407
+ // sectionproperties.gallerystyle == 'Style 1'
408
+ // ? langdetect == 'en'
409
+ // ? 'col-xl-6 col-lg-8 col-md-12 col-sm-12 pl-4 pr-0 p-md-0'
410
+ // : 'col-xl-6 col-lg-8 col-md-12 col-sm-12 pl-0 pr-4 p-md-0'
411
+ // : 'col-xl-12 col-lg-12 col-md-12 col-sm-12 px-3 px-md-2'
412
+ // }
413
+ >
414
+ <div className={sectionproperties.evencols == 'Yes' ? 'row m-0 w-100 mt-md-5' : 'row m-0 w-100'}>
415
+ {sectionproperties.showmeasurementunit == 'Show' && (
416
+ <div className={'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-1 mt-3'}>
417
+ <p
418
+ className={' m-0 p-0 wordbreak d-flex justify-content-start '}
668
419
  style={{
669
- fontWeight: 600,
420
+ textAlign: langdetect == 'en' ? 'left' : 'right',
421
+ fontWeight: 400,
422
+ color: sectionproperties.measurementunitcolor,
423
+ fontSize: sectionproperties.measurementunitcolor + 'px',
670
424
  }}
671
425
  >
672
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.vendorinfo?.vendorname}
673
- </span>
674
- </p>
675
- </div>
676
- )}
677
- {sectionproperties.showSKU == 'Show' &&
678
- sectionproperties.productInformationType == 'Product/Service Information' &&
679
- sectionproperties.skuposition == 'Bottom' && (
680
- <div
681
- class={
682
- sectionproperties.deliverytimeshow == 'Show' && fetchProductInfoQueryContext?.data?.data?.productinfo?.deliverydatetext != null
683
- ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start'
684
- : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
685
- }
686
- >
687
- {ProductsSKUContainer()}
426
+ {fetchProductInfoQueryContext.data.data.productinfo.measurmentunit}
427
+ </p>
688
428
  </div>
689
429
  )}
690
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.currentquantity < 1 &&
691
- sectionproperties.showoutofstock == 'Show' &&
692
- fetchProductInfoQueryContext?.data?.data?.productinfo?.quantavailtype == 'limit' &&
693
- fetchProductInfoQueryContext?.data?.data?.productinfo?.hasvariants == 0 && (
694
- <div class="col-lg-12 p-0 d-flex justify-content-start mb-2">
695
- <div class={`${productinfo_cssstyles.outstockbadge}` + ' allcentered '}>
696
- <p class="m-0 p-0">{langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar}</p>
697
- </div>
430
+ {sectionproperties.quantityshow == 'Show' && (
431
+ <div class="col-lg-12 p-0 text-start">
432
+ <p
433
+ class="m-0 p-0"
434
+ style={{
435
+ fontSize: sectionproperties.quantityfontsize,
436
+ color: sectionproperties.quantitycolor,
437
+ fontWeight: sectionproperties.quantityfontweight,
438
+ }}
439
+ >
440
+ {langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar}:{' '}
441
+ {fetchProductInfoQueryContext.data.data.productinfo.currentquantity}
442
+ </p>
698
443
  </div>
699
444
  )}
700
- {sectionproperties.deliverytimeshow == 'Show' && fetchProductInfoQueryContext?.data?.data?.productinfo?.deliverydatetext != null && (
701
445
  <div
702
- class="mb-4 col-lg-12 allcentered"
703
- style={{
704
- width: '100%',
705
- backgroundColor: sectionproperties.deliverytimecontainerBg,
706
- paddingLeft: sectionproperties.deliverytimecontainerpaddinghorizontal + 'px',
707
- paddingRight: sectionproperties.deliverytimecontainerpaddinghorizontal + 'px',
708
- paddingTop: sectionproperties.deliverytimecontainerpaddingvertical + 'px',
709
- paddingBottom: sectionproperties.deliverytimecontainerpaddingvertical + 'px',
710
- border: sectionproperties.deliverytimecontainerborderwidth + 'px solid ' + sectionproperties.deliverytimecontainerbordercolor,
711
- borderRadius: sectionproperties.deliverytimecontainerborderradius + 'px',
712
- fontSize: sectionproperties.deliverytimecontainerfontsize + 'px',
713
- fontWeight: sectionproperties.deliverytimecontainerfontWeight,
714
- marginTop: 15,
715
- }}
446
+ className={
447
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.productcanrate == 1
448
+ ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center'
449
+ : sectionproperties.btnposition == 'Top'
450
+ ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center'
451
+ : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show'
452
+ ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center'
453
+ : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
454
+ }
716
455
  >
717
456
  <p
718
- class="m-0 p-0 "
719
- style={{
720
- textAlign: langdetect == 'en' ? 'left' : 'right',
721
- color: sectionproperties.deliverytimecontainercolor,
457
+ className={
458
+ props.srcfromprops != 'templatedraftrouter'
459
+ ? `${productinfo_cssstyles.productname} ${productinfo_cssstyles.productnamehover}` +
460
+ ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 '
461
+ : `${productinfo_cssstyles.productname}` + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 '
462
+ }
463
+ onClick={() => {
464
+ if (props.srcfromprops != 'templatedraftrouter') {
465
+ routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
466
+ }
722
467
  }}
468
+ style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}
723
469
  >
724
- {sectionproperties.showdeliverytitle == 'Show' && (
725
- <span>{langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar}: </span>
726
- )}{' '}
727
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.deliverydatetext}
470
+ {langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar}
728
471
  </p>
729
472
  </div>
730
- )}
731
- {sectionproperties.defaultpricingposition != 'Under Name' && fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 && (
732
- <ProductHeaderPricing actions={props.actions} />
733
- )}
734
- {/* un comment */}
735
- {sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && (
736
- <div class="col-lg-12 p-0">
737
- <div class="row m-0 w-100">
738
- {sectionproperties.showshortdescription == 'Show' && (
739
- <div class="col-lg-12 p-0 mb-2">
740
- <p style={{ textAlign: langdetect == 'en' ? 'left' : 'right', color: sectionproperties.generaltext_fontColor }}>
741
- {langdetect == 'en' ? 'Description' : 'التفاصيل'}
473
+ {fetchProductInfoQueryContext?.data?.data?.productinfo?.productcanrate == 1 && sectionproperties.showrating == 'Show' && (
474
+ <div className="col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center">
475
+ <ReactStars
476
+ count={5}
477
+ value={fetchProductInfoQueryContext?.data?.data?.productinfo?.productoverallrate}
478
+ edit={false}
479
+ size={18}
480
+ emptyIcon={<i className="far fa-star" style={{ color: '#FAB400' }}></i>}
481
+ halfIcon={<i className="fa fa-star-half-alt style={{ color: '#FAB400' }}"></i>}
482
+ filledIcon={<i className="fa fa-star" style={{ color: '#FAB400' }}></i>}
483
+ activeColor="#ffd700"
484
+ />
485
+ </div>
486
+ )}
487
+ <div className="col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center">
488
+ {sectionproperties.availabilitybtnposition == 'Top' &&
489
+ sectionproperties.show_availability == 'Show' &&
490
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 && (
491
+ <div
492
+ style={{
493
+ width: sectionproperties.availability_width + 'px',
494
+ height: sectionproperties.availability_height + 'px',
495
+ background:
496
+ fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit'
497
+ ? sectionproperties.availability_availablebgcolor
498
+ : sectionproperties.availability_limitedbgcolor,
499
+ borderRadius: sectionproperties.availability_borderrradius + 'px',
500
+ border:
501
+ fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit'
502
+ ? sectionproperties.availability_borderwidtth + 'px solid ' + sectionproperties.availability_availabletextcolor
503
+ : sectionproperties.availability_borderwidtth + 'px solid ' + sectionproperties.availability_limitedtextcolor,
504
+ justifyContent: sectionproperties.availabilitytextalignment == 'Centered' ? 'center' : 'start',
505
+ }}
506
+ className="d-flex align-items-center pl-3 pr-3 mx-2"
507
+ >
508
+ <p
509
+ className="m-0 p-0 font-weight-500 wordbreak"
510
+ style={{
511
+ color:
512
+ fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit'
513
+ ? sectionproperties.availability_availabletextcolor
514
+ : sectionproperties.availability_limitedtextcolor,
515
+ fontSize: sectionproperties.availability_fontsize + 'px',
516
+ textAlign: sectionproperties.availabilitytextalignment == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
517
+ }}
518
+ >
519
+ <span className="ml-1 mr-1">
520
+ {fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity}
521
+ </span>
742
522
  </p>
743
523
  </div>
744
524
  )}
745
- <div class="col-lg-12 p-0">
746
- <DescriptionContent actions={props.actions} srcfromprops={'undername'} />
525
+ {sectionproperties.btnposition == 'Top' && sectionproperties.favBtnShow == 'Show' && (
526
+ <div
527
+ className={productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 '}
528
+ onClick={() => {
529
+ addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
530
+ }}
531
+ style={{
532
+ background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : '',
533
+ }}
534
+ >
535
+ <i className="h-100 d-flex align-items-center justify-content-center">
536
+ {fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && (
537
+ <i className="h-100 d-flex align-items-center justify-content-center">
538
+ {sectionproperties.faviconshape == 'Star Shape' && (
539
+ <AiFillStar
540
+ size={sectionproperties.favBtnIconfontsize}
541
+ style={{
542
+ color: sectionproperties.activefaviconcolor,
543
+ }}
544
+ />
545
+ )}
546
+ {sectionproperties.faviconshape == 'Heart Shape' && (
547
+ <FaHeart
548
+ size={sectionproperties.favBtnIconfontsize}
549
+ style={{
550
+ color: sectionproperties.activefaviconcolor,
551
+ }}
552
+ />
553
+ )}
554
+ </i>
555
+ )}
556
+ {!fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && (
557
+ <i className="h-100 d-flex align-items-center justify-content-center">
558
+ {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
559
+ {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
560
+ </i>
561
+ )}
562
+ </i>
747
563
  </div>
748
- </div>
564
+ )}
749
565
  </div>
750
- )}
751
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.hasvariants == 1 && sectionproperties.productInformationType == 'Profile' && (
752
- <div className="row m-0 w-100 d-flex align-items-start">
753
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.productoptions?.map((item, index) => {
754
- return (
755
- <div className="col-lg-12 p-0 d-flex justify-content-start" style={{ position: 'relative' }}>
756
- <div style={{ width: 2, height: '100%', background: sectionproperties.upperseparatorbgcolor, position: 'absolute', top: 7 }} />
757
- <div
758
- style={{
759
- width: 10,
760
- height: 10,
761
- background: sectionproperties.upperseparatorsecondarybgcolor,
762
- borderRadius: 100,
763
- position: 'absolute',
764
- top: 7,
765
- left: langdetect == 'en' ? -4 : '',
766
- right: langdetect == 'ar' ? -4 : '',
767
- }}
768
- />
769
- <div
770
- className="row m-0 w-100 d-flex align-items-start pb-3"
566
+ {sectionproperties.showSKU == 'Show' &&
567
+ sectionproperties.productInformationType == 'Product/Service Information' &&
568
+ sectionproperties.skuposition == 'Top' && <div class={'col-lg-12 p-0 my-3 d-flex justify-content-start'}>{ProductsSKUContainer()}</div>}
569
+ {sectionproperties.featuresposition == 'Under Name' && sectionproperties.featurestyle == 'Table' && (
570
+ <div class="col-lg-12 text-start p-md-0">
571
+ <div class="row m-0 w-100">
572
+ <div class="col-lg-12 p-0 my-3">
573
+ <p
574
+ className="m-0 p-0"
771
575
  style={{
772
- paddingLeft: langdetect == 'en' ? '1rem' : 0,
773
- paddingRight: langdetect == 'ar' ? '1rem' : 0,
576
+ color: sectionproperties.featurestitlecolor,
577
+ fontSize: sectionproperties.featurestitlefontsize + 'px',
578
+ fontWeight: 600,
774
579
  }}
775
580
  >
776
- <p
777
- className={' m-0 p-0 wordbreak'}
778
- style={{
779
- color: sectionproperties.varianttitle_color,
780
- fontWeight: sectionproperties.varianttitle_fontweight,
781
- textTransform: sectionproperties.varianttitle_texttransform,
782
- fontSize: sectionproperties.varianttitle_fontSize + 'px',
783
- }}
784
- >
785
- {langdetect == 'en' ? item.optionname : item.optionname_ar}:
786
- </p>
787
- {item.optionvalues.map((optionvaluesitem, optionvaluesindex) => {
581
+ {langdetect == 'en' ? sectionproperties.featurestitleen : sectionproperties.featurestitlear}
582
+ </p>
583
+ </div>
584
+
585
+ <div className="col-lg-12 m-0 w-100 p-0">
586
+ <table className={'table tablevertical'}>
587
+ {fetchProductInfoQueryContext?.data?.data?.productinfo?.productfeatures?.map((fitem, findex) => {
788
588
  return (
789
- <div
790
- className={productinfostyles.variant_container + ' mr-2 variabttcontainer allcentered '}
791
- style={{
792
- backgroundColor:
793
- sectionproperties.variantcontainer_bgcolortransparent == 'Transparent'
794
- ? 'transparent'
795
- : sectionproperties.variantcontainer_bgcolor,
796
- minWidth:
797
- sectionproperties.variantcontainer_bgcolortransparent == 'Transparent'
798
- ? 'auto'
799
- : sectionproperties.variantcontainer_minwidth + 'px',
800
- height:
801
- sectionproperties.variantcontainer_bgcolortransparent == 'Transparent'
802
- ? 'auto'
803
- : sectionproperties.variantcontainer_height + 'px',
804
- borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
805
- transform: 'none',
806
- cursor: 'default',
807
- }}
808
- >
809
- <p
810
- className={'m-0 p-0 allcentered font-weight-500'}
589
+ <tr>
590
+ <th
811
591
  style={{
812
- color: sectionproperties.variantcontainer_color,
813
- fontSize: sectionproperties.variantcontainer_fontSize + 'px',
592
+ textTransform: 'capitalize',
593
+ color: '#000',
814
594
  }}
815
595
  >
816
- {langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar}
817
- </p>
818
- </div>
596
+ {langdetect == 'en' ? fitem?.name_en : fitem?.name_ar}
597
+ </th>
598
+ <td>{langdetect == 'en' ? fitem?.value_en : fitem?.value_ar}</td>
599
+ </tr>
819
600
  );
820
601
  })}
821
- </div>
602
+ </table>
822
603
  </div>
823
- );
824
- })}
825
- </div>
826
- )}
827
- <Variantoptions actions={props.actions} />
828
- <ProductExtras actions={props.actions} />
829
- {sectionproperties.showextrafield == 'Show' && <ProductExtraFields actions={props.actions} />}
830
- {sectionproperties.gallerystyle != 'Style 1' && sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition != 'Top' && (
831
- <DescriptionContent actions={props.actions} />
832
- )}
833
- {sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && (
834
- <div className="col-lg-12 p-0 mb-3">
835
- <hr className="mb-0 mt-2" />
836
- </div>
837
- )}
838
- <div
839
- className="col-lg-12 p-0 mb-3"
840
- style={{
841
- display: sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? 'none' : 'flex',
842
- }}
843
- >
844
- <div
845
- className="row mx-0 w-100 d-flex align-items-center"
846
- style={{
847
- marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
848
- marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px',
849
- }}
850
- >
851
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 &&
852
- fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducthasquantitychange == 1 &&
853
- sectionproperties.quantitybtn_show == 'Show' && (
854
- <div className="col-lg-12 p-0 mb-2 d-flex justofy-content-start">
604
+ </div>
605
+ </div>
606
+ )}
607
+ {sectionproperties.defaultpricingposition == 'Under Name' && fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 && (
608
+ <ProductHeaderPricing actions={props.actions} />
609
+ )}
610
+
611
+ {/* short desc */}
612
+ {/* un comment */}
613
+ {langdetect == 'en' &&
614
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.short_description_en != null &&
615
+ sectionproperties.descriptionstyle == 'Style 1' && (
616
+ <div class="col-lg-12 p-0">
617
+ <div class="col-lg-12 p-0 d-flex justify-content-start">
855
618
  <p
856
- className="m-0 p-0"
619
+ className={'text-black m-0 p-0 wordbreak'}
857
620
  style={{
858
- color: sectionproperties.generaltext_fontColor,
859
- fontSize: sectionproperties.generaltext_fontSize + 'px',
860
- textTransform: sectionproperties.generaltext_textTransform,
861
- fontWeight: sectionproperties.generaltext_fontWeight,
621
+ textAlign: langdetect == 'en' ? 'left' : 'right',
862
622
  }}
863
- >
864
- {langdetect == 'en' ? sectionproperties.quantitybtnen : sectionproperties.quantitybtnar}:
865
- </p>
623
+ dangerouslySetInnerHTML={{
624
+ __html: fetchProductInfoQueryContext?.data?.data?.productinfo?.short_description_en,
625
+ }}
626
+ ></p>
866
627
  </div>
867
- )}
868
- <div class="col-lg-12 p-0">
628
+ </div>
629
+ )}
630
+ {/* short desc */}
631
+ {/* un comment */}
632
+ {langdetect == 'ar' &&
633
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.short_description_ar != null &&
634
+ sectionproperties.descriptionstyle == 'Style 1' && (
635
+ <div class="col-lg-12 p-0">
636
+ <div class="col-lg-12 p-0 d-flex justify-content-start">
637
+ <p
638
+ className={'text-black m-0 p-0 wordbreak'}
639
+ style={{
640
+ textAlign: langdetect == 'en' ? 'left' : 'right',
641
+ }}
642
+ dangerouslySetInnerHTML={{
643
+ __html: fetchProductInfoQueryContext?.data?.data?.productinfo?.short_description_ar,
644
+ }}
645
+ ></p>
646
+ </div>
647
+ </div>
648
+ )}
649
+
650
+ {/* {srcfromprops == 'templatdraftrouter' && (
651
+ <div className="col-lg-10 col-md-10 col-sm-10 p-0 mb-2 d-flex justify-content-start align-items-center">
652
+ <p className={`${productinfo_cssstyles.productname}` + ' m-0 p-0 wordbreak d-flex justify-content-start '}>
653
+ {langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar}
654
+ </p>
655
+ </div>
656
+ )} */}
657
+ {fetchProductInfoQueryContext?.data?.data?.productinfo?.vendorinfo != null && sectionproperties.showvendor == 'Show' && (
658
+ <div class="col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2">
659
+ <p class="m-0 p-0" style={{ color: '#000' }}>
660
+ {langdetect == 'en' ? sectionproperties.vendortitleen : sectionproperties.vendortitlear}:{' '}
661
+ <span
662
+ style={{
663
+ fontWeight: 600,
664
+ }}
665
+ >
666
+ {fetchProductInfoQueryContext?.data?.data?.productinfo?.vendorinfo?.vendorname}
667
+ </span>
668
+ </p>
669
+ </div>
670
+ )}
671
+ {sectionproperties.showSKU == 'Show' &&
672
+ sectionproperties.productInformationType == 'Product/Service Information' &&
673
+ sectionproperties.skuposition == 'Bottom' && (
869
674
  <div
870
- class="row m-0 w-100 d-flex align-items-center"
675
+ class={
676
+ sectionproperties.deliverytimeshow == 'Show' && fetchProductInfoQueryContext?.data?.data?.productinfo?.deliverydatetext != null
677
+ ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start'
678
+ : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
679
+ }
680
+ >
681
+ {ProductsSKUContainer()}
682
+ </div>
683
+ )}
684
+ {fetchProductInfoQueryContext?.data?.data?.productinfo?.currentquantity < 1 &&
685
+ sectionproperties.showoutofstock == 'Show' &&
686
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.quantavailtype == 'limit' &&
687
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.hasvariants == 0 && (
688
+ <div class="col-lg-12 p-0 d-flex justify-content-start mb-2">
689
+ <div class={`${productinfo_cssstyles.outstockbadge}` + ' allcentered '}>
690
+ <p class="m-0 p-0">{langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar}</p>
691
+ </div>
692
+ </div>
693
+ )}
694
+ {sectionproperties.deliverytimeshow == 'Show' && fetchProductInfoQueryContext?.data?.data?.productinfo?.deliverydatetext != null && (
695
+ <div
696
+ class="mb-4 col-lg-12 allcentered"
697
+ style={{
698
+ width: '100%',
699
+ backgroundColor: sectionproperties.deliverytimecontainerBg,
700
+ paddingLeft: sectionproperties.deliverytimecontainerpaddinghorizontal + 'px',
701
+ paddingRight: sectionproperties.deliverytimecontainerpaddinghorizontal + 'px',
702
+ paddingTop: sectionproperties.deliverytimecontainerpaddingvertical + 'px',
703
+ paddingBottom: sectionproperties.deliverytimecontainerpaddingvertical + 'px',
704
+ border: sectionproperties.deliverytimecontainerborderwidth + 'px solid ' + sectionproperties.deliverytimecontainerbordercolor,
705
+ borderRadius: sectionproperties.deliverytimecontainerborderradius + 'px',
706
+ fontSize: sectionproperties.deliverytimecontainerfontsize + 'px',
707
+ fontWeight: sectionproperties.deliverytimecontainerfontWeight,
708
+ marginTop: 15,
709
+ }}
710
+ >
711
+ <p
712
+ class="m-0 p-0 "
871
713
  style={{
872
- justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start',
714
+ textAlign: langdetect == 'en' ? 'left' : 'right',
715
+ color: sectionproperties.deliverytimecontainercolor,
873
716
  }}
874
717
  >
875
- {sectionproperties.quantitybtn_show == 'Show' &&
876
- fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 &&
877
- fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducthasquantitychange == 1 && (
878
- <button
879
- className={` ${productinfo_cssstyles.quantitybtn}` + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 '}
718
+ {sectionproperties.showdeliverytitle == 'Show' && (
719
+ <span>{langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar}: </span>
720
+ )}{' '}
721
+ {fetchProductInfoQueryContext?.data?.data?.productinfo?.deliverydatetext}
722
+ </p>
723
+ </div>
724
+ )}
725
+ {sectionproperties.defaultpricingposition != 'Under Name' && fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 && (
726
+ <ProductHeaderPricing actions={props.actions} />
727
+ )}
728
+ {/* un comment */}
729
+ {sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && (
730
+ <div class="col-lg-12 p-0">
731
+ <div class="row m-0 w-100">
732
+ {sectionproperties.showshortdescription == 'Show' && (
733
+ <div class="col-lg-12 p-0 mb-2">
734
+ <p style={{ textAlign: langdetect == 'en' ? 'left' : 'right', color: sectionproperties.generaltext_fontColor }}>
735
+ {langdetect == 'en' ? 'Description' : 'التفاصيل'}
736
+ </p>
737
+ </div>
738
+ )}
739
+ <div class="col-lg-12 p-0">
740
+ <DescriptionContent actions={props.actions} srcfromprops={'undername'} />
741
+ </div>
742
+ </div>
743
+ </div>
744
+ )}
745
+ {fetchProductInfoQueryContext?.data?.data?.productinfo?.hasvariants == 1 && sectionproperties.productInformationType == 'Profile' && (
746
+ <div className="row m-0 w-100 d-flex align-items-start">
747
+ {fetchProductInfoQueryContext?.data?.data?.productinfo?.productoptions?.map((item, index) => {
748
+ return (
749
+ <div className="col-lg-12 p-0 d-flex justify-content-start" style={{ position: 'relative' }}>
750
+ <div style={{ width: 2, height: '100%', background: sectionproperties.upperseparatorbgcolor, position: 'absolute', top: 7 }} />
751
+ <div
880
752
  style={{
881
- height: sectionproperties.quantitybtn_height + 'px',
882
- width: sectionproperties.quantitybtn_width + 'px',
883
- flexDirection: 'row',
884
- direction: 'ltr',
753
+ width: 10,
754
+ height: 10,
755
+ background: sectionproperties.upperseparatorsecondarybgcolor,
756
+ borderRadius: 100,
757
+ position: 'absolute',
758
+ top: 7,
759
+ left: langdetect == 'en' ? -4 : '',
760
+ right: langdetect == 'ar' ? -4 : '',
761
+ }}
762
+ />
763
+ <div
764
+ className="row m-0 w-100 d-flex align-items-start pb-3"
765
+ style={{
766
+ paddingLeft: langdetect == 'en' ? '1rem' : 0,
767
+ paddingRight: langdetect == 'ar' ? '1rem' : 0,
885
768
  }}
886
769
  >
887
- {sectionproperties.quantitybtneditable == 'No' && (
888
- <span
889
- className={`${productinfo_cssstyles.minus_quantitybtn_icon_container}` + ' m-1 '}
890
- onClick={() => {
891
- var quantitystepincrearse = 1;
892
- // var finalquantity = 0;
893
- var tempaddtocardpayloadobj = {
894
- ...addtocardpayloadobj,
895
- };
896
- if (
897
- fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != undefined &&
898
- fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != null &&
899
- fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != 1 &&
900
- fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != ''
901
- ) {
902
- quantitystepincrearse = parseInt(fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse);
903
- }
904
- var finalquantity = tempaddtocardpayloadobj.quantity - quantitystepincrearse;
905
-
906
- if (finalquantity >= 0) {
907
- tempaddtocardpayloadobj.quantity = finalquantity;
908
- }
909
- setaddtocardpayloadobj({
910
- ...tempaddtocardpayloadobj,
911
- });
912
- // var tempaddtocardpayloadobj = {
913
- // ...addtocardpayloadobj,
914
- // };
915
- // if (tempaddtocardpayloadobj.quantity > 0) {
916
- // if (
917
- // fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != undefined &&
918
- // fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != null &&
919
- // fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != 1 &&
920
- // fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != ''
921
- // ) {
922
- // tempaddtocardpayloadobj.quantity =
923
- // tempaddtocardpayloadobj.quantity -
924
- // parseInt(fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse);
925
- // } else {
926
- // tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
927
- // }
928
- // // tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
929
- // }
930
- // setaddtocardpayloadobj({
931
- // ...tempaddtocardpayloadobj,
932
- // });
933
- }}
934
- >
935
- <i
936
- className={sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered'}
937
- style={{
938
- fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
939
- }}
940
- >
941
- {sectionproperties.quantityiconstyle == 'Plus/Minus' && (
942
- <FiMinus size={sectionproperties.remove_quantitybtn_textfontsize} />
943
- )}
944
- </i>
945
- </span>
946
- )}
947
- {sectionproperties.quantitybtneditable == 'No' && (
948
- <span className={`${productinfo_cssstyles.quantitybtn_text}`}>{addtocardpayloadobj.quantity}</span>
949
- )}
950
- {sectionproperties.quantitybtneditable == 'No' && (
951
- <span
952
- className={`${productinfo_cssstyles.add_quantitybtn_icon_container}` + ' m-1 '}
953
- onClick={() => {
954
- var quantitystepincrearse = 1;
955
- var tempaddtocardpayloadobj = {
956
- ...addtocardpayloadobj,
957
- };
958
- if (
959
- fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != undefined &&
960
- fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != null &&
961
- fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != 1 &&
962
- fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != ''
963
- ) {
964
- quantitystepincrearse = parseInt(fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse);
965
- }
966
- tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + quantitystepincrearse;
967
-
968
- // else {
969
- // tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
970
- // }
971
- setaddtocardpayloadobj({
972
- ...tempaddtocardpayloadobj,
973
- });
974
- }}
975
- >
976
- <i
977
- className={sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered'}
978
- // className="fa fa-chevron-up"
770
+ <p
771
+ className={' m-0 p-0 wordbreak'}
772
+ style={{
773
+ color: sectionproperties.varianttitle_color,
774
+ fontWeight: sectionproperties.varianttitle_fontweight,
775
+ textTransform: sectionproperties.varianttitle_texttransform,
776
+ fontSize: sectionproperties.varianttitle_fontSize + 'px',
777
+ }}
778
+ >
779
+ {langdetect == 'en' ? item.optionname : item.optionname_ar}:
780
+ </p>
781
+ {item.optionvalues.map((optionvaluesitem, optionvaluesindex) => {
782
+ return (
783
+ <div
784
+ className={productinfostyles.variant_container + ' mr-2 variabttcontainer allcentered '}
979
785
  style={{
980
- fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
786
+ backgroundColor:
787
+ sectionproperties.variantcontainer_bgcolortransparent == 'Transparent'
788
+ ? 'transparent'
789
+ : sectionproperties.variantcontainer_bgcolor,
790
+ minWidth:
791
+ sectionproperties.variantcontainer_bgcolortransparent == 'Transparent'
792
+ ? 'auto'
793
+ : sectionproperties.variantcontainer_minwidth + 'px',
794
+ height:
795
+ sectionproperties.variantcontainer_bgcolortransparent == 'Transparent'
796
+ ? 'auto'
797
+ : sectionproperties.variantcontainer_height + 'px',
798
+ borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
799
+ transform: 'none',
800
+ cursor: 'default',
981
801
  }}
982
802
  >
983
- {sectionproperties.quantityiconstyle == 'Plus/Minus' && (
984
- <FiPlus size={sectionproperties.add_quantitybtn_textfontsize} />
985
- )}
986
- </i>
987
- </span>
988
- )}
989
-
990
- {sectionproperties.quantitybtneditable == 'Yes' && (
991
- <input
992
- type="number"
993
- style={{
994
- width: 100,
995
- height: 40,
996
- background: 'transparent',
997
- fontWeight: sectionproperties.quantitybtn_textfontweight,
998
- color: sectionproperties.quantitybtn_textcolor,
999
- fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
1000
- textAlign: 'center',
1001
- }}
1002
- value={addtocardpayloadobj.quantity}
1003
- onChange={(event) => {
1004
- if (
1005
- event.target.value == NaN ||
1006
- event.target.value == undefined ||
1007
- event.target.value == null ||
1008
- event.target.value == ''
1009
- ) {
803
+ <p
804
+ className={'m-0 p-0 allcentered font-weight-500'}
805
+ style={{
806
+ color: sectionproperties.variantcontainer_color,
807
+ fontSize: sectionproperties.variantcontainer_fontSize + 'px',
808
+ }}
809
+ >
810
+ {langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar}
811
+ </p>
812
+ </div>
813
+ );
814
+ })}
815
+ </div>
816
+ </div>
817
+ );
818
+ })}
819
+ </div>
820
+ )}
821
+ <Variantoptions actions={props.actions} />
822
+ <ProductExtras actions={props.actions} />
823
+ {sectionproperties.showextrafield == 'Show' && <ProductExtraFields actions={props.actions} />}
824
+ {sectionproperties.gallerystyle != 'Style 1' && sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition != 'Top' && (
825
+ <DescriptionContent actions={props.actions} />
826
+ )}
827
+ {sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && (
828
+ <div className="col-lg-12 p-0 mb-3">
829
+ <hr className="mb-0 mt-2" />
830
+ </div>
831
+ )}
832
+ <div
833
+ className="col-lg-12 p-0 mb-3"
834
+ style={{
835
+ display: sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? 'none' : 'flex',
836
+ }}
837
+ >
838
+ <div
839
+ className="row mx-0 w-100 d-flex align-items-center"
840
+ style={{
841
+ marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
842
+ marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px',
843
+ }}
844
+ >
845
+ {fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 &&
846
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducthasquantitychange == 1 &&
847
+ sectionproperties.quantitybtn_show == 'Show' && (
848
+ <div className="col-lg-12 p-0 mb-2 d-flex justofy-content-start">
849
+ <p
850
+ className="m-0 p-0"
851
+ style={{
852
+ color: sectionproperties.generaltext_fontColor,
853
+ fontSize: sectionproperties.generaltext_fontSize + 'px',
854
+ textTransform: sectionproperties.generaltext_textTransform,
855
+ fontWeight: sectionproperties.generaltext_fontWeight,
856
+ }}
857
+ >
858
+ {langdetect == 'en' ? sectionproperties.quantitybtnen : sectionproperties.quantitybtnar}:
859
+ </p>
860
+ </div>
861
+ )}
862
+ <div class="col-lg-12 p-0">
863
+ <div
864
+ class="row m-0 w-100 d-flex align-items-center"
865
+ style={{
866
+ justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start',
867
+ }}
868
+ >
869
+ {sectionproperties.quantitybtn_show == 'Show' &&
870
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 &&
871
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducthasquantitychange == 1 && (
872
+ <button
873
+ className={` ${productinfo_cssstyles.quantitybtn}` + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 '}
874
+ style={{
875
+ height: sectionproperties.quantitybtn_height + 'px',
876
+ width: sectionproperties.quantitybtn_width + 'px',
877
+ flexDirection: 'row',
878
+ direction: 'ltr',
879
+ }}
880
+ >
881
+ {sectionproperties.quantitybtneditable == 'No' && (
882
+ <span
883
+ className={`${productinfo_cssstyles.minus_quantitybtn_icon_container}` + ' m-1 '}
884
+ onClick={() => {
885
+ var quantitystepincrearse = 1;
886
+ // var finalquantity = 0;
1010
887
  var tempaddtocardpayloadobj = {
1011
888
  ...addtocardpayloadobj,
1012
889
  };
1013
- tempaddtocardpayloadobj.quantity = 1;
890
+ if (
891
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != undefined &&
892
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != null &&
893
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != 1 &&
894
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != ''
895
+ ) {
896
+ quantitystepincrearse = parseInt(
897
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse,
898
+ );
899
+ }
900
+ var finalquantity = tempaddtocardpayloadobj.quantity - quantitystepincrearse;
901
+
902
+ if (finalquantity >= 0) {
903
+ tempaddtocardpayloadobj.quantity = finalquantity;
904
+ }
1014
905
  setaddtocardpayloadobj({
1015
906
  ...tempaddtocardpayloadobj,
1016
907
  });
1017
- } else {
908
+ // var tempaddtocardpayloadobj = {
909
+ // ...addtocardpayloadobj,
910
+ // };
911
+ // if (tempaddtocardpayloadobj.quantity > 0) {
912
+ // if (
913
+ // fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != undefined &&
914
+ // fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != null &&
915
+ // fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != 1 &&
916
+ // fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != ''
917
+ // ) {
918
+ // tempaddtocardpayloadobj.quantity =
919
+ // tempaddtocardpayloadobj.quantity -
920
+ // parseInt(fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse);
921
+ // } else {
922
+ // tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
923
+ // }
924
+ // // tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
925
+ // }
926
+ // setaddtocardpayloadobj({
927
+ // ...tempaddtocardpayloadobj,
928
+ // });
929
+ }}
930
+ >
931
+ <i
932
+ className={sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered'}
933
+ style={{
934
+ fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
935
+ }}
936
+ >
937
+ {sectionproperties.quantityiconstyle == 'Plus/Minus' && (
938
+ <FiMinus size={sectionproperties.remove_quantitybtn_textfontsize} />
939
+ )}
940
+ </i>
941
+ </span>
942
+ )}
943
+ {sectionproperties.quantitybtneditable == 'No' && (
944
+ <span className={`${productinfo_cssstyles.quantitybtn_text}`}>{addtocardpayloadobj.quantity}</span>
945
+ )}
946
+ {sectionproperties.quantitybtneditable == 'No' && (
947
+ <span
948
+ className={`${productinfo_cssstyles.add_quantitybtn_icon_container}` + ' m-1 '}
949
+ onClick={() => {
950
+ var quantitystepincrearse = 1;
1018
951
  var tempaddtocardpayloadobj = {
1019
952
  ...addtocardpayloadobj,
1020
953
  };
1021
- tempaddtocardpayloadobj.quantity = parseInt(event.target.value);
954
+ if (
955
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != undefined &&
956
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != null &&
957
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != 1 &&
958
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse != ''
959
+ ) {
960
+ quantitystepincrearse = parseInt(
961
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse,
962
+ );
963
+ }
964
+ tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + quantitystepincrearse;
965
+
966
+ // else {
967
+ // tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
968
+ // }
1022
969
  setaddtocardpayloadobj({
1023
970
  ...tempaddtocardpayloadobj,
1024
971
  });
1025
- }
1026
- }}
1027
- />
1028
- )}
1029
- </button>
1030
- )}
1031
- {sectionproperties.featuresposition != 'Under Name' &&
1032
- sectionproperties.featuresposition == 'Under Description' &&
1033
- sectionproperties.featurestyle != 'Table' && (
1034
- <div class="col-lg-12 text-start p-md-0">
1035
- <div className="row m-0 w-100">
1036
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.productfeatures?.map((fitem, findex) => {
1037
- return (
1038
- <div class={' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols}>
1039
- <div class="row m-0 w-100 text-start">
1040
- <div class="col-lg-12 text-start mb-3 text-uppercase p-0">
1041
- {/* {fitem?.name_en == 'support level' && ( */}
1042
- {/* <img
972
+ }}
973
+ >
974
+ <i
975
+ className={sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered'}
976
+ // className="fa fa-chevron-up"
977
+ style={{
978
+ fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
979
+ }}
980
+ >
981
+ {sectionproperties.quantityiconstyle == 'Plus/Minus' && (
982
+ <FiPlus size={sectionproperties.add_quantitybtn_textfontsize} />
983
+ )}
984
+ </i>
985
+ </span>
986
+ )}
987
+
988
+ {sectionproperties.quantitybtneditable == 'Yes' && (
989
+ <input
990
+ type="number"
991
+ style={{
992
+ width: 100,
993
+ height: 40,
994
+ background: 'transparent',
995
+ fontWeight: sectionproperties.quantitybtn_textfontweight,
996
+ color: sectionproperties.quantitybtn_textcolor,
997
+ fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
998
+ textAlign: 'center',
999
+ }}
1000
+ value={addtocardpayloadobj.quantity}
1001
+ onChange={(event) => {
1002
+ if (
1003
+ event.target.value == NaN ||
1004
+ event.target.value == undefined ||
1005
+ event.target.value == null ||
1006
+ event.target.value == ''
1007
+ ) {
1008
+ var tempaddtocardpayloadobj = {
1009
+ ...addtocardpayloadobj,
1010
+ };
1011
+ tempaddtocardpayloadobj.quantity = 1;
1012
+ setaddtocardpayloadobj({
1013
+ ...tempaddtocardpayloadobj,
1014
+ });
1015
+ } else {
1016
+ var tempaddtocardpayloadobj = {
1017
+ ...addtocardpayloadobj,
1018
+ };
1019
+ tempaddtocardpayloadobj.quantity = parseInt(event.target.value);
1020
+ setaddtocardpayloadobj({
1021
+ ...tempaddtocardpayloadobj,
1022
+ });
1023
+ }
1024
+ }}
1025
+ />
1026
+ )}
1027
+ </button>
1028
+ )}
1029
+ {sectionproperties.featuresposition != 'Under Name' &&
1030
+ sectionproperties.featuresposition == 'Under Description' &&
1031
+ sectionproperties.featurestyle != 'Table' && (
1032
+ <div class="col-lg-12 text-start p-md-0">
1033
+ <div className="row m-0 w-100">
1034
+ {fetchProductInfoQueryContext?.data?.data?.productinfo?.productfeatures?.map((fitem, findex) => {
1035
+ return (
1036
+ <div class={' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols}>
1037
+ <div class="row m-0 w-100 text-start">
1038
+ <div class="col-lg-12 text-start mb-3 text-uppercase p-0">
1039
+ {/* {fitem?.name_en == 'support level' && ( */}
1040
+ {/* <img
1043
1041
  class={langdetect == 'en' ? 'mr-2' : 'ml-2'}
1044
1042
  src={fitem?.feature_image_url}
1045
1043
  style={{
1046
1044
  width: '20px',
1047
1045
  }}
1048
1046
  /> */}
1049
- {/* )} */}
1050
- <div
1051
- style={{
1052
- width: '20px',
1053
- }}
1054
- class={langdetect == 'en' ? 'mr-2' : 'ml-2'}
1055
- >
1056
- <Imagekitimagecomp
1057
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
1058
- publicKey={ikimagecredcontext?.ikimagepublickey}
1059
- path={fitem?.feature_image_url}
1060
- loading="lazy"
1047
+ {/* )} */}
1048
+ <div
1049
+ style={{
1050
+ width: '20px',
1051
+ }}
1052
+ class={langdetect == 'en' ? 'mr-2' : 'ml-2'}
1053
+ >
1054
+ <Imagekitimagecomp
1055
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
1056
+ publicKey={ikimagecredcontext?.ikimagepublickey}
1057
+ path={fitem?.feature_image_url}
1058
+ loading="lazy"
1059
+ style={{
1060
+ maxWidth: '100%',
1061
+ maxHeight: '100%',
1062
+ }}
1063
+ />
1064
+ </div>
1065
+ <p
1066
+ class="m-0 p-0"
1061
1067
  style={{
1062
- maxWidth: '100%',
1063
- maxHeight: '100%',
1068
+ color: sectionproperties.featurecolor,
1069
+ fontWeight: sectionproperties.featurefontweight,
1070
+ fontSize: sectionproperties.featurefontsize,
1064
1071
  }}
1065
- />
1072
+ >
1073
+ {langdetect == 'en' ? fitem?.name_en : fitem?.name_ar}
1074
+ </p>
1066
1075
  </div>
1067
- <p
1068
- class="m-0 p-0"
1069
- style={{
1070
- color: sectionproperties.featurecolor,
1071
- fontWeight: sectionproperties.featurefontweight,
1072
- fontSize: sectionproperties.featurefontsize,
1073
- }}
1074
- >
1075
- {langdetect == 'en' ? fitem?.name_en : fitem?.name_ar}
1076
- </p>
1077
- </div>
1078
1076
 
1079
- <div class="col-lg-12 text-start text-capitalize">
1080
- <p
1081
- class="m-0 p-0"
1082
- style={{
1083
- color: sectionproperties.featurevaluecolor,
1084
- fontWeight: sectionproperties.featurevaluefontweight,
1085
- fontSize: sectionproperties.featurevaluefontsize,
1086
- }}
1087
- >
1088
- {langdetect == 'en' ? fitem?.value_en : fitem?.value_ar}
1089
- </p>
1077
+ <div class="col-lg-12 text-start text-capitalize">
1078
+ <p
1079
+ class="m-0 p-0"
1080
+ style={{
1081
+ color: sectionproperties.featurevaluecolor,
1082
+ fontWeight: sectionproperties.featurevaluefontweight,
1083
+ fontSize: sectionproperties.featurevaluefontsize,
1084
+ }}
1085
+ >
1086
+ {langdetect == 'en' ? fitem?.value_en : fitem?.value_ar}
1087
+ </p>
1088
+ </div>
1090
1089
  </div>
1091
1090
  </div>
1092
- </div>
1093
- );
1094
- })}
1095
- </div>
1096
- </div>
1097
- )}
1098
- {sectionproperties.cartbtnalone == 'Besides Other Buttons' &&
1099
- sectionproperties.cartBtnShow == 'Show' &&
1100
- fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 && (
1101
- <button
1102
- className={`${productinfo_cssstyles.cart_btn} ` + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 '}
1103
- onClick={() => {
1104
- if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
1105
- window.open('tel:' + fetchProductInfoQueryContext.data.data.productinfo?.product_phonenumber, '_blank');
1106
- } else {
1107
- if (
1108
- fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity &&
1109
- fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity
1110
- ) {
1111
- addtocartfunc();
1112
- } else {
1113
- NotificationManager.warning(
1114
- '',
1115
- lang.maximum +
1116
- ': ' +
1117
- fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant +
1118
- ', ' +
1119
- lang.minimum +
1120
- ': ' +
1121
- fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant,
1122
1091
  );
1123
- }
1124
- }
1125
- }}
1126
- disabled={AddtoCartMutationContext.isLoading == true ? true : false}
1127
- >
1128
- {!AddtoCartMutationContext.isLoading && (
1129
- <span className={' d-flex align-items-center justify-content-center '}>
1130
- <i
1131
- className={
1132
- langdetect == 'en'
1133
- ? 'h-100 d-flex align-items-center justify-content-center mr-2'
1134
- : 'h-100 d-flex align-items-center justify-content-center ml-2'
1135
- }
1136
- >
1137
- {sectionproperties.carticonstyle == 'Shopping bag 1' && (
1138
- <FiShoppingBag className="" size={sectionproperties.cartBtn_iconFontSize} />
1139
- )}
1140
- {sectionproperties.carticonstyle == 'Shopping bag 2' && (
1141
- <CgShoppingBag className="" size={sectionproperties.cartBtn_iconFontSize} />
1142
- )}
1143
- {sectionproperties.carticonstyle == 'Shopping bag 3' && (
1144
- <BsBag className="" size={sectionproperties.cartBtn_iconFontSize} />
1145
- )}
1146
- {sectionproperties.carticonstyle == 'Shopping bag 4' && (
1147
- <IoBagHandleOutline className="" size={sectionproperties.cartBtn_iconFontSize} />
1148
- )}
1149
- {sectionproperties.carticonstyle == 'Shopping cart 1' && (
1150
- <FiShoppingCart className="" size={sectionproperties.cartBtn_iconFontSize} />
1151
- )}
1152
- {sectionproperties.carticonstyle == 'Shopping cart 2' && (
1153
- <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />
1154
- )}
1155
- </i>
1156
-
1157
- {/* {langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic} */}
1158
- {langdetect == 'en'
1159
- ? fetchProductInfoQueryContext?.data?.data?.productinfo?.productactionbuttontext_en
1160
- : fetchProductInfoQueryContext?.data?.data?.productinfo?.productactionbuttontext_ar}
1161
- </span>
1162
- )}
1163
- {AddtoCartMutationContext.isLoading && (
1164
- <div className={' d-flex align-items-center justify-content-center '}>
1165
- <CircularProgress color={sectionproperties.cartBtnTextcolor} width="20px" height="20px" duration="1s" />
1092
+ })}
1166
1093
  </div>
1167
- )}
1168
- </button>
1169
- )}
1170
- {sectionproperties.btnposition == 'Bottom' && sectionproperties.favBtnShow == 'Show' && (
1171
- <div
1172
- className={productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 '}
1173
- onClick={() => {
1174
- addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
1175
- }}
1176
- style={{
1177
- background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : '',
1178
- }}
1179
- >
1180
- <i className="h-100 d-flex align-items-center justify-content-center">
1181
- {fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && (
1182
- <i className="h-100 d-flex align-items-center justify-content-center">
1183
- {sectionproperties.faviconshape == 'Star Shape' && (
1184
- <AiFillStar
1185
- size={sectionproperties.favBtnIconfontsize}
1186
- style={{
1187
- color: sectionproperties.activefaviconcolor,
1188
- }}
1189
- />
1190
- )}
1191
- {sectionproperties.faviconshape == 'Heart Shape' && (
1192
- <FaHeart
1193
- size={sectionproperties.favBtnIconfontsize}
1194
- style={{
1195
- color: sectionproperties.activefaviconcolor,
1196
- }}
1197
- />
1198
- )}
1199
- </i>
1200
- )}
1201
- {!fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && (
1202
- <i className="h-100 d-flex align-items-center justify-content-center">
1203
- {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
1204
- {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
1205
- </i>
1206
- )}
1207
- </i>
1208
- {!fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && (
1209
- <p
1210
- class="m-0 p-0"
1211
- style={{
1212
- fontSize: sectionproperties.favBtnTextfontsize + 'px',
1213
- }}
1214
- >
1215
- {langdetect == 'en' ? sectionproperties.favbtncontent_en : sectionproperties.favbtncontent_ar}
1216
- </p>
1094
+ </div>
1217
1095
  )}
1218
- {fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && (
1219
- <p
1220
- class="m-0 p-0"
1221
- style={{
1222
- fontSize: sectionproperties.favBtnTextfontsize + 'px',
1096
+ {sectionproperties.cartbtnalone == 'Besides Other Buttons' &&
1097
+ sectionproperties.cartBtnShow == 'Show' &&
1098
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 && (
1099
+ <button
1100
+ className={`${productinfo_cssstyles.cart_btn} ` + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 '}
1101
+ onClick={() => {
1102
+ if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
1103
+ window.open('tel:' + fetchProductInfoQueryContext.data.data.productinfo?.product_phonenumber, '_blank');
1104
+ } else {
1105
+ if (
1106
+ fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity &&
1107
+ fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity
1108
+ ) {
1109
+ addtocartfunc();
1110
+ } else {
1111
+ NotificationManager.warning(
1112
+ '',
1113
+ lang.maximum +
1114
+ ': ' +
1115
+ fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant +
1116
+ ', ' +
1117
+ lang.minimum +
1118
+ ': ' +
1119
+ fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant,
1120
+ );
1121
+ }
1122
+ }
1223
1123
  }}
1124
+ disabled={AddtoCartMutationContext.isLoading == true ? true : false}
1224
1125
  >
1225
- {langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar}
1226
- </p>
1126
+ {!AddtoCartMutationContext.isLoading && (
1127
+ <span className={' d-flex align-items-center justify-content-center '}>
1128
+ <i
1129
+ className={
1130
+ langdetect == 'en'
1131
+ ? 'h-100 d-flex align-items-center justify-content-center mr-2'
1132
+ : 'h-100 d-flex align-items-center justify-content-center ml-2'
1133
+ }
1134
+ >
1135
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && (
1136
+ <FiShoppingBag className="" size={sectionproperties.cartBtn_iconFontSize} />
1137
+ )}
1138
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && (
1139
+ <CgShoppingBag className="" size={sectionproperties.cartBtn_iconFontSize} />
1140
+ )}
1141
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && (
1142
+ <BsBag className="" size={sectionproperties.cartBtn_iconFontSize} />
1143
+ )}
1144
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && (
1145
+ <IoBagHandleOutline className="" size={sectionproperties.cartBtn_iconFontSize} />
1146
+ )}
1147
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && (
1148
+ <FiShoppingCart className="" size={sectionproperties.cartBtn_iconFontSize} />
1149
+ )}
1150
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && (
1151
+ <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />
1152
+ )}
1153
+ </i>
1154
+
1155
+ {/* {langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic} */}
1156
+ {langdetect == 'en'
1157
+ ? fetchProductInfoQueryContext?.data?.data?.productinfo?.productactionbuttontext_en
1158
+ : fetchProductInfoQueryContext?.data?.data?.productinfo?.productactionbuttontext_ar}
1159
+ </span>
1160
+ )}
1161
+ {AddtoCartMutationContext.isLoading && (
1162
+ <div className={' d-flex align-items-center justify-content-center '}>
1163
+ <CircularProgress color={sectionproperties.cartBtnTextcolor} width="20px" height="20px" duration="1s" />
1164
+ </div>
1165
+ )}
1166
+ </button>
1227
1167
  )}
1228
- </div>
1229
- )}
1230
- </div>
1231
- {sectionproperties.cartbtnalone == 'Alone' &&
1232
- sectionproperties.cartBtnShow == 'Show' &&
1233
- fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 && (
1234
- <div class="row m-0 w-100 mt-3" style={{ overflow: 'hidden' }}>
1235
- <button
1236
- className={`${productinfo_cssstyles.cart_btn} ` + ' d-flex align-items-center justify-content-center mb-sm-2 '}
1237
- style={{
1238
- width: sectionproperties.cartBtnWidth + '%',
1239
- }}
1168
+ {sectionproperties.btnposition == 'Bottom' && sectionproperties.favBtnShow == 'Show' && (
1169
+ <div
1170
+ className={productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 '}
1240
1171
  onClick={() => {
1241
- if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
1242
- window.open('tel:' + fetchProductInfoQueryContext.data.data.productinfo?.product_phonenumber, '_blank');
1243
- } else {
1244
- if (
1245
- fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity &&
1246
- fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity
1247
- ) {
1248
- addtocartfunc();
1249
- } else {
1250
- NotificationManager.warning(
1251
- '',
1252
- lang.maximum +
1253
- ': ' +
1254
- fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant +
1255
- ', ' +
1256
- lang.minimum +
1257
- ': ' +
1258
- fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant,
1259
- );
1260
- }
1261
- }
1172
+ addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
1173
+ }}
1174
+ style={{
1175
+ background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : '',
1262
1176
  }}
1263
- disabled={AddtoCartMutationContext.isLoading == true ? true : false}
1264
1177
  >
1265
- {!AddtoCartMutationContext.isLoading && (
1266
- <span className={' d-flex align-items-center justify-content-center '}>
1267
- <i
1268
- className={
1269
- langdetect == 'en'
1270
- ? 'h-100 d-flex align-items-center justify-content-center mr-2'
1271
- : 'h-100 d-flex align-items-center justify-content-center ml-2'
1272
- }
1273
- >
1274
- {sectionproperties.carticonstyle == 'Shopping bag 1' && (
1275
- <FiShoppingBag className="" size={sectionproperties.cartBtn_iconFontSize} />
1178
+ <i className="h-100 d-flex align-items-center justify-content-center">
1179
+ {fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && (
1180
+ <i className="h-100 d-flex align-items-center justify-content-center">
1181
+ {sectionproperties.faviconshape == 'Star Shape' && (
1182
+ <AiFillStar
1183
+ size={sectionproperties.favBtnIconfontsize}
1184
+ style={{
1185
+ color: sectionproperties.activefaviconcolor,
1186
+ }}
1187
+ />
1276
1188
  )}
1277
- {sectionproperties.carticonstyle == 'Shopping bag 2' && (
1278
- <CgShoppingBag className="" size={sectionproperties.cartBtn_iconFontSize} />
1279
- )}
1280
- {sectionproperties.carticonstyle == 'Shopping bag 3' && (
1281
- <BsBag className="" size={sectionproperties.cartBtn_iconFontSize} />
1282
- )}
1283
- {sectionproperties.carticonstyle == 'Shopping bag 4' && (
1284
- <IoBagHandleOutline className="" size={sectionproperties.cartBtn_iconFontSize} />
1285
- )}
1286
- {sectionproperties.carticonstyle == 'Shopping cart 1' && (
1287
- <FiShoppingCart className="" size={sectionproperties.cartBtn_iconFontSize} />
1288
- )}
1289
- {sectionproperties.carticonstyle == 'Shopping cart 2' && (
1290
- <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />
1189
+ {sectionproperties.faviconshape == 'Heart Shape' && (
1190
+ <FaHeart
1191
+ size={sectionproperties.favBtnIconfontsize}
1192
+ style={{
1193
+ color: sectionproperties.activefaviconcolor,
1194
+ }}
1195
+ />
1291
1196
  )}
1292
1197
  </i>
1293
-
1294
- {langdetect == 'en'
1295
- ? fetchProductInfoQueryContext?.data?.data?.productinfo?.productactionbuttontext_en
1296
- : fetchProductInfoQueryContext?.data?.data?.productinfo?.productactionbuttontext_ar}
1297
- {/* {langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic} */}
1298
- </span>
1198
+ )}
1199
+ {!fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && (
1200
+ <i className="h-100 d-flex align-items-center justify-content-center">
1201
+ {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
1202
+ {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
1203
+ </i>
1204
+ )}
1205
+ </i>
1206
+ {!fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && (
1207
+ <p
1208
+ class="m-0 p-0"
1209
+ style={{
1210
+ fontSize: sectionproperties.favBtnTextfontsize + 'px',
1211
+ }}
1212
+ >
1213
+ {langdetect == 'en' ? sectionproperties.favbtncontent_en : sectionproperties.favbtncontent_ar}
1214
+ </p>
1299
1215
  )}
1300
- {AddtoCartMutationContext.isLoading && (
1301
- <div className={' d-flex align-items-center justify-content-center '}>
1302
- <CircularProgress color={sectionproperties.cartBtnTextcolor} width="20px" height="20px" duration="1s" />
1303
- </div>
1216
+ {fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && (
1217
+ <p
1218
+ class="m-0 p-0"
1219
+ style={{
1220
+ fontSize: sectionproperties.favBtnTextfontsize + 'px',
1221
+ }}
1222
+ >
1223
+ {langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar}
1224
+ </p>
1304
1225
  )}
1305
- </button>
1306
- {sectionproperties.btnposition == 'Besides Cart Button' && sectionproperties.favBtnShow == 'Show' && (
1307
- <div
1308
- className={productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 mx-3 '}
1309
- onClick={() => {
1310
- addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
1311
- }}
1226
+ </div>
1227
+ )}
1228
+ </div>
1229
+ {sectionproperties.cartbtnalone == 'Alone' &&
1230
+ sectionproperties.cartBtnShow == 'Show' &&
1231
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 && (
1232
+ <div class="row m-0 w-100 mt-3" style={{ overflow: 'hidden' }}>
1233
+ <button
1234
+ className={`${productinfo_cssstyles.cart_btn} ` + ' d-flex align-items-center justify-content-center mb-sm-2 '}
1312
1235
  style={{
1313
- background:
1314
- fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : '',
1236
+ width: sectionproperties.cartBtnWidth + '%',
1237
+ }}
1238
+ onClick={() => {
1239
+ if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
1240
+ window.open('tel:' + fetchProductInfoQueryContext.data.data.productinfo?.product_phonenumber, '_blank');
1241
+ } else {
1242
+ if (
1243
+ fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity &&
1244
+ fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity
1245
+ ) {
1246
+ addtocartfunc();
1247
+ } else {
1248
+ NotificationManager.warning(
1249
+ '',
1250
+ lang.maximum +
1251
+ ': ' +
1252
+ fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant +
1253
+ ', ' +
1254
+ lang.minimum +
1255
+ ': ' +
1256
+ fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant,
1257
+ );
1258
+ }
1259
+ }
1315
1260
  }}
1261
+ disabled={AddtoCartMutationContext.isLoading == true ? true : false}
1316
1262
  >
1317
- <i className="h-100 d-flex align-items-center justify-content-center">
1318
- {fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && (
1319
- <i className="h-100 d-flex align-items-center justify-content-center">
1320
- {sectionproperties.faviconshape == 'Star Shape' && (
1321
- <AiFillStar
1322
- size={sectionproperties.favBtnIconfontsize}
1323
- style={{
1324
- color: sectionproperties.activefaviconcolor,
1325
- }}
1326
- />
1263
+ {!AddtoCartMutationContext.isLoading && (
1264
+ <span className={' d-flex align-items-center justify-content-center '}>
1265
+ <i
1266
+ className={
1267
+ langdetect == 'en'
1268
+ ? 'h-100 d-flex align-items-center justify-content-center mr-2'
1269
+ : 'h-100 d-flex align-items-center justify-content-center ml-2'
1270
+ }
1271
+ >
1272
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && (
1273
+ <FiShoppingBag className="" size={sectionproperties.cartBtn_iconFontSize} />
1327
1274
  )}
1328
- {sectionproperties.faviconshape == 'Heart Shape' && (
1329
- <FaHeart
1330
- size={sectionproperties.favBtnIconfontsize}
1331
- style={{
1332
- color: sectionproperties.activefaviconcolor,
1333
- }}
1334
- />
1275
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && (
1276
+ <CgShoppingBag className="" size={sectionproperties.cartBtn_iconFontSize} />
1335
1277
  )}
1336
- </i>
1337
- )}
1338
- {!fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && (
1339
- <i className="h-100 d-flex align-items-center justify-content-center">
1340
- {sectionproperties.faviconshape == 'Star Shape' && (
1341
- <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />
1278
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && (
1279
+ <BsBag className="" size={sectionproperties.cartBtn_iconFontSize} />
1280
+ )}
1281
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && (
1282
+ <IoBagHandleOutline className="" size={sectionproperties.cartBtn_iconFontSize} />
1283
+ )}
1284
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && (
1285
+ <FiShoppingCart className="" size={sectionproperties.cartBtn_iconFontSize} />
1286
+ )}
1287
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && (
1288
+ <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />
1342
1289
  )}
1343
- {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
1344
1290
  </i>
1345
- )}
1346
- </i>
1347
- </div>
1348
- )}
1349
- </div>
1350
- )}
1351
- {sectionproperties.cartbtnalone == 'Alone' &&
1352
- sectionproperties.showbuynowbtn == 'Show' &&
1353
- fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 && (
1354
- <div class="row m-0 w-100 mt-3" style={{ overflow: 'hidden' }}>
1355
- <button
1356
- className={`${productinfo_cssstyles.cart_btn} ` + ' d-flex align-items-center justify-content-center mb-sm-2 '}
1357
- style={{
1358
- width: sectionproperties.cartBtnWidth + '%',
1359
- }}
1360
- onClick={() => {
1361
- addtocartfunc('forcetocheckout');
1362
- }}
1363
- disabled={AddtoCartMutationContext.isLoading == true ? true : false}
1364
- >
1365
- {!AddtoCartMutationContext.isLoading && (
1366
- <span className={' d-flex align-items-center justify-content-center '}>
1367
- {langdetect == 'en' ? 'Buy Now' : 'إشترى الان'}
1368
- </span>
1369
- )}
1370
- {AddtoCartMutationContext.isLoading && (
1371
- <div className={' d-flex align-items-center justify-content-center '}>
1372
- <CircularProgress color={sectionproperties.cartBtnTextcolor} width="20px" height="20px" duration="1s" />
1291
+
1292
+ {langdetect == 'en'
1293
+ ? fetchProductInfoQueryContext?.data?.data?.productinfo?.productactionbuttontext_en
1294
+ : fetchProductInfoQueryContext?.data?.data?.productinfo?.productactionbuttontext_ar}
1295
+ {/* {langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic} */}
1296
+ </span>
1297
+ )}
1298
+ {AddtoCartMutationContext.isLoading && (
1299
+ <div className={' d-flex align-items-center justify-content-center '}>
1300
+ <CircularProgress color={sectionproperties.cartBtnTextcolor} width="20px" height="20px" duration="1s" />
1301
+ </div>
1302
+ )}
1303
+ </button>
1304
+ {sectionproperties.btnposition == 'Besides Cart Button' && sectionproperties.favBtnShow == 'Show' && (
1305
+ <div
1306
+ className={productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 mx-3 '}
1307
+ onClick={() => {
1308
+ addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
1309
+ }}
1310
+ style={{
1311
+ background:
1312
+ fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : '',
1313
+ }}
1314
+ >
1315
+ <i className="h-100 d-flex align-items-center justify-content-center">
1316
+ {fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && (
1317
+ <i className="h-100 d-flex align-items-center justify-content-center">
1318
+ {sectionproperties.faviconshape == 'Star Shape' && (
1319
+ <AiFillStar
1320
+ size={sectionproperties.favBtnIconfontsize}
1321
+ style={{
1322
+ color: sectionproperties.activefaviconcolor,
1323
+ }}
1324
+ />
1325
+ )}
1326
+ {sectionproperties.faviconshape == 'Heart Shape' && (
1327
+ <FaHeart
1328
+ size={sectionproperties.favBtnIconfontsize}
1329
+ style={{
1330
+ color: sectionproperties.activefaviconcolor,
1331
+ }}
1332
+ />
1333
+ )}
1334
+ </i>
1335
+ )}
1336
+ {!fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && (
1337
+ <i className="h-100 d-flex align-items-center justify-content-center">
1338
+ {sectionproperties.faviconshape == 'Star Shape' && (
1339
+ <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />
1340
+ )}
1341
+ {sectionproperties.faviconshape == 'Heart Shape' && (
1342
+ <FaRegHeart size={sectionproperties.favBtnIconfontsize} />
1343
+ )}
1344
+ </i>
1345
+ )}
1346
+ </i>
1373
1347
  </div>
1374
1348
  )}
1375
- </button>
1376
- </div>
1377
- )}
1349
+ </div>
1350
+ )}
1351
+ {sectionproperties.cartbtnalone == 'Alone' &&
1352
+ sectionproperties.showbuynowbtn == 'Show' &&
1353
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 && (
1354
+ <div class="row m-0 w-100 mt-3" style={{ overflow: 'hidden' }}>
1355
+ <button
1356
+ className={`${productinfo_cssstyles.cart_btn} ` + ' d-flex align-items-center justify-content-center mb-sm-2 '}
1357
+ style={{
1358
+ width: sectionproperties.cartBtnWidth + '%',
1359
+ }}
1360
+ onClick={() => {
1361
+ addtocartfunc('forcetocheckout');
1362
+ }}
1363
+ disabled={AddtoCartMutationContext.isLoading == true ? true : false}
1364
+ >
1365
+ {!AddtoCartMutationContext.isLoading && (
1366
+ <span className={' d-flex align-items-center justify-content-center '}>
1367
+ {langdetect == 'en' ? 'Buy Now' : 'إشترى الان'}
1368
+ </span>
1369
+ )}
1370
+ {AddtoCartMutationContext.isLoading && (
1371
+ <div className={' d-flex align-items-center justify-content-center '}>
1372
+ <CircularProgress color={sectionproperties.cartBtnTextcolor} width="20px" height="20px" duration="1s" />
1373
+ </div>
1374
+ )}
1375
+ </button>
1376
+ </div>
1377
+ )}
1378
+ </div>
1378
1379
  </div>
1379
1380
  </div>
1380
- </div>
1381
- {sectionproperties.descriptionstyle == 'Style 2' && (
1382
- <div class="col-lg-12 p-md-0">
1383
- <hr class="my-3" />
1384
- </div>
1385
- )}
1386
- {sectionproperties.featuresposition != 'Under Name' &&
1387
- sectionproperties.featuresposition != 'Under Description' &&
1388
- sectionproperties.featurestyle != 'Table' && (
1389
- <div class="col-lg-12 text-start p-md-0">
1390
- <div className="row m-0 w-100">
1391
- {fetchProductInfoQueryContext?.data?.data?.productinfo?.productfeatures?.map((fitem, findex) => {
1392
- return (
1393
- <div class={' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols}>
1394
- <div class="row m-0 w-100 text-start">
1395
- <div class="col-lg-12 text-start mb-3 text-uppercase p-0">
1396
- {/* {fitem?.name_en == 'support level' && ( */}
1397
- {/* <img
1381
+ {sectionproperties.descriptionstyle == 'Style 2' && (
1382
+ <div class="col-lg-12 p-md-0">
1383
+ <hr class="my-3" />
1384
+ </div>
1385
+ )}
1386
+ {sectionproperties.featuresposition != 'Under Name' &&
1387
+ sectionproperties.featuresposition != 'Under Description' &&
1388
+ sectionproperties.featurestyle != 'Table' && (
1389
+ <div class="col-lg-12 text-start p-md-0">
1390
+ <div className="row m-0 w-100">
1391
+ {fetchProductInfoQueryContext?.data?.data?.productinfo?.productfeatures?.map((fitem, findex) => {
1392
+ return (
1393
+ <div class={' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols}>
1394
+ <div class="row m-0 w-100 text-start">
1395
+ <div class="col-lg-12 text-start mb-3 text-uppercase p-0">
1396
+ {/* {fitem?.name_en == 'support level' && ( */}
1397
+ {/* <img
1398
1398
  class={langdetect == 'en' ? 'mr-2' : 'ml-2'}
1399
1399
  src={fitem?.feature_image_url}
1400
1400
  style={{
1401
1401
  width: '20px',
1402
1402
  }}
1403
1403
  /> */}
1404
- {/* )} */}
1405
- <div
1406
- style={{
1407
- width: '20px',
1408
- }}
1409
- class={langdetect == 'en' ? 'mr-2' : 'ml-2'}
1410
- >
1411
- <Imagekitimagecomp
1412
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
1413
- publicKey={ikimagecredcontext?.ikimagepublickey}
1414
- path={fitem?.feature_image_url}
1415
- loading="lazy"
1404
+ {/* )} */}
1405
+ <div
1416
1406
  style={{
1417
- maxWidth: '100%',
1418
- maxHeight: '100%',
1407
+ width: '20px',
1419
1408
  }}
1420
- />
1409
+ class={langdetect == 'en' ? 'mr-2' : 'ml-2'}
1410
+ >
1411
+ <Imagekitimagecomp
1412
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
1413
+ publicKey={ikimagecredcontext?.ikimagepublickey}
1414
+ path={fitem?.feature_image_url}
1415
+ loading="lazy"
1416
+ style={{
1417
+ maxWidth: '100%',
1418
+ maxHeight: '100%',
1419
+ }}
1420
+ />
1421
+ </div>
1422
+ <p
1423
+ class="m-0 p-0"
1424
+ style={{
1425
+ color: sectionproperties.featurecolor,
1426
+ fontWeight: sectionproperties.featurefontweight,
1427
+ fontSize: sectionproperties.featurefontsize,
1428
+ }}
1429
+ >
1430
+ {langdetect == 'en' ? fitem?.name_en : fitem?.name_ar}
1431
+ </p>
1432
+ </div>
1433
+
1434
+ <div class="col-lg-12 text-start text-capitalize">
1435
+ <p
1436
+ class="m-0 p-0"
1437
+ style={{
1438
+ color: sectionproperties.featurevaluecolor,
1439
+ fontWeight: sectionproperties.featurevaluefontweight,
1440
+ fontSize: sectionproperties.featurevaluefontsize,
1441
+ }}
1442
+ >
1443
+ {langdetect == 'en' ? fitem?.value_en : fitem?.value_ar}
1444
+ </p>
1421
1445
  </div>
1446
+ </div>
1447
+ </div>
1448
+ );
1449
+ })}
1450
+ </div>
1451
+ </div>
1452
+ )}
1453
+ {/* long description collap */}
1454
+ {sectionproperties.descriptionstyle == 'Style 2' && (
1455
+ <div class="col-lg-12 col-md-12 p-md-0 mt-3">
1456
+ <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1457
+ <AccordionItem>
1458
+ <AccordionItemHeading>
1459
+ <AccordionItemButton>
1460
+ <div class="row m-0 w-100">
1461
+ <div className="col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start">
1422
1462
  <p
1423
1463
  class="m-0 p-0"
1424
1464
  style={{
1425
- color: sectionproperties.featurecolor,
1426
- fontWeight: sectionproperties.featurefontweight,
1427
- fontSize: sectionproperties.featurefontsize,
1465
+ textAlign: langdetect == 'en' ? 'left' : 'right',
1466
+ fontWeight: sectionproperties.prodCatFontWeight,
1467
+ color: sectionproperties.prodCatColor,
1468
+ fontSize: sectionproperties.prodCatFontSize + 'px',
1428
1469
  }}
1429
1470
  >
1430
- {langdetect == 'en' ? fitem?.name_en : fitem?.name_ar}
1471
+ {langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
1431
1472
  </p>
1432
1473
  </div>
1474
+ <div className="col-lg-2 col-md-2 col-sm-2 p-0">
1475
+ <AccordionItemState>
1476
+ {(state) => {
1477
+ if (state.expanded == true) {
1478
+ return (
1479
+ <i className={' h-100 d-flex align-items-center justify-content-end '}>
1480
+ <FaMinus color={sectionproperties.prodCatColor} />
1481
+ </i>
1482
+ );
1483
+ } else {
1484
+ return (
1485
+ <i className={' h-100 d-flex align-items-center justify-content-end '}>
1486
+ <FaPlus color={sectionproperties.prodCatColor} />
1487
+ </i>
1488
+ );
1489
+ }
1490
+ }}
1491
+ </AccordionItemState>
1492
+ </div>
1493
+ </div>
1494
+ </AccordionItemButton>
1495
+ </AccordionItemHeading>
1496
+ <AccordionItemPanel className="p-0">
1497
+ <div class="col-lg-12 p-0 mt-3">
1498
+ <DescriptionContent actions={props.actions} srcfromprops={'collap'} />
1499
+ </div>
1500
+ </AccordionItemPanel>
1501
+ </AccordionItem>
1502
+ </Accordion>
1503
+ </div>
1504
+ )}
1505
+ {sectionproperties.descriptionstyle == 'Style 2' && (
1506
+ <div class="col-lg-12 col-md-12 my-3 p-md-0">
1507
+ <hr class="m-0" />
1508
+ </div>
1509
+ )}
1510
+ {/* short desc collap */}
1433
1511
 
1434
- <div class="col-lg-12 text-start text-capitalize">
1512
+ {sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && (
1513
+ <div class="col-lg-12 col-md-12 p-md-0">
1514
+ <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1515
+ <AccordionItem>
1516
+ <AccordionItemHeading>
1517
+ <AccordionItemButton>
1518
+ <div class="row m-0 w-100">
1519
+ <div className="col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start">
1435
1520
  <p
1436
1521
  class="m-0 p-0"
1437
1522
  style={{
1438
- color: sectionproperties.featurevaluecolor,
1439
- fontWeight: sectionproperties.featurevaluefontweight,
1440
- fontSize: sectionproperties.featurevaluefontsize,
1523
+ textAlign: langdetect == 'en' ? 'left' : 'right',
1524
+ fontWeight: sectionproperties.prodCatFontWeight,
1525
+ color: sectionproperties.prodCatColor,
1526
+ fontSize: sectionproperties.prodCatFontSize + 'px',
1441
1527
  }}
1442
1528
  >
1443
- {langdetect == 'en' ? fitem?.value_en : fitem?.value_ar}
1529
+ {langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar}
1444
1530
  </p>
1445
1531
  </div>
1532
+ <div className="col-lg-2 col-md-2 col-sm-2 p-0">
1533
+ <AccordionItemState>
1534
+ {(state) => {
1535
+ if (state.expanded == true) {
1536
+ return (
1537
+ <i className={' h-100 d-flex align-items-center justify-content-end '}>
1538
+ <FaMinus color={sectionproperties.prodCatColor} />
1539
+ </i>
1540
+ );
1541
+ } else {
1542
+ return (
1543
+ <i className={' h-100 d-flex align-items-center justify-content-end '}>
1544
+ <FaPlus color={sectionproperties.prodCatColor} />
1545
+ </i>
1546
+ );
1547
+ }
1548
+ }}
1549
+ </AccordionItemState>
1550
+ </div>
1446
1551
  </div>
1552
+ </AccordionItemButton>
1553
+ </AccordionItemHeading>
1554
+ <AccordionItemPanel className="p-0">
1555
+ <div class="col-lg-12 pl-3 pr-3 mt-3">
1556
+ <p
1557
+ className={'m-0 p-0 wordbreak'}
1558
+ style={{
1559
+ textAlign: langdetect == 'en' ? 'left' : 'right',
1560
+ color: sectionproperties.prodCatColor,
1561
+ }}
1562
+ dangerouslySetInnerHTML={{
1563
+ __html:
1564
+ langdetect == 'en'
1565
+ ? fetchProductInfoQueryContext?.data?.data?.productinfo?.short_description_en
1566
+ : fetchProductInfoQueryContext?.data?.data?.productinfo?.short_description_ar,
1567
+ }}
1568
+ ></p>
1447
1569
  </div>
1448
- );
1449
- })}
1450
- </div>
1570
+ </AccordionItemPanel>
1571
+ </AccordionItem>
1572
+ </Accordion>
1451
1573
  </div>
1452
1574
  )}
1453
- {/* long description collap */}
1454
- {sectionproperties.descriptionstyle == 'Style 2' && (
1455
- <div class="col-lg-12 col-md-12 p-md-0 mt-3">
1456
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1457
- <AccordionItem>
1458
- <AccordionItemHeading>
1459
- <AccordionItemButton>
1460
- <div class="row m-0 w-100">
1461
- <div className="col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start">
1575
+ {sectionproperties.descriptionstyle == 'Style 2' && (
1576
+ <div class="col-lg-12 col-md-12 my-3 p-md-0">
1577
+ <hr class="m-0" />
1578
+ </div>
1579
+ )}
1580
+ {/* policies collap */}
1581
+ {sectionproperties.descriptionstyle == 'Style 2' && (
1582
+ <div class="col-lg-12 col-md-12 p-md-0 mb-3">
1583
+ <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1584
+ <AccordionItem>
1585
+ <AccordionItemHeading>
1586
+ <AccordionItemButton>
1587
+ <div class="row m-0 w-100">
1588
+ <div className="col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start">
1589
+ <p
1590
+ class="m-0 p-0 "
1591
+ style={{
1592
+ textAlign: langdetect == 'en' ? 'left' : 'right',
1593
+ fontWeight: sectionproperties.prodCatFontWeight,
1594
+ color: sectionproperties.prodCatColor,
1595
+ fontSize: sectionproperties.prodCatFontSize + 'px',
1596
+ }}
1597
+ >
1598
+ {langdetect == 'en' ? sectionproperties.policiestitleen : sectionproperties.policiestitlear}
1599
+ </p>
1600
+ </div>
1601
+ {/* */}
1602
+ <div className="col-lg-2 col-md-2 col-sm-2 p-0">
1603
+ <AccordionItemState>
1604
+ {(state) => {
1605
+ if (state.expanded == true) {
1606
+ return (
1607
+ <i className={' h-100 d-flex align-items-center justify-content-end '}>
1608
+ <FaMinus color={sectionproperties.prodCatColor} />
1609
+ </i>
1610
+ );
1611
+ } else {
1612
+ return (
1613
+ <i className={' h-100 d-flex align-items-center justify-content-end '}>
1614
+ <FaPlus color={sectionproperties.prodCatColor} />
1615
+ </i>
1616
+ );
1617
+ }
1618
+ }}
1619
+ </AccordionItemState>
1620
+ </div>
1621
+ </div>
1622
+ </AccordionItemButton>
1623
+ </AccordionItemHeading>
1624
+ <AccordionItemPanel className="p-0">
1625
+ {/* title Shipping Policy */}
1626
+ {sectionproperties.showfirstpolicy == 'Show' && (
1627
+ <div class="col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3">
1628
+ <i class="h-100 allcentered mx-2">
1629
+ <FiBox
1630
+ size={15}
1631
+ style={{
1632
+ color: sectionproperties.prodCatColor,
1633
+ }}
1634
+ />
1635
+ </i>
1462
1636
  <p
1463
- class="m-0 p-0"
1637
+ class="m-0 p-0 text-uppercase"
1464
1638
  style={{
1465
1639
  textAlign: langdetect == 'en' ? 'left' : 'right',
1466
1640
  fontWeight: sectionproperties.prodCatFontWeight,
1467
1641
  color: sectionproperties.prodCatColor,
1468
- fontSize: sectionproperties.prodCatFontSize + 'px',
1642
+ fontSize: '14px',
1469
1643
  }}
1470
1644
  >
1471
- {langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
1645
+ {langdetect == 'en'
1646
+ ? returnpolicyobj('Shipping Policy')?.policypagename_en
1647
+ : returnpolicyobj('Shipping Policy')?.policypagename_ar}
1472
1648
  </p>
1473
1649
  </div>
1474
- <div className="col-lg-2 col-md-2 col-sm-2 p-0">
1475
- <AccordionItemState>
1476
- {(state) => {
1477
- if (state.expanded == true) {
1478
- return (
1479
- <i className={' h-100 d-flex align-items-center justify-content-end '}>
1480
- <FaMinus color={sectionproperties.prodCatColor} />
1481
- </i>
1482
- );
1483
- } else {
1484
- return (
1485
- <i className={' h-100 d-flex align-items-center justify-content-end '}>
1486
- <FaPlus color={sectionproperties.prodCatColor} />
1487
- </i>
1488
- );
1489
- }
1490
- }}
1491
- </AccordionItemState>
1492
- </div>
1493
- </div>
1494
- </AccordionItemButton>
1495
- </AccordionItemHeading>
1496
- <AccordionItemPanel className="p-0">
1497
- <div class="col-lg-12 p-0 mt-3">
1498
- <DescriptionContent actions={props.actions} srcfromprops={'collap'} />
1499
- </div>
1500
- </AccordionItemPanel>
1501
- </AccordionItem>
1502
- </Accordion>
1503
- </div>
1504
- )}
1505
- {sectionproperties.descriptionstyle == 'Style 2' && (
1506
- <div class="col-lg-12 col-md-12 my-3 p-md-0">
1507
- <hr class="m-0" />
1508
- </div>
1509
- )}
1510
- {/* short desc collap */}
1511
-
1512
- {sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && (
1513
- <div class="col-lg-12 col-md-12 p-md-0">
1514
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1515
- <AccordionItem>
1516
- <AccordionItemHeading>
1517
- <AccordionItemButton>
1518
- <div class="row m-0 w-100">
1519
- <div className="col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start">
1650
+ )}
1651
+ {/* content */}
1652
+ {sectionproperties.showfirstpolicy == 'Show' && (
1653
+ <div class="col-lg-12 p-0 mb-4 px-4">
1520
1654
  <p
1521
- class="m-0 p-0"
1655
+ className={' m-0 p-0 wordbreak '}
1522
1656
  style={{
1523
1657
  textAlign: langdetect == 'en' ? 'left' : 'right',
1524
1658
  fontWeight: sectionproperties.prodCatFontWeight,
1525
1659
  color: sectionproperties.prodCatColor,
1526
- fontSize: sectionproperties.prodCatFontSize + 'px',
1660
+ fontSize: '15px',
1527
1661
  }}
1528
- >
1529
- {langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar}
1530
- </p>
1531
- </div>
1532
- <div className="col-lg-2 col-md-2 col-sm-2 p-0">
1533
- <AccordionItemState>
1534
- {(state) => {
1535
- if (state.expanded == true) {
1536
- return (
1537
- <i className={' h-100 d-flex align-items-center justify-content-end '}>
1538
- <FaMinus color={sectionproperties.prodCatColor} />
1539
- </i>
1540
- );
1541
- } else {
1542
- return (
1543
- <i className={' h-100 d-flex align-items-center justify-content-end '}>
1544
- <FaPlus color={sectionproperties.prodCatColor} />
1545
- </i>
1546
- );
1547
- }
1662
+ dangerouslySetInnerHTML={{
1663
+ __html:
1664
+ langdetect == 'en'
1665
+ ? returnpolicyobj('Shipping Policy')?.policysummary_en
1666
+ : returnpolicyobj('Shipping Policy')?.policysummary_ar,
1548
1667
  }}
1549
- </AccordionItemState>
1668
+ ></p>
1550
1669
  </div>
1551
- </div>
1552
- </AccordionItemButton>
1553
- </AccordionItemHeading>
1554
- <AccordionItemPanel className="p-0">
1555
- <div class="col-lg-12 pl-3 pr-3 mt-3">
1556
- <p
1557
- className={'m-0 p-0 wordbreak'}
1558
- style={{
1559
- textAlign: langdetect == 'en' ? 'left' : 'right',
1560
- color: sectionproperties.prodCatColor,
1561
- }}
1562
- dangerouslySetInnerHTML={{
1563
- __html:
1564
- langdetect == 'en'
1565
- ? fetchProductInfoQueryContext?.data?.data?.productinfo?.short_description_en
1566
- : fetchProductInfoQueryContext?.data?.data?.productinfo?.short_description_ar,
1567
- }}
1568
- ></p>
1569
- </div>
1570
- </AccordionItemPanel>
1571
- </AccordionItem>
1572
- </Accordion>
1573
- </div>
1574
- )}
1575
- {sectionproperties.descriptionstyle == 'Style 2' && (
1576
- <div class="col-lg-12 col-md-12 my-3 p-md-0">
1577
- <hr class="m-0" />
1578
- </div>
1579
- )}
1580
- {/* policies collap */}
1581
- {sectionproperties.descriptionstyle == 'Style 2' && (
1582
- <div class="col-lg-12 col-md-12 p-md-0 mb-3">
1583
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1584
- <AccordionItem>
1585
- <AccordionItemHeading>
1586
- <AccordionItemButton>
1587
- <div class="row m-0 w-100">
1588
- <div className="col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start">
1670
+ )}
1671
+ {sectionproperties.showfirstpolicy == 'Show' && (
1672
+ <div class="col-lg-12 p-0 mb-4 px-4">
1589
1673
  <p
1590
- class="m-0 p-0 "
1674
+ className={' m-0 p-0 wordbreak cursor-pointer '}
1591
1675
  style={{
1592
1676
  textAlign: langdetect == 'en' ? 'left' : 'right',
1593
- fontWeight: sectionproperties.prodCatFontWeight,
1677
+ textDecoration: 'underline',
1594
1678
  color: sectionproperties.prodCatColor,
1595
- fontSize: sectionproperties.prodCatFontSize + 'px',
1679
+ }}
1680
+ onClick={() => {
1681
+ routingcountext(StaticPagesLinksContext.ShippingPolicy);
1596
1682
  }}
1597
1683
  >
1598
- {langdetect == 'en' ? sectionproperties.policiestitleen : sectionproperties.policiestitlear}
1684
+ SEE MORE
1599
1685
  </p>
1600
1686
  </div>
1601
- {/* */}
1602
- <div className="col-lg-2 col-md-2 col-sm-2 p-0">
1603
- <AccordionItemState>
1604
- {(state) => {
1605
- if (state.expanded == true) {
1606
- return (
1607
- <i className={' h-100 d-flex align-items-center justify-content-end '}>
1608
- <FaMinus color={sectionproperties.prodCatColor} />
1609
- </i>
1610
- );
1611
- } else {
1612
- return (
1613
- <i className={' h-100 d-flex align-items-center justify-content-end '}>
1614
- <FaPlus color={sectionproperties.prodCatColor} />
1615
- </i>
1616
- );
1617
- }
1618
- }}
1619
- </AccordionItemState>
1620
- </div>
1621
- </div>
1622
- </AccordionItemButton>
1623
- </AccordionItemHeading>
1624
- <AccordionItemPanel className="p-0">
1625
- {/* title Shipping Policy */}
1626
- {sectionproperties.showfirstpolicy == 'Show' && (
1627
- <div class="col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3">
1687
+ )}
1688
+
1689
+ {/* title */}
1690
+ <div class="col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center">
1628
1691
  <i class="h-100 allcentered mx-2">
1629
- <FiBox
1692
+ <RiArrowGoBackLine
1630
1693
  size={15}
1631
1694
  style={{
1632
1695
  color: sectionproperties.prodCatColor,
@@ -1643,13 +1706,11 @@ const Product_itemtype = (props) => {
1643
1706
  }}
1644
1707
  >
1645
1708
  {langdetect == 'en'
1646
- ? returnpolicyobj('Shipping Policy')?.policypagename_en
1647
- : returnpolicyobj('Shipping Policy')?.policypagename_ar}
1709
+ ? returnpolicyobj('Refund Policy')?.policypagename_en
1710
+ : returnpolicyobj('Refund Policy')?.policypagename_ar}
1648
1711
  </p>
1649
1712
  </div>
1650
- )}
1651
- {/* content */}
1652
- {sectionproperties.showfirstpolicy == 'Show' && (
1713
+ {/* {content} */}
1653
1714
  <div class="col-lg-12 p-0 mb-4 px-4">
1654
1715
  <p
1655
1716
  className={' m-0 p-0 wordbreak '}
@@ -1662,13 +1723,11 @@ const Product_itemtype = (props) => {
1662
1723
  dangerouslySetInnerHTML={{
1663
1724
  __html:
1664
1725
  langdetect == 'en'
1665
- ? returnpolicyobj('Shipping Policy')?.policysummary_en
1666
- : returnpolicyobj('Shipping Policy')?.policysummary_ar,
1726
+ ? returnpolicyobj('Refund Policy')?.policysummary_en
1727
+ : returnpolicyobj('Refund Policy')?.policysummary_ar,
1667
1728
  }}
1668
1729
  ></p>
1669
1730
  </div>
1670
- )}
1671
- {sectionproperties.showfirstpolicy == 'Show' && (
1672
1731
  <div class="col-lg-12 p-0 mb-4 px-4">
1673
1732
  <p
1674
1733
  className={' m-0 p-0 wordbreak cursor-pointer '}
@@ -1678,303 +1737,379 @@ const Product_itemtype = (props) => {
1678
1737
  color: sectionproperties.prodCatColor,
1679
1738
  }}
1680
1739
  onClick={() => {
1681
- routingcountext(StaticPagesLinksContext.ShippingPolicy);
1740
+ routingcountext(StaticPagesLinksContext.RefundPolicy);
1682
1741
  }}
1683
1742
  >
1684
1743
  SEE MORE
1685
1744
  </p>
1686
1745
  </div>
1687
- )}
1688
-
1689
- {/* title */}
1690
- <div class="col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center">
1691
- <i class="h-100 allcentered mx-2">
1692
- <RiArrowGoBackLine
1693
- size={15}
1694
- style={{
1695
- color: sectionproperties.prodCatColor,
1696
- }}
1697
- />
1698
- </i>
1746
+ </AccordionItemPanel>
1747
+ </AccordionItem>
1748
+ </Accordion>
1749
+ </div>
1750
+ )}
1751
+ {sectionproperties.productInformationType == 'Product/Service Information' &&
1752
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 &&
1753
+ sectionproperties.showtotalsection == 'Show' && (
1754
+ <div className="col-lg-12 p-0 mb-3">
1755
+ <div className="row m-0 w-100 d-flex flex-row">
1756
+ <p
1757
+ className="m-0 p-0"
1758
+ style={{
1759
+ color: sectionproperties.total_color,
1760
+ fontSize: sectionproperties.total_fontsize + 'px',
1761
+ fontWeight: sectionproperties.total_fontweight,
1762
+ textTransform: sectionproperties.total_texttransform,
1763
+ }}
1764
+ >
1765
+ {lang.total}:
1766
+ </p>
1767
+ <div className="col-lg-9 col-md-9 col-sm-9 d-flex align-items-center pl-1 pr-1">
1699
1768
  <p
1700
- class="m-0 p-0 text-uppercase"
1769
+ className={'m-0 p-0 wordbreak d-flex align-items-center justify-content-end'}
1701
1770
  style={{
1702
- textAlign: langdetect == 'en' ? 'left' : 'right',
1703
- fontWeight: sectionproperties.prodCatFontWeight,
1704
- color: sectionproperties.prodCatColor,
1705
- fontSize: '14px',
1771
+ fontSize: sectionproperties.prodpriceFontSize + 'px',
1772
+ fontWeight: sectionproperties.prodPriceFontWeight,
1773
+ color: sectionproperties.prodPriceColor,
1706
1774
  }}
1707
1775
  >
1708
- {langdetect == 'en' ? returnpolicyobj('Refund Policy')?.policypagename_en : returnpolicyobj('Refund Policy')?.policypagename_ar}
1709
- </p>
1710
- </div>
1711
- {/* {content} */}
1712
- <div class="col-lg-12 p-0 mb-4 px-4">
1713
- <p
1714
- className={' m-0 p-0 wordbreak '}
1715
- style={{
1716
- textAlign: langdetect == 'en' ? 'left' : 'right',
1717
- fontWeight: sectionproperties.prodCatFontWeight,
1718
- color: sectionproperties.prodCatColor,
1719
- fontSize: '15px',
1720
- }}
1721
- dangerouslySetInnerHTML={{
1722
- __html:
1776
+ {/* here */}
1777
+ <span
1778
+ className={
1723
1779
  langdetect == 'en'
1724
- ? returnpolicyobj('Refund Policy')?.policysummary_en
1725
- : returnpolicyobj('Refund Policy')?.policysummary_ar,
1726
- }}
1727
- ></p>
1728
- </div>
1729
- <div class="col-lg-12 p-0 mb-4 px-4">
1780
+ ? ' d-flex align-items-center justify-content-end wordbreak text-right '
1781
+ : ' d-flex align-items-center justify-content-end wordbreak text-left '
1782
+ }
1783
+ >
1784
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
1785
+ {variantindexcompleted != undefined &&
1786
+ variantindexcompleted.length == 0 &&
1787
+ fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 &&
1788
+ parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2)}
1789
+ {variantindexcompleted != undefined &&
1790
+ variantindexcompleted.length == 0 &&
1791
+ fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 &&
1792
+ parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)}
1793
+ {variantindexcompleted != undefined &&
1794
+ variantindexcompleted.length != 0 &&
1795
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.hassale == 1 &&
1796
+ parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)}
1797
+ {variantindexcompleted != undefined &&
1798
+ variantindexcompleted.length != 0 &&
1799
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.hassale == 0 &&
1800
+ parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2)}
1801
+ {/* {totalprice} */}
1802
+ {/* {fetchProductInfoQueryContext.data.data.productinfo.hassale == 0
1803
+ ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2)
1804
+ : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)} */}
1805
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
1806
+ </span>
1807
+ </p>
1730
1808
  <p
1731
- className={' m-0 p-0 wordbreak cursor-pointer '}
1809
+ className={'m-0 p-0 linethrough wordbreak'}
1732
1810
  style={{
1733
- textAlign: langdetect == 'en' ? 'left' : 'right',
1734
- textDecoration: 'underline',
1735
- color: sectionproperties.prodCatColor,
1736
- }}
1737
- onClick={() => {
1738
- routingcountext(StaticPagesLinksContext.RefundPolicy);
1811
+ color: sectionproperties.prodsalePriceColor,
1812
+ fontSize: sectionproperties.prodsalepriceFontSize + 'px',
1813
+ fontWeight: sectionproperties.prodsalePriceFontWeight,
1739
1814
  }}
1740
1815
  >
1741
- SEE MORE
1816
+ {fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 &&
1817
+ variantindexcompleted != undefined &&
1818
+ variantindexcompleted.length == 0 && (
1819
+ <span
1820
+ className={
1821
+ langdetect == 'en'
1822
+ ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak '
1823
+ : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
1824
+ }
1825
+ >
1826
+ <span className="ml-2 mr-2" style={{ textDecoration: 'none' }}>
1827
+ -
1828
+ </span>
1829
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
1830
+ {parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted))}{' '}
1831
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
1832
+ </span>
1833
+ )}
1834
+ {variantindexcompleted != undefined &&
1835
+ variantindexcompleted.length != 0 &&
1836
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.hassale == 1 && (
1837
+ <span
1838
+ className={
1839
+ langdetect == 'en'
1840
+ ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak '
1841
+ : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
1842
+ }
1843
+ >
1844
+ <span className="ml-2 mr-2" style={{ textDecoration: 'none' }}>
1845
+ -
1846
+ </span>
1847
+ {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
1848
+ {parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted))}{' '}
1849
+ {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
1850
+ </span>
1851
+ )}
1742
1852
  </p>
1743
1853
  </div>
1744
- </AccordionItemPanel>
1745
- </AccordionItem>
1746
- </Accordion>
1747
- </div>
1748
- )}
1749
- {sectionproperties.productInformationType == 'Product/Service Information' &&
1750
- fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 &&
1751
- sectionproperties.showtotalsection == 'Show' && (
1752
- <div className="col-lg-12 p-0 mb-3">
1753
- <div className="row m-0 w-100 d-flex flex-row">
1754
- <p
1755
- className="m-0 p-0"
1854
+ </div>
1855
+ </div>
1856
+ )}
1857
+ {sectionproperties.availabilitybtnposition == 'Bottom' &&
1858
+ sectionproperties.show_availability == 'Show' &&
1859
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 && (
1860
+ <div className="col-lg-12 p-0 mb-3 mt-2">
1861
+ <div
1756
1862
  style={{
1757
- color: sectionproperties.total_color,
1758
- fontSize: sectionproperties.total_fontsize + 'px',
1759
- fontWeight: sectionproperties.total_fontweight,
1760
- textTransform: sectionproperties.total_texttransform,
1863
+ width: sectionproperties.availability_width + 'px',
1864
+ height: sectionproperties.availability_height + 'px',
1865
+ background:
1866
+ fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit'
1867
+ ? sectionproperties.availability_availablebgcolor
1868
+ : sectionproperties.availability_limitedbgcolor,
1869
+ borderRadius: sectionproperties.availability_borderrradius + 'px',
1870
+ border:
1871
+ fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit'
1872
+ ? sectionproperties.availability_borderwidtth + 'px solid ' + sectionproperties.availability_availabletextcolor
1873
+ : sectionproperties.availability_borderwidtth + 'px solid ' + sectionproperties.availability_limitedtextcolor,
1874
+ justifyContent: sectionproperties.availabilitytextalignment == 'Centered' ? 'center' : 'start',
1761
1875
  }}
1876
+ className="d-flex align-items-center pl-3 pr-3"
1762
1877
  >
1763
- {lang.total}:
1764
- </p>
1765
- <div className="col-lg-9 col-md-9 col-sm-9 d-flex align-items-center pl-1 pr-1">
1766
1878
  <p
1767
- className={'m-0 p-0 wordbreak d-flex align-items-center justify-content-end'}
1879
+ className="m-0 p-0 font-weight-500 wordbreak"
1768
1880
  style={{
1769
- fontSize: sectionproperties.prodpriceFontSize + 'px',
1770
- fontWeight: sectionproperties.prodPriceFontWeight,
1771
- color: sectionproperties.prodPriceColor,
1881
+ color:
1882
+ fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit'
1883
+ ? sectionproperties.availability_availabletextcolor
1884
+ : sectionproperties.availability_limitedtextcolor,
1885
+ fontSize: sectionproperties.availability_fontsize + 'px',
1886
+ textAlign: sectionproperties.availabilitytextalignment == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
1772
1887
  }}
1773
1888
  >
1774
- {/* here */}
1775
1889
  <span
1776
- className={
1777
- langdetect == 'en'
1778
- ? ' d-flex align-items-center justify-content-end wordbreak text-right '
1779
- : ' d-flex align-items-center justify-content-end wordbreak text-left '
1780
- }
1890
+ style={{
1891
+ color: sectionproperties.availability_textcolor,
1892
+ }}
1893
+ className="font-weight-600"
1781
1894
  >
1782
- {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
1783
- {variantindexcompleted != undefined &&
1784
- variantindexcompleted.length == 0 &&
1785
- fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 &&
1786
- parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2)}
1787
- {variantindexcompleted != undefined &&
1788
- variantindexcompleted.length == 0 &&
1789
- fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 &&
1790
- parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)}
1791
- {variantindexcompleted != undefined &&
1792
- variantindexcompleted.length != 0 &&
1793
- fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.hassale == 1 &&
1794
- parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)}
1795
- {variantindexcompleted != undefined &&
1796
- variantindexcompleted.length != 0 &&
1797
- fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.hassale == 0 &&
1798
- parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2)}
1799
- {/* {totalprice} */}
1800
- {/* {fetchProductInfoQueryContext.data.data.productinfo.hassale == 0
1801
- ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2)
1802
- : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)} */}
1803
- {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
1895
+ {lang.availability}:
1896
+ </span>
1897
+ <span className="ml-1 mr-1">
1898
+ {fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity}
1804
1899
  </span>
1805
- </p>
1806
- <p
1807
- className={'m-0 p-0 linethrough wordbreak'}
1808
- style={{
1809
- color: sectionproperties.prodsalePriceColor,
1810
- fontSize: sectionproperties.prodsalepriceFontSize + 'px',
1811
- fontWeight: sectionproperties.prodsalePriceFontWeight,
1812
- }}
1813
- >
1814
- {fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 &&
1815
- variantindexcompleted != undefined &&
1816
- variantindexcompleted.length == 0 && (
1817
- <span
1818
- className={
1819
- langdetect == 'en'
1820
- ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak '
1821
- : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
1822
- }
1823
- >
1824
- <span className="ml-2 mr-2" style={{ textDecoration: 'none' }}>
1825
- -
1826
- </span>
1827
- {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
1828
- {parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted))}{' '}
1829
- {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
1830
- </span>
1831
- )}
1832
- {variantindexcompleted != undefined &&
1833
- variantindexcompleted.length != 0 &&
1834
- fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.hassale == 1 && (
1835
- <span
1836
- className={
1837
- langdetect == 'en'
1838
- ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak '
1839
- : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
1840
- }
1841
- >
1842
- <span className="ml-2 mr-2" style={{ textDecoration: 'none' }}>
1843
- -
1844
- </span>
1845
- {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''}{' '}
1846
- {parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted))}{' '}
1847
- {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
1848
- </span>
1849
- )}
1850
1900
  </p>
1851
1901
  </div>
1852
1902
  </div>
1903
+ )}
1904
+ {sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && (
1905
+ <div class="col-lg-12 p-0">
1906
+ <hr
1907
+ class="mb-3 mt-3"
1908
+ style={{
1909
+ borderColor: '#eee',
1910
+ }}
1911
+ />
1853
1912
  </div>
1854
1913
  )}
1855
- {sectionproperties.availabilitybtnposition == 'Bottom' &&
1856
- sectionproperties.show_availability == 'Show' &&
1857
- fetchProductInfoQueryContext?.data?.data?.productinfo?.isproducttobesold == 1 && (
1858
- <div className="col-lg-12 p-0 mb-3 mt-2">
1914
+ {sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && (
1915
+ <div class="col-lg-12 mt-2 p-0">{ShareButtonsContainer()}</div>
1916
+ )}
1917
+
1918
+ {sectionproperties.storeinfoposition == 'Below Information' && (
1919
+ <div className={productinfo_cssstyles.storeinfocontainer + ' col-lg-12 p-0 '} style={{}}>
1859
1920
  <div
1921
+ class="row m-0 w-100"
1860
1922
  style={{
1861
- width: sectionproperties.availability_width + 'px',
1862
- height: sectionproperties.availability_height + 'px',
1863
- background:
1864
- fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit'
1865
- ? sectionproperties.availability_availablebgcolor
1866
- : sectionproperties.availability_limitedbgcolor,
1867
- borderRadius: sectionproperties.availability_borderrradius + 'px',
1868
- border:
1869
- fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit'
1870
- ? sectionproperties.availability_borderwidtth + 'px solid ' + sectionproperties.availability_availabletextcolor
1871
- : sectionproperties.availability_borderwidtth + 'px solid ' + sectionproperties.availability_limitedtextcolor,
1872
- justifyContent: sectionproperties.availabilitytextalignment == 'Centered' ? 'center' : 'start',
1923
+ paddingLeft: langdetect == 'en' ? '.5em' : 0,
1924
+ paddingRight: langdetect == 'ar' ? '.5rem' : 0,
1873
1925
  }}
1874
- className="d-flex align-items-center pl-3 pr-3"
1875
1926
  >
1876
- <p
1877
- className="m-0 p-0 font-weight-500 wordbreak"
1878
- style={{
1879
- color:
1880
- fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit'
1881
- ? sectionproperties.availability_availabletextcolor
1882
- : sectionproperties.availability_limitedtextcolor,
1883
- fontSize: sectionproperties.availability_fontsize + 'px',
1884
- textAlign: sectionproperties.availabilitytextalignment == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
1885
- }}
1886
- >
1887
- <span
1888
- style={{
1889
- color: sectionproperties.availability_textcolor,
1890
- }}
1891
- className="font-weight-600"
1892
- >
1893
- {lang.availability}:
1894
- </span>
1895
- <span className="ml-1 mr-1">
1896
- {fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity}
1897
- </span>
1898
- </p>
1927
+ {StoreInfoprops()}
1928
+ {sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && (
1929
+ <div class={productinfo_cssstyles.storeinfocontainer + ' col-lg-12 p-0 '} style={{}}>
1930
+ <hr class="my-3" />
1931
+ </div>
1932
+ )}
1933
+ {sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && (
1934
+ <div class="col-lg-12 p-0 allcentered mt-2">{ShareButtonsContainer()}</div>
1935
+ )}
1899
1936
  </div>
1900
1937
  </div>
1901
1938
  )}
1902
- {sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && (
1939
+ </div>
1940
+ </div>
1941
+ </div>
1942
+ </div>
1943
+ {sectionproperties.storeinfoposition == 'On The Right' && (
1944
+ <div
1945
+ className={langdetect == 'en' ? 'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0' : 'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0'}
1946
+ style={{
1947
+ borderLeft: langdetect == 'en' ? '1px solid #eee' : 0,
1948
+ borderRight: langdetect == 'ar' ? '1px solid #eee' : 0,
1949
+ display:
1950
+ sectionproperties.showfooterphonenumber == 'Hide' &&
1951
+ sectionproperties.showfooteremail == 'Hide' &&
1952
+ sectionproperties.showstoreinfo2 == 'Hide' &&
1953
+ sectionproperties.showstoreinfo1 == 'Hide'
1954
+ ? 'none'
1955
+ : 'block',
1956
+ }}
1957
+ >
1958
+ <div
1959
+ class="row m-0 w-100"
1960
+ style={{
1961
+ paddingLeft: langdetect == 'en' ? '.5em' : 0,
1962
+ paddingRight: langdetect == 'ar' ? '.5rem' : 0,
1963
+ }}
1964
+ >
1965
+ {StoreInfoprops()}
1966
+ {sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && (
1903
1967
  <div class="col-lg-12 p-0">
1904
- <hr
1905
- class="mb-3 mt-3"
1906
- style={{
1907
- borderColor: '#eee',
1908
- }}
1909
- />
1968
+ <hr class="my-3" />
1910
1969
  </div>
1911
1970
  )}
1912
- {sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && (
1913
- <div class="col-lg-12 mt-2 p-0">{ShareButtonsContainer()}</div>
1914
- )}
1915
-
1916
- {sectionproperties.storeinfoposition == 'Below Information' && (
1917
- <div className={productinfo_cssstyles.storeinfocontainer + ' col-lg-12 p-0 '} style={{}}>
1918
- <div
1919
- class="row m-0 w-100"
1920
- style={{
1921
- paddingLeft: langdetect == 'en' ? '.5em' : 0,
1922
- paddingRight: langdetect == 'ar' ? '.5rem' : 0,
1923
- }}
1924
- >
1925
- {StoreInfoprops()}
1926
- {sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && (
1927
- <div class={productinfo_cssstyles.storeinfocontainer + ' col-lg-12 p-0 '} style={{}}>
1928
- <hr class="my-3" />
1929
- </div>
1930
- )}
1931
- {sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && (
1932
- <div class="col-lg-12 p-0 allcentered mt-2">{ShareButtonsContainer()}</div>
1933
- )}
1934
- </div>
1935
- </div>
1971
+ {sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && (
1972
+ <div class="col-lg-12 p-0 allcentered mt-2">{ShareButtonsContainer()}</div>
1936
1973
  )}
1937
1974
  </div>
1938
1975
  </div>
1939
- </div>
1976
+ )}
1940
1977
  </div>
1941
- {sectionproperties.storeinfoposition == 'On The Right' && (
1942
- <div
1943
- className={langdetect == 'en' ? 'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0' : 'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0'}
1978
+ </div>
1979
+ </div>
1980
+ )}
1981
+ {Object.keys(sectionproperties).length != 0 && authdetailsContext?.instinfo?.contactinfo.instid == '673ca821296ee' && (
1982
+ <div
1983
+ class={`${productinfo_cssstyles.cardcontainer}` + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 '}
1984
+ style={{
1985
+ minHeight: sectionproperties.height + 'vh',
1986
+ // paddingLeft: srcfromprops == 'templatedraftrouter' ? 0 : langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
1987
+ // paddingRight: srcfromprops == 'templatedraftrouter' ? 0 : langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
1988
+ }}
1989
+ >
1990
+ <div class="col-lg-12 allcentered p-0 mb-2">
1991
+ <div className="w-100 h-100" style={{}}>
1992
+ <Imagekitimagecomp
1993
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
1994
+ publicKey={ikimagecredcontext?.ikimagepublickey}
1995
+ path={'/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + fetchProductInfoQueryContext?.data?.data?.productinfo?.productmainimage}
1996
+ style={{
1997
+ width: '100%',
1998
+ height: '100%',
1999
+ objectFit: 'contain',
2000
+ }}
2001
+ loading="lazy"
2002
+ />
2003
+ </div>
2004
+ </div>
2005
+ {sectionproperties.showmeasurementunit == 'Show' && (
2006
+ <div className={'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-2 mt-3'}>
2007
+ <p
2008
+ className={' m-0 p-0 wordbreak d-flex justify-content-start '}
1944
2009
  style={{
1945
- borderLeft: langdetect == 'en' ? '1px solid #eee' : 0,
1946
- borderRight: langdetect == 'ar' ? '1px solid #eee' : 0,
1947
- display:
1948
- sectionproperties.showfooterphonenumber == 'Hide' &&
1949
- sectionproperties.showfooteremail == 'Hide' &&
1950
- sectionproperties.showstoreinfo2 == 'Hide' &&
1951
- sectionproperties.showstoreinfo1 == 'Hide'
1952
- ? 'none'
1953
- : 'block',
2010
+ textAlign: langdetect == 'en' ? 'left' : 'right',
2011
+ fontWeight: 400,
2012
+ color: sectionproperties.measurementunitcolor,
2013
+ fontSize: sectionproperties.measurementunitfontsize + 'px',
1954
2014
  }}
1955
2015
  >
1956
- <div
1957
- class="row m-0 w-100"
2016
+ {fetchProductInfoQueryContext.data.data.productinfo.measurmentunit}
2017
+ </p>
2018
+ </div>
2019
+ )}
2020
+
2021
+ <div className={'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'}>
2022
+ <p
2023
+ className={
2024
+ props.srcfromprops != 'templatedraftrouter'
2025
+ ? `${productinfo_cssstyles.productname} ${productinfo_cssstyles.productnamehover}` +
2026
+ ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 '
2027
+ : `${productinfo_cssstyles.productname}` + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 '
2028
+ }
2029
+ onClick={() => {
2030
+ if (props.srcfromprops != 'templatedraftrouter') {
2031
+ routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
2032
+ }
2033
+ }}
2034
+ style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}
2035
+ >
2036
+ {langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar}
2037
+ </p>
2038
+ </div>
2039
+ <div class="col-lg-12 col-md-12 p-0">
2040
+ <div class="row m-0 w-100">
2041
+ <div className="col-lg-12 p-0 d-flex align-items-center justify-content-start">
2042
+ <p
2043
+ class="m-0 p-0"
1958
2044
  style={{
1959
- paddingLeft: langdetect == 'en' ? '.5em' : 0,
1960
- paddingRight: langdetect == 'ar' ? '.5rem' : 0,
2045
+ textAlign: langdetect == 'en' ? 'left' : 'right',
2046
+ fontWeight: sectionproperties.prodCatFontWeight,
2047
+ color: sectionproperties.prodCatColor,
2048
+ fontSize: sectionproperties.prodCatFontSize + 'px',
1961
2049
  }}
1962
2050
  >
1963
- {StoreInfoprops()}
1964
- {sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && (
1965
- <div class="col-lg-12 p-0">
1966
- <hr class="my-3" />
1967
- </div>
1968
- )}
1969
- {sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && (
1970
- <div class="col-lg-12 p-0 allcentered mt-2">{ShareButtonsContainer()}</div>
1971
- )}
1972
- </div>
2051
+ {langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar}
2052
+ </p>
2053
+ </div>
2054
+ <div class="col-lg-12 mt-3">
2055
+ <p
2056
+ className={'m-0 p-0 wordbreak'}
2057
+ style={{
2058
+ textAlign: langdetect == 'en' ? 'left' : 'right',
2059
+ color: sectionproperties.prodCatColor,
2060
+ }}
2061
+ dangerouslySetInnerHTML={{
2062
+ __html:
2063
+ langdetect == 'en'
2064
+ ? fetchProductInfoQueryContext?.data?.data?.productinfo?.short_description_en
2065
+ : fetchProductInfoQueryContext?.data?.data?.productinfo?.short_description_ar,
2066
+ }}
2067
+ ></p>
1973
2068
  </div>
1974
- )}
2069
+ </div>
2070
+ </div>
2071
+ <div class="col-lg-12 p-0 my-4">
2072
+ <div class="row m-0 w-100">
2073
+ {fetchProductInfoQueryContext?.data?.data?.productinfo?.productimages?.length != 0 &&
2074
+ fetchProductInfoQueryContext?.data?.data?.productinfo?.productimages.map((item, index) => {
2075
+ return (
2076
+ <div class="col-lg-4 col-sm-12">
2077
+ <div class={' mx-2 w-100 h-100'} style={{}}>
2078
+ <Imagekitimagecomp
2079
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
2080
+ publicKey={ikimagecredcontext?.ikimagepublickey}
2081
+ path={'/tr:w-500,h-500/' + item.path}
2082
+ style={{
2083
+ width: '100%',
2084
+ height: '100%',
2085
+ objectFit: 'contain',
2086
+ }}
2087
+ loading="lazy"
2088
+ />
2089
+ </div>
2090
+ </div>
2091
+ );
2092
+ })}
2093
+ </div>
2094
+ </div>
2095
+ <div class="col-lg-12 p-0 my-3">
2096
+ <div class="col-lg-12 p-0 d-flex justify-content-start">
2097
+ <p
2098
+ className={'text-black m-0 p-0 wordbreak'}
2099
+ style={{
2100
+ textAlign: langdetect == 'en' ? 'left' : 'right',
2101
+ }}
2102
+ dangerouslySetInnerHTML={{
2103
+ __html:
2104
+ langdetect == 'en'
2105
+ ? fetchProductInfoQueryContext?.data?.data?.productinfo?.description_en
2106
+ : fetchProductInfoQueryContext?.data?.data?.productinfo?.description_ar,
2107
+ }}
2108
+ ></p>
2109
+ </div>
1975
2110
  </div>
1976
2111
  </div>
1977
- </div>
2112
+ )}
1978
2113
  </div>
1979
2114
  {/* <div class="col-lg-12 p-0">{relatedproducts()}</div> */}
1980
2115
  </div>