PageRenderTime 52ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/salejunction/yith-essential-kit-for-woocommerce-1/modules/yith-woocommerce-catalog-mode/templates/admin/premium.php

https://gitlab.com/hop23typhu/list-theme
PHP | 361 lines | 351 code | 10 blank | 0 comment | 0 complexity | 0d176811950ad7394a60c25d5eb1bb23 MD5 | raw file
  1. <style>
  2. .section{
  3. margin-left: -20px;
  4. margin-right: -20px;
  5. font-family: "Raleway",san-serif;
  6. }
  7. .section h1{
  8. text-align: center;
  9. text-transform: uppercase;
  10. color: #808a97;
  11. font-size: 35px;
  12. font-weight: 700;
  13. line-height: normal;
  14. display: inline-block;
  15. width: 100%;
  16. margin: 50px 0 0;
  17. }
  18. .section ul{
  19. list-style-type: disc;
  20. padding-left: 15px;
  21. }
  22. .section:nth-child(even){
  23. background-color: #fff;
  24. }
  25. .section:nth-child(odd){
  26. background-color: #f1f1f1;
  27. }
  28. .section .section-title img{
  29. display: table-cell;
  30. vertical-align: middle;
  31. width: auto;
  32. margin-right: 15px;
  33. }
  34. .section h2,
  35. .section h3 {
  36. display: inline-block;
  37. vertical-align: middle;
  38. padding: 0;
  39. font-size: 24px;
  40. font-weight: 700;
  41. color: #808a97;
  42. text-transform: uppercase;
  43. }
  44. .section .section-title h2{
  45. display: table-cell;
  46. vertical-align: middle;
  47. line-height: 25px;
  48. }
  49. .section-title{
  50. display: table;
  51. }
  52. .section h3 {
  53. font-size: 14px;
  54. line-height: 28px;
  55. margin-bottom: 0;
  56. display: block;
  57. }
  58. .section p{
  59. font-size: 13px;
  60. margin: 25px 0;
  61. }
  62. .section ul li{
  63. margin-bottom: 4px;
  64. }
  65. .landing-container{
  66. max-width: 750px;
  67. margin-left: auto;
  68. margin-right: auto;
  69. padding: 50px 0 30px;
  70. }
  71. .landing-container:after{
  72. display: block;
  73. clear: both;
  74. content: '';
  75. }
  76. .landing-container .col-1,
  77. .landing-container .col-2{
  78. float: left;
  79. box-sizing: border-box;
  80. padding: 0 15px;
  81. }
  82. .landing-container .col-1 img{
  83. width: 100%;
  84. }
  85. .landing-container .col-1{
  86. width: 55%;
  87. }
  88. .landing-container .col-2{
  89. width: 45%;
  90. }
  91. .premium-cta{
  92. background-color: #808a97;
  93. color: #fff;
  94. border-radius: 6px;
  95. padding: 20px 15px;
  96. }
  97. .premium-cta:after{
  98. content: '';
  99. display: block;
  100. clear: both;
  101. }
  102. .premium-cta p{
  103. margin: 7px 0;
  104. font-size: 14px;
  105. font-weight: 500;
  106. display: inline-block;
  107. width: 60%;
  108. }
  109. .premium-cta a.button{
  110. border-radius: 6px;
  111. height: 60px;
  112. float: right;
  113. background: url(<?php echo YWCTM_ASSETS_URL?>/images/upgrade.png) #ff643f no-repeat 13px 13px;
  114. border-color: #ff643f;
  115. box-shadow: none;
  116. outline: none;
  117. color: #fff;
  118. position: relative;
  119. padding: 9px 50px 9px 70px;
  120. }
  121. .premium-cta a.button:hover,
  122. .premium-cta a.button:active,
  123. .premium-cta a.button:focus{
  124. color: #fff;
  125. background: url(<?php echo YWCTM_ASSETS_URL?>/images/upgrade.png) #971d00 no-repeat 13px 13px;
  126. border-color: #971d00;
  127. box-shadow: none;
  128. outline: none;
  129. }
  130. .premium-cta a.button:focus{
  131. top: 1px;
  132. }
  133. .premium-cta a.button span{
  134. line-height: 13px;
  135. }
  136. .premium-cta a.button .highlight{
  137. display: block;
  138. font-size: 20px;
  139. font-weight: 700;
  140. line-height: 20px;
  141. }
  142. .premium-cta .highlight{
  143. text-transform: uppercase;
  144. background: none;
  145. font-weight: 800;
  146. color: #fff;
  147. }
  148. .section.one{
  149. background: url(<?php echo YWCTM_ASSETS_URL?>/images/01-bg.png) no-repeat #fff; background-position: 85% 75%
  150. }
  151. .section.two{
  152. background: url(<?php echo YWCTM_ASSETS_URL?>/images/02-bg.png) no-repeat #fff; background-position: 85% 75%
  153. }
  154. .section.three{
  155. background: url(<?php echo YWCTM_ASSETS_URL?>/images/03-bg.png) no-repeat #fff; background-position: 85% 75%
  156. }
  157. .section.four{
  158. background: url(<?php echo YWCTM_ASSETS_URL?>/images/04-bg.png) no-repeat #fff; background-position: 85% 75%
  159. }
  160. .section.five{
  161. background: url(<?php echo YWCTM_ASSETS_URL?>/images/05-bg.png) no-repeat #fff; background-position: 85% 75%
  162. }
  163. .section.six{
  164. background: url(<?php echo YWCTM_ASSETS_URL?>/images/06-bg.png) no-repeat #fff; background-position: 85% 75%
  165. }
  166. .section.seven{
  167. background: url(<?php echo YWCTM_ASSETS_URL?>/images/07-bg.png) no-repeat #fff; background-position: 85% 75%
  168. }
  169. @media (max-width: 768px) {
  170. .section{margin: 0}
  171. .premium-cta p{
  172. width: 100%;
  173. }
  174. .premium-cta{
  175. text-align: center;
  176. }
  177. .premium-cta a.button{
  178. float: none;
  179. }
  180. }
  181. @media (max-width: 480px){
  182. .wrap{
  183. margin-right: 0;
  184. }
  185. .section{
  186. margin: 0;
  187. }
  188. .landing-container .col-1,
  189. .landing-container .col-2{
  190. width: 100%;
  191. padding: 0 15px;
  192. }
  193. .section-odd .col-1 {
  194. float: left;
  195. margin-right: -100%;
  196. }
  197. .section-odd .col-2 {
  198. float: right;
  199. margin-top: 65%;
  200. }
  201. }
  202. @media (max-width: 320px){
  203. .premium-cta a.button{
  204. padding: 9px 20px 9px 70px;
  205. }
  206. .section .section-title img{
  207. display: none;
  208. }
  209. }
  210. </style>
  211. <div class="landing">
  212. <div class="section section-cta section-odd">
  213. <div class="landing-container">
  214. <div class="premium-cta">
  215. <p>
  216. <?php echo sprintf( __('Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Catalog Mode%2$s to benefit from all features!','yith-woocommerce-catalog-mode'),'<span class="highlight">','</span>' );?>
  217. </p>
  218. <a href="<?php echo $this->get_premium_landing_uri() ?>" target="_blank" class="premium-cta-button button btn">
  219. <span class="highlight"><?php _e('UPGRADE','yith-woocommerce-catalog-mode');?></span>
  220. <span><?php _e('to the premium version','yith-woocommerce-catalog-mode');?></span>
  221. </a>
  222. </div>
  223. </div>
  224. </div>
  225. <div class="one section section-even clear">
  226. <h1><?php _e('Premium Features','yith-woocommerce-catalog-mode');?></h1>
  227. <div class="landing-container">
  228. <div class="col-1">
  229. <img src="<?php echo YWCTM_ASSETS_URL?>/images/01.png" alt="Hide price" />
  230. </div>
  231. <div class="col-2">
  232. <div class="section-title">
  233. <img src="<?php echo YWCTM_ASSETS_URL?>/images/01-icon.png" alt="icon 01"/>
  234. <h2><?php _e('Hide price','yith-woocommerce-catalog-mode');?></h2>
  235. </div>
  236. <p>
  237. <?php echo sprintf(__('Hide the price of products in your shop and replace it with a text. Decide if some of the products have to be excluded and if %1$shiding price%2$s has to be applied to all or restricted only to unlogged users.', 'yith-woocommerce-catalog-mode'), '<b>', '</b>');?>
  238. </p>
  239. </div>
  240. </div>
  241. </div>
  242. <div class="two section section-odd clear">
  243. <div class="landing-container">
  244. <div class="col-2">
  245. <div class="section-title">
  246. <img src="<?php echo YWCTM_ASSETS_URL?>/images/02-icon.png" alt="icon 02" />
  247. <h2><?php _e('Inquiry form','yith-woocommerce-catalog-mode');?></h2>
  248. </div>
  249. <p>
  250. <?php echo sprintf(__('Improve single product page by adding a tab with an %1$sinquiry form%2$s explicitly thought to let them send messages to site administrator.', 'yith-woocommerce-catalog-mode'), '<b>', '</b>');?>
  251. </p>
  252. </div>
  253. <div class="col-1">
  254. <img src="<?php echo YWCTM_ASSETS_URL?>/images/02.png" alt="Inquiry form" />
  255. </div>
  256. </div>
  257. </div>
  258. <div class="three section section-even clear">
  259. <div class="landing-container">
  260. <div class="col-1">
  261. <img src="<?php echo YWCTM_ASSETS_URL?>/images/03.png" alt="Custom button" />
  262. </div>
  263. <div class="col-2">
  264. <div class="section-title">
  265. <img src="<?php echo YWCTM_ASSETS_URL?>/images/03-icon.png" alt="icon 03" />
  266. <h2><?php _e( 'Custom button','yith-woocommerce-catalog-mode');?></h2>
  267. </div>
  268. <p>
  269. <?php echo sprintf(__('Add a button in single product page to call users to a specific %1$saction%2$s, depending on the specified %1$slink%2$s (email sending, skype call, telephone call).', 'yith-woocommerce-catalog-mode'), '<b>', '</b>');?>
  270. </p>
  271. </div>
  272. </div>
  273. </div>
  274. <div class="four section section-odd clear">
  275. <div class="landing-container">
  276. <div class="col-2">
  277. <div class="section-title">
  278. <img src="<?php echo YWCTM_ASSETS_URL?>/images/04-icon.png" alt="icon 04" />
  279. <h2><?php _e('Product reviews','yith-woocommerce-catalog-mode');?></h2>
  280. </div>
  281. <p>
  282. <?php echo sprintf(__('You can disable product %1$sreviewing system%2$s of your shop and decide if applying it to all users or just to unlogged ones.', 'yith-woocommerce-catalog-mode'), '<b>', '</b>');?>
  283. </p>
  284. </div>
  285. <div class="col-1">
  286. <img src="<?php echo YWCTM_ASSETS_URL?>/images/04.png" alt="Product reviews" />
  287. </div>
  288. </div>
  289. </div>
  290. <div class="five section section-even clear">
  291. <div class="landing-container">
  292. <div class="col-1">
  293. <img src="<?php echo YWCTM_ASSETS_URL?>/images/05.png" alt="Exclusion list" />
  294. </div>
  295. <div class="col-2">
  296. <div class="section-title">
  297. <img src="<?php echo YWCTM_ASSETS_URL?>/images/05-icon.png" alt="icon 05" />
  298. <h2><?php _e('Exclusion list','yith-woocommerce-catalog-mode');?></h2>
  299. </div>
  300. <p>
  301. <?php echo sprintf( __('Set plugin options, but if you want that options concerning price visibility and ‘Add to cart’ do not apply to specific products, add them to %1$sexclusion list%2$s and, voilà, problem solved.','yith-woocommerce-catalog-mode'),'<b>','</b>'); ?>
  302. </p>
  303. </div>
  304. </div>
  305. </div>
  306. <div class="six section section-odd clear">
  307. <div class="landing-container">
  308. <div class="col-2">
  309. <div class="section-title">
  310. <img src="<?php echo YWCTM_ASSETS_URL?>/images/06-icon.png" alt="icon 06" />
  311. <h2><?php _e('REVERSE EXCLUSION LIST','yith-woocommerce-catalog-mode');?></h2>
  312. </div>
  313. <p>
  314. <?php echo sprintf( __( 'Apply Catalog Mode to some items only: add them to the "Exclusion List" and %1$smake it work in the opposite way as usual%2$s. All items in the shop show price and “Add to Cart” button, while items in the list don’t.','yith-woocommerce-catalog-mode' ),'<b>','</b>' ) ?>
  315. </p>
  316. </div>
  317. <div class="col-1">
  318. <img src="<?php echo YWCTM_ASSETS_URL?>/images/06.png" alt="REVERSE EXCLUSION LIST" />
  319. </div>
  320. </div>
  321. </div>
  322. <div class="seven section section-even clear">
  323. <div class="landing-container">
  324. <div class="col-1">
  325. <img src="<?php echo YWCTM_ASSETS_URL?>/images/07.png" alt="Source page of the request" />
  326. </div>
  327. <div class="col-2">
  328. <div class="section-title">
  329. <img src="<?php echo YWCTM_ASSETS_URL?>/images/07-icon.png" alt="icon 05" />
  330. <h2><?php _e('Source page of the request','yith-woocommerce-catalog-mode');?></h2>
  331. </div>
  332. <p>
  333. <?php echo sprintf( __('Thanks to the %1$s"Product Permalink"%2$s option you will be able to know from which page your users have generated the request.%3$sThe email generated from the request form will include the address of the page: another important information that can be really useful for you.','yith-woocommerce-catalog-mode'),'<b>','</b>','<br>'); ?>
  334. </p>
  335. </div>
  336. </div>
  337. </div>
  338. <div class="section section-cta section-odd">
  339. <div class="landing-container">
  340. <div class="premium-cta">
  341. <p>
  342. <?php echo sprintf( __('Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Catalog Mode%2$s to benefit from all features!','yith-woocommerce-catalog-mode'),'<span class="highlight">','</span>' );?>
  343. </p>
  344. <a href="<?php echo $this->get_premium_landing_uri() ?>" target="_blank" class="premium-cta-button button btn">
  345. <span class="highlight"><?php _e('UPGRADE','yith-woocommerce-catalog-mode');?></span>
  346. <span><?php _e('to the premium version','yith-woocommerce-catalog-mode');?></span>
  347. </a>
  348. </div>
  349. </div>
  350. </div>
  351. </div>