str_product_v2.html 5.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <div class="bx-std-product bx-std-product-gallery" id="bx-std-product-__id__">
  2. <div class="bx-std-product-cnt bx-std-product-gallery-cnt rounded-2xl bg-white/60 dark:bg-white/10 ring-1 ring-inset ring-white/50 dark:ring-white/[0.025] smooth-shadow-sm">
  3. <!-- Cover section -->
  4. <div class="bx-std-product-cover m-1 rounded-xl overflow-hidden">
  5. <bx_if:no_image>
  6. <div class="bx-def-gal-img-column bg-zinc-200 dark:bg-zinc-800">
  7. <div class="bx-std-pc-no-cover"></div>
  8. </div>
  9. </bx_if:no_image>
  10. <bx_if:image>
  11. <div class="bx-std-pc-cover bx-def-gal-div-size bx-def-font-middle" style="background-image:url(__image_url__)">
  12. <div class="bx-std-product-strecher">__strecher__</div>
  13. </div>
  14. </bx_if:image>
  15. <bx_if:image_raw>
  16. <div class="bx-std-pc-cover bx-def-gal-div-size bx-def-font-middle">
  17. __image_raw__
  18. </div>
  19. </bx_if:image_raw>
  20. </div>
  21. <!-- Title section -->
  22. <div class="bx-std-product-title bx-def-padding-sec">
  23. <div class="bx-std-pt-cnt">
  24. <div class="bx-std-pt-icon">
  25. <button type="button" aria-hidden="true" tabindex="-1" onclick="javascript:__js_object__.info('__name__', this)" title="__description_plain_attr__">
  26. <bx_if:no_icon>
  27. <div class="bx-std-pt-icon-plate">
  28. <i class="sys-icon __icon__"></i>
  29. </div>
  30. </bx_if:no_icon>
  31. <bx_if:icon>
  32. <img src="__icon_url__" alt="" />
  33. </bx_if:icon>
  34. </button>
  35. </div>
  36. <div class="bx-std-pt-content">
  37. <div class="bx-std-pt-content-cnt">
  38. <div class="bx-std-pt-title">
  39. <button type="button" class="bx-def-font-color text-left" onclick="javascript:__js_object__.info('__name__', this)">__title__</button>
  40. </div>
  41. <div class="bx-std-pt-info">
  42. <bx_if:show_vendor>
  43. <a class="bx-std-pt-vendor bx-def-font-grayed" href="__vendor_url__">__vendor_name__</a>
  44. </bx_if:show_vendor>
  45. <bx_if:show_count_price>
  46. <div class="bx-std-pt-count">__count__ <bx_text:_adm_str_txt_items_by /> <span class="bx-std-product-price">__price_single__ __discount_single__</span></div>
  47. </bx_if:show_count_price>
  48. <bx_if:show_rate><span class="bx-std-pt-bullet">&bull;</span> __rate__</bx_if:show_rate>
  49. <bx_if:show_votes><span class="bx-std-pt-votes">__count__</span></bx_if:show_votes>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. <!-- Actions section -->
  56. <div class="bx-std-product-actions bx-def-padding-sec-rightbottomleft">
  57. <div class="bx-std-pa-actions">
  58. <bx_if:show_download>
  59. <button type="button" class="bx-btn bx-std-pc-download" onclick="javascript:__js_object__.getFile(__file_id__, this)"><bx_text:_adm_btn_download_submit /></button>
  60. </bx_if:show_download>
  61. <bx_if:show_download_disabled>
  62. <button type="button" class="bx-btn bx-btn-disabled bx-std-pc-download" disabled><bx_text:_adm_btn_download_submit /></button>
  63. </bx_if:show_download_disabled>
  64. <bx_if:show_queued_disabled>
  65. <button type="button" class="bx-btn bx-btn-disabled bx-std-pc-queued" disabled><bx_text:_adm_btn_queued_submit /></button>
  66. </bx_if:show_queued_disabled>
  67. <bx_if:show_delete>
  68. <button type="button" class="bx-btn bx-std-pc-delete" onclick="javascript:__js_object__.deleteFromCart(__vendor_id__, __id__, this)"><bx_text:_adm_btn_delete_submit /></button>
  69. </bx_if:show_delete>
  70. <div class="bx-std-pic-price">
  71. <bx_if:show_purchase_single>
  72. <a class="bx-std-pic-price bx-btn bx-btn-primary" onclick="javascript:__js_object__.addToCart(__vendor_id__, __id__, this)">__price_single__</a>
  73. </bx_if:show_purchase_single>
  74. <bx_if:show_checkout_single>
  75. <a class="bx-std-pic-price bx-btn bx-btn-primary bx-std-pc-checkout" onclick="javascript:__js_object__.checkoutCart(__vendor_id__, this)" <bx_if:show_as_hidden>style="display:none;"</bx_if:show_as_hidden>><bx_text:_adm_btn_checkout_submit /></a>
  76. </bx_if:show_checkout_single>
  77. <bx_if:show_purchase_recurring>
  78. <span class="bx-std-pic-price-or bx-def-padding-thd-leftright bx-def-font-grayed"><bx_text:_adm_str_txt_or /></span>
  79. <a class="bx-std-pic-price bx-btn bx-btn-primary" onclick="javascript:__js_object__.subscribe(__vendor_id__, __id__, this)">__price_recurring__</a>
  80. </bx_if:show_purchase_recurring>
  81. </div>
  82. </div>
  83. </div>
  84. </div>
  85. </div>