Перейти к содержимому


Фотография
- - - - -

Проблема С Полем Выбора Количества


Сообщений в теме: 7

#1 registr

registr

Отправлено 14 August 2019 - 10:04

Вот как выглядит сейчас:

http://prntscr.com/osha91

сама страница:

http://fanclastic.co...zoosaurics.html

 

на локалку перенес выдает там же ошибку: 

Warning: Use of undefined constant php - assumed 'php' (this will throw an Error in a future version of PHP) in D:\os\domains\localhost\fanclastic.co.il\media\zoo\applications\jbuniversal\cart-elements\price\value\tmpl\full-div.php on line 24

 

Что это может быть и как исправить?


  • 0

#2 CB9TOIIIA

CB9TOIIIA

Отправлено 14 August 2019 - 11:23

ошибка это предупреждение - нотс - что-то наделали на 24 строке. (точнее не определили вначале переменную) - это неважно.

 

По сайту css намудрили или отключили

  1. dl.item-count-digits dd {
  2. display: none !important;
  3. overflow: hidden;
  4. }
  5.  
  6. dl.item-count-digits + input.input-quantity.jsInput {
  7. display: inline-block !important;
  8. opacity: 1 !important;
  9. margin-top: 6px;
  10. }

Хоть как-то улучшает вид. Но части css нет на сайте.

 

dYM8WvU.png


  • 0

#3 registr

registr

Отправлено 14 August 2019 - 11:52

на сайте 24 строка вот так http://prntscr.com/osix7i
а на других сайтах я смотрел вот так http://prntscr.com/osixnp
не знаю насколько это критично
И добавил ваших стилей - помогло, но не очень

  • 0

#4 CB9TOIIIA

CB9TOIIIA

Отправлено 14 August 2019 - 11:55

я css и говорю - ЧАСТИ стилей jbzoo нет на сайте или выключили или не скопировалось или изменяли их и поломали.


  • 0

#5 registr

registr

Отправлено 14 August 2019 - 11:58

очень может быть любой из вариантов, сайт переносился и не раз, и стили дописывались и могли просто перекрыть. А вот что именно, в каком файле можно поискать и сравнить может подскажете или что дописать чтоб выбор кол-ва стал как надо, или что искать?


  • 0

#6 CB9TOIIIA

CB9TOIIIA

Отправлено 14 August 2019 - 12:12

