tabexseriescomponents 0.2.1280 → 0.2.1283

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