просто всю папку заменить css jbzoo как вариант (вначале бекап).

  1. .jbzoo .quantity-wrapper {
  2. border: none !important;
  3. width: 100px;
  4. }
  5. .jbzoo .quantity-wrapper .item-count-wrapper {
  6. margin: 0;
  7. position: relative;
  8. overflow: hidden;
  9. width: 60px;
  10. height: 40px;
  11. border: 1px solid #fff;
  12. border-radius: 4px;
  13. background: #fff;
  14. }
  15. .jbzoo .quantity-wrapper .item-count {
  16. width: 60px;
  17. height: 40px;
  18. margin: 0;
  19. padding: 0;
  20. position: relative;
  21. z-index: 0;
  22. white-space: nowrap;
  23. overflow: hidden;
  24. }
  25. .jbzoo .quantity-wrapper .item-count-digits {
  26. width: 60px;
  27. margin: 0;
  28. padding: 0;
  29. position: absolute;
  30. left: 0;
  31. }
  32. .jbzoo .quantity-wrapper .item-count-digits dd {
  33. height: 40px;
  34. margin: 0;
  35. padding: 0;
  36. text-align: center;
  37. display: block;
  38. font-size: 16px;
  39. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  40. font-weight: normal;
  41. line-height: 40px;
  42. width: 60px;
  43. }
  44. .jbzoo .quantity-wrapper .input-quantity {
  45. height: 40px !important;
  46. width: 55px !important;
  47. min-width: 60px;
  48. padding: 0;
  49. z-index: 1;
  50. display: block;
  51. position: absolute;
  52. border: 1px solid #fff;
  53. border-radius: 3px;
  54. background: none;
  55. outline: none;
  56. font-size: 16px;
  57. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  58. font-weight: normal;
  59. line-height: 40px;
  60. text-align: center;
  61. text-indent: 0;
  62. opacity: 0;
  63. color: inherit;
  64. font: inherit;
  65. margin: 0;
  66. box-sizing: border-box;
  67. -webkit-transition: none;
  68. transition: none;
  69. }
  70. .jbzoo .quantity-wrapper .input-quantity:focus {
  71. border-color: #ccc;
  72. outline: none;
  73. color: #000;
  74. background-color: #faffbd;
  75. box-shadow: none;
  76. font-size: 16px;
  77. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  78. font-weight: normal;
  79. line-height: 40px;
  80. }
  81. .jbzoo .quantity-wrapper tr,
  82. .jbzoo .quantity-wrapper td {
  83. padding: 0;
  84. margin: 0;
  85. border: none;
  86. }
  87. .jbzoo .quantity-wrapper .plus {
  88. vertical-align: top;
  89. padding: 0 2px;
  90. }
  91. .jbzoo .quantity-wrapper .minus {
  92. vertical-align: bottom;
  93. padding: 0 2px;
  94. }
  95.  
  96. /* cache/jbzoo_assets/media_zoo_applications_jbuniversal_cart-elements_price_buttons_assets_less_buttons_less.css */
  97. /* cacheid:bbba882e6931f478c7771b8c4ae4f7320 */
  98. .jbzoo .jbprice-buttons .not-in-cart .jbprice-buttons-goto,
  99. .jbzoo .jbprice-buttons .not-in-cart .jbprice-buttons-remove {
  100. display: none;
  101. }
  102.  
  103. /* cache/jbzoo_assets/media_zoo_applications_jbuniversal_cart-elements_price_value_assets_less_value_less.css */
  104. /* cacheid:8590b1c40f71feb29bd725f4eb5045c30 */
  105. .jbzoo .jbprice-value-table {
  106. width: auto;
  107. }
  108. .jbzoo .jbprice-value-table td {
  109. padding: 0.25em 0.25em 0.25em 0;
  110. }
  111. .jbzoo .jbprice-value-price {
  112. text-decoration: line-through;
  113. }
  114.  
  115. /* cache/jbzoo_assets/media_zoo_applications_jbuniversal_elements_jbprice_assets_less_jbprice_less.css */
  116. /* cacheid:d0b622192c0f72a3c79cf630b43eca200 */
  117. .jbzoo .jbprice-modal {
  118. display: inline-block;
  119. }
  120.  
  121. /* cache/jbzoo_assets/media_zoo_applications_jbuniversal_templates_bootstrap_assets_less_bootstrap_styles_less.css */
  122. /* cacheid:bc139292e81ca4ace8c2afc6f5c005030 */
  123. .jbzoo .jbbutton {
  124. -webkit-user-select: none;
  125. -moz-user-select: none;
  126. -ms-user-select: none;
  127. user-select: none;
  128. vertical-align: middle;
  129. touch-action: manipulation;
  130. overflow: visible;
  131. text-align: center;
  132. white-space: nowrap;
  133. text-transform: none;
  134. cursor: pointer;
  135. display: inline-block;
  136. text-decoration: none !important;
  137. outline: none;
  138. -webkit-backface-visibility: hidden;
  139. backface-visibility: hidden;
  140. -webkit-appearance: none;
  141. -moz-appearance: none;
  142. appearance: none;
  143. box-sizing: border-box !important;
  144. -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  145. -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  146. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  147. -webkit-perspective: 1000;
  148. perspective: 1000;
  149. -webkit-transition: all 100ms ease;
  150. transition: all 100ms ease;
  151. color: #555555 !important;
  152. border: solid 1px #d8d8d8;
  153. background-color: #eaeaea;
  154. background-image: -moz-linear-gradient(top, #ffffff, #cccccc);
  155. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#cccccc));
  156. background-image: -webkit-linear-gradient(top, #ffffff, #cccccc);
  157. background-image: -o-linear-gradient(top, #ffffff, #cccccc);
  158. background-image: linear-gradient(to bottom, #ffffff, #cccccc);
  159. background-repeat: repeat-x;
  160. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffcccccc', GradientType=0);
  161. font-size: 14px;
  162. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  163. font-weight: normal;
  164. line-height: 17.5px;
  165. min-height: 28px;
  166. min-width: 84px;
  167. max-width: 280px;
  168. width: auto;
  169. padding: 7px 10.5px;
  170. margin-bottom: 7px;
  171. margin-right: 7px;
  172. border-radius: 4px;
  173. }
  174. .jbzoo .jbbutton:focus {
  175. outline: thin dotted #333;
  176. outline: 5px auto -webkit-focus-ring-color;
  177. outline-offset: -2px;
  178. }
  179. .jbzoo .jbbutton[disabled],
  180. .jbzoo .jbbutton.disabled,
  181. .jbzoo .jbbutton.jbloading,
  182. fieldset[disabled] .jbzoo .jbbutton {
  183. opacity: 0.5;
  184. filter: alpha(opacity= 50 );
  185. cursor: not-allowed;
  186. pointer-events: none;
  187. -webkit-box-shadow: none;
  188. -moz-box-shadow: none;
  189. box-shadow: none;
  190. }
  191. .jbzoo .jbbutton[disabled]:hover,
  192. .jbzoo .jbbutton.disabled:hover,
  193. .jbzoo .jbbutton.jbloading:hover,
  194. fieldset[disabled] .jbzoo .jbbutton:hover {
  195. -webkit-transform: translateY(0);
  196. -ms-transform: translateY(0);
  197. transform: translateY(0);
  198. }
  199.  
  200. .jbzoo .jbbutton::-moz-selection {
  201. color: #555555;
  202. background-color: transparent;
  203. }
  204. .jbzoo .jbbutton::selection {
  205. color: #555555;
  206. background-color: transparent;
  207. }
  208. .jbzoo .jbbutton:hover,
  209. .jbzoo .jbbutton:focus {
  210. background-color: #f4f4f4;
  211. background-image: -moz-linear-gradient(top, #ffffff, #e5e5e5);
  212. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e5e5e5));
  213. background-image: -webkit-linear-gradient(top, #ffffff, #e5e5e5);
  214. background-image: -o-linear-gradient(top, #ffffff, #e5e5e5);
  215. background-image: linear-gradient(to bottom, #ffffff, #e5e5e5);
  216. background-repeat: repeat-x;
  217. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe5e5e5', GradientType=0);
  218. }
  219. .jbzoo .jbbutton:hover {
  220. -webkit-transform: translateY(2px);
  221. -ms-transform: translateY(2px);
  222. transform: translateY(2px);
  223. }
  224. .jbzoo .jbbutton:active {
  225. background-color: #dbdbdb;
  226. background-image: -moz-linear-gradient(top, #cccccc, #f2f2f2);
  227. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#cccccc), to(#f2f2f2));
  228. background-image: -webkit-linear-gradient(top, #cccccc, #f2f2f2);
  229. background-image: -o-linear-gradient(top, #cccccc, #f2f2f2);
  230. background-image: linear-gradient(to bottom, #cccccc, #f2f2f2);
  231. background-repeat: repeat-x;
  232. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffcccccc', endColorstr='#fff2f2f2', GradientType=0);
  233. }
  234. .jbzoo .jbbutton.disabled,
  235. .jbzoo .jbbutton[disabled],
  236. .jbzoo .jbbutton.jbloading,
  237. fieldset[disabled] .jbzoo .jbbutton {
  238. background: #e5e5e5;
  239. }
  240. .jbzoo .jbbutton.jbloading:after {
  241. margin-top: -14px;
  242. }
  243. .jbzoo .jbbutton.round {
  244. border-radius: 100%;
  245. width: 21px;
  246. height: 21px;
  247. min-width: 21px;
  248. min-height: 21px;
  249. line-height: 19px;
  250. padding: 0;
  251. margin: 0;
  252. }
  253.  
  254. span.jsAdd.jbbutton.micro {
  255. /* width: 32px !important; */
  256. /* height: 32px !important; */
  257. display: inline;
  258. }
  259.  
  260. .jbzoo .quantity-wrapper .plus {
  261. /* width: 32px !important; */
  262. }
  263.  
  264. span.jsRemove.jbbutton.micro {
  265. display: inline;
  266. }

Но это не идеальный вариант css

 

mtsxTVj.png


  • 0

#7 registr

registr

Отправлено 15 August 2019 - 09:50

не знаю, создавать новую тему или здесь дописать, тк возможно проблема тоже в потере стилей с стандартной версии. 

Вот здесь http://fanclastic.co.il/models.html

модуль JBZOO Category list, тип - Табы, когда только ставил его табы были, теперь нет, может какими стилями перебило? 


  • 0

#8 CB9TOIIIA

CB9TOIIIA

Отправлено 15 August 2019 - 09:55

Да, стилей нет - может и даже js.

 

Когда переопределяли видимо потеряли или не докопировали.

 

Как вариант поверх попробовать поставить jbzoo (обновить) (бекапы вначале).

 

Обновить jbzoo - он не должен затирать шаблоны.


  • 0




Click to return to top of page in style!