Plugin Directory

Changeset 2387102


Ignore:
Timestamp:
09/23/2020 01:00:08 PM (6 years ago)
Author:
themewinter
Message:

Adding version 1.1.3

Location:
wp-cafe
Files:
6 added
23 edited
25 copied

Legend:

Unmodified
Added
Removed
  • wp-cafe/tags/1.1.3/assets/css/wpc-admin.css

    r2368463 r2387102  
    2626.reservation_form_submit.wpc-btn,
    2727.cancell_form_submit.wpc-btn,
     28body.woocomerce-layout-override-enable.woocommerce button.button.alt,
     29body.woocomerce-layout-override-enable.woocommerce #respond input#submit,
     30body.woocomerce-layout-override-enable .woocommerce button.button.alt,
     31body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button,
    2832.wpc-settings-dashboard .button-primary {
    2933  font-size: 16px;
    … …  
    5357.cancell_form_submit.wpc-btn:hover,
    5458.cancell_form_submit.wpc-btn:focus,
     59body.woocomerce-layout-override-enable.woocommerce button.button.alt:hover,
     60body.woocomerce-layout-override-enable.woocommerce button.button.alt:focus,
     61body.woocomerce-layout-override-enable.woocommerce #respond input#submit:hover,
     62body.woocomerce-layout-override-enable.woocommerce #respond input#submit:focus,
     63body.woocomerce-layout-override-enable .woocommerce button.button.alt:hover,
     64body.woocomerce-layout-override-enable .woocommerce button.button.alt:focus,
     65body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button:hover,
     66body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button:focus,
    5567.wpc-settings-dashboard .button-primary:hover,
    5668.wpc-settings-dashboard .button-primary:focus {
    … …  
    6476.reservation_form_submit.wpc-btn.wpc-edit-btn,
    6577.cancell_form_submit.wpc-btn.wpc-edit-btn,
     78body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-edit-btn,
     79body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-edit-btn,
     80body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-edit-btn,
     81body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-edit-btn,
    6682.wpc-settings-dashboard .button-primary.wpc-edit-btn {
    6783  color: #5d78ff;
    … …  
    7490.reservation_form_submit.wpc-btn.wpc-edit-btn:hover,
    7591.cancell_form_submit.wpc-btn.wpc-edit-btn:hover,
     92body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-edit-btn:hover,
     93body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-edit-btn:hover,
     94body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-edit-btn:hover,
     95body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-edit-btn:hover,
    7696.wpc-settings-dashboard .button-primary.wpc-edit-btn:hover {
    7797  color: #09C4B7;
    … …  
    81101.reservation_form_submit.wpc-btn.wpc-delete-btn,
    82102.cancell_form_submit.wpc-btn.wpc-delete-btn,
     103body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-delete-btn,
     104body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-delete-btn,
     105body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-delete-btn,
     106body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-delete-btn,
    83107.wpc-settings-dashboard .button-primary.wpc-delete-btn {
    84108  color: #09C4B7;
    … …  
    91115.reservation_form_submit.wpc-btn.wpc-btn-border,
    92116.cancell_form_submit.wpc-btn.wpc-btn-border,
     117body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-btn-border,
     118body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-btn-border,
     119body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-btn-border,
     120body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-btn-border,
    93121.wpc-settings-dashboard .button-primary.wpc-btn-border {
    94122  border: 1px solid #5D78FF;
    … …  
    102130.reservation_form_submit.wpc-btn.wpc-btn-border:hover,
    103131.cancell_form_submit.wpc-btn.wpc-btn-border:hover,
     132body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-btn-border:hover,
     133body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-btn-border:hover,
     134body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-btn-border:hover,
     135body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-btn-border:hover,
    104136.wpc-settings-dashboard .button-primary.wpc-btn-border:hover {
    105137  border-color: #09C4B7;
    … …  
    342374
    343375#toplevel_page_cafe_menu .toplevel_page_cafe_menu .dashicons-admin-generic:before {
    344   content: "";
     376  content: "";
    345377  font-family: "wpcafe" !important;
    346378}
    … …  
    435467  margin-right: 5px;
    436468}
    437 .wpc-settings .wpc-tab li a[data-id=hooks] i:before {
    438   content: "";
     469.wpc-settings .wpc-tab li a[data-id=hooks] i.wpcafe-icon5:before {
     470  content: "";
    439471  font-size: 12px;
    440472}
    … …  
    507539  margin-right: 10px;
    508540}
    509 .wpc-settings .wpc-label-item .wpc-meta .exception_time_clear {
     541.wpc-settings .wpc-label-item .wpc-meta .exception_time_clear,
     542.wpc-settings .wpc-label-item .wpc-meta .wpc_all_day_clear,
     543.wpc-settings .wpc-label-item .wpc-meta .wpc_weekly_clear,
     544.wpc-settings .wpc-label-item .wpc-meta .wpc_pickup_weekly_clear,
     545.wpc-settings .wpc-label-item .wpc-meta .wpc_delivery_weekly_clear {
    510546  display: flex;
    511547  align-self: center;
    … …  
    701737}
    702738
     739.doc-link {
     740  font-weight: 700;
     741  color: #5D78FF;
     742}
     743
    703744/*------------------------
    704745responsive
  • wp-cafe/tags/1.1.3/assets/css/wpc-icon.css

    r2371829 r2387102  
    2727}
    2828
    29 .wpcafe-customize:before {
     29.wpcafe-icon-arrow-right:before {
    3030  content: "\e900";
    3131}
    32 .wpcafe-details_icon:before {
     32.wpcafe-customize:before {
    3333  content: "\e901";
    3434}
    35 .wpcafe-general_icon:before {
     35.wpcafe-details_icon:before {
    3636  content: "\e902";
    3737}
    38 .wpcafe-minus:before {
     38.wpcafe-general_icon:before {
    3939  content: "\e903";
    4040}
    41 .wpcafe-plus:before {
     41.wpcafe-minus:before {
    4242  content: "\e904";
    4343}
    44 .wpcafe-shortcode_icon:before {
     44.wpcafe-plus:before {
    4545  content: "\e905";
    4646}
    47 .wpcafe-user_icon:before {
     47.wpcafe-shortcode_icon:before {
    4848  content: "\e906";
    4949}
    50 .wpcafe-logo_icon:before {
     50.wpcafe-user_icon:before {
    5151  content: "\e907";
    5252}
    53 .wpcafe-icon1:before {
     53.wpcafe-logo_icon:before {
    5454  content: "\e908";
    5555}
    56 .wpcafe-icon2:before {
     56.wpcafe-icon1:before {
    5757  content: "\e909";
    5858}
    59 .wpcafe-icon3:before {
     59.wpcafe-icon2:before {
    6060  content: "\e90a";
    6161}
    62 .wpcafe-icon4:before {
     62.wpcafe-icon3:before {
    6363  content: "\e90b";
    6464}
    65 .wpcafe-shortcode_icon1:before {
     65.wpcafe-icon4:before {
    6666  content: "\e90c";
    6767}
    68 .wpcafe-cart_icon:before {
     68.wpcafe-shortcode_icon1:before {
    6969  content: "\e90d";
    7070}
    71 .wpcafe-next:before {
     71.wpcafe-cart_icon:before {
    7272  content: "\e90e";
    7373}
    74 .wpcafe-previous:before {
     74.wpcafe-next:before {
    7575  content: "\e90f";
    7676}
    77 .wpcafe-icon6:before {
     77.wpcafe-previous:before {
    7878  content: "\e910";
    7979}
    80 .wpcafe-icon5:before {
     80.wpcafe-icon6:before {
    8181  content: "\e911";
    8282}
     83.wpcafe-icon5:before {
     84  content: "\e912";
     85}
  • wp-cafe/tags/1.1.3/assets/css/wpc-public.css

    r2378658 r2387102  
    2525.reservation_form_submit.wpc-btn,
    2626.cancell_form_submit.wpc-btn,
     27body.woocomerce-layout-override-enable.woocommerce button.button.alt,
     28body.woocomerce-layout-override-enable.woocommerce #respond input#submit,
     29body.woocomerce-layout-override-enable .woocommerce button.button.alt,
     30body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button,
    2731.wpc-settings-dashboard .button-primary {
    2832  font-size: 16px;
    … …  
    5256.cancell_form_submit.wpc-btn:hover,
    5357.cancell_form_submit.wpc-btn:focus,
     58body.woocomerce-layout-override-enable.woocommerce button.button.alt:hover,
     59body.woocomerce-layout-override-enable.woocommerce button.button.alt:focus,
     60body.woocomerce-layout-override-enable.woocommerce #respond input#submit:hover,
     61body.woocomerce-layout-override-enable.woocommerce #respond input#submit:focus,
     62body.woocomerce-layout-override-enable .woocommerce button.button.alt:hover,
     63body.woocomerce-layout-override-enable .woocommerce button.button.alt:focus,
     64body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button:hover,
     65body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button:focus,
    5466.wpc-settings-dashboard .button-primary:hover,
    5567.wpc-settings-dashboard .button-primary:focus {
    … …  
    6375.reservation_form_submit.wpc-btn.wpc-edit-btn,
    6476.cancell_form_submit.wpc-btn.wpc-edit-btn,
     77body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-edit-btn,
     78body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-edit-btn,
     79body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-edit-btn,
     80body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-edit-btn,
    6581.wpc-settings-dashboard .button-primary.wpc-edit-btn {
    6682  color: #5d78ff;
    … …  
    7389.reservation_form_submit.wpc-btn.wpc-edit-btn:hover,
    7490.cancell_form_submit.wpc-btn.wpc-edit-btn:hover,
     91body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-edit-btn:hover,
     92body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-edit-btn:hover,
     93body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-edit-btn:hover,
     94body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-edit-btn:hover,
    7595.wpc-settings-dashboard .button-primary.wpc-edit-btn:hover {
    7696  color: #09C4B7;
    … …  
    80100.reservation_form_submit.wpc-btn.wpc-delete-btn,
    81101.cancell_form_submit.wpc-btn.wpc-delete-btn,
     102body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-delete-btn,
     103body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-delete-btn,
     104body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-delete-btn,
     105body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-delete-btn,
    82106.wpc-settings-dashboard .button-primary.wpc-delete-btn {
    83107  color: #09C4B7;
    … …  
    90114.reservation_form_submit.wpc-btn.wpc-btn-border,
    91115.cancell_form_submit.wpc-btn.wpc-btn-border,
     116body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-btn-border,
     117body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-btn-border,
     118body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-btn-border,
     119body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-btn-border,
    92120.wpc-settings-dashboard .button-primary.wpc-btn-border {
    93121  border: 1px solid #5D78FF;
    … …  
    101129.reservation_form_submit.wpc-btn.wpc-btn-border:hover,
    102130.cancell_form_submit.wpc-btn.wpc-btn-border:hover,
     131body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-btn-border:hover,
     132body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-btn-border:hover,
     133body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-btn-border:hover,
     134body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-btn-border:hover,
    103135.wpc-settings-dashboard .button-primary.wpc-btn-border:hover {
    104136  border-color: #09C4B7;
    … …  
    51165148  border-bottom-left-radius: 10px;
    51175149}
    5118 
    51195150.wpc_cart_block div#wpc-mini-cart-count .basket-item-count {
    51205151  vertical-align: top;
    … …  
    51485179  line-height: 24px;
    51495180}
    5150 
     5181.wpc_cart_block .wpc_background_color a.button.wc-forward.checkout {
     5182  opacity: 0.5;
     5183}
    51515184.wpc_cart_block .wpc_background_color dl.variation {
    51525185  padding-left: 0 !important;
    … …  
    51785211  position: relative;
    51795212  list-style-type: none;
     5213  margin: 0;
    51805214}
    51815215.wpc_cart_block .woocommerce-mini-cart li {
    … …  
    51855219  padding-top: 15px !important;
    51865220  padding-right: 20px !important;
    5187   margin-top: 10px;
     5221  margin: 10px 0 20px !important;
    51885222  padding: 15px;
    5189   margin-bottom: 20px !important;
    51905223  background-color: #F9F9F9;
    51915224  border-radius: 4px;
  • wp-cafe/tags/1.1.3/assets/fonts/wpcafe.svg

    r2371829 r2387102  
    88<missing-glyph horiz-adv-x="1024" />
    99<glyph unicode="&#x20;" horiz-adv-x="512" d="" />
    10 <glyph unicode="&#xe900;" glyph-name="customize" horiz-adv-x="1069" d="M244.248 564.922c0 0.122-0.001 0.267-0.001 0.412 0 83.092 67.36 150.452 150.452 150.452 65.496 0 121.218-41.852 141.88-100.271l0.325-1.053 183.281 183.281-87.597 87.975c-4.781 4.691-11.337 7.587-18.571 7.587s-13.79-2.896-18.575-7.591l-42.744-42.744c-20.687 11.845-44.62 21.844-69.829 28.759l-2.19 0.512v60.806c0 14.886-12.067 26.953-26.953 26.953v0h-117.192c-0.295 0.012-0.641 0.019-0.989 0.019-14.35 0-25.983-11.633-25.983-25.983 0-0.348 0.007-0.694 0.020-1.039l-0.002 0.050v-60.86c-27.398-7.427-51.331-17.426-73.557-30.077l1.539 0.806-42.748 42.748c-4.781 4.691-11.337 7.587-18.571 7.587s-13.79-2.896-18.575-7.591l0.004 0.004-82.207-81.991c-4.691-4.781-7.587-11.337-7.587-18.571s2.896-13.79 7.591-18.575l42.744-42.744c-11.845-20.687-21.844-44.62-28.759-69.829l-0.512-2.19h-61.992c-14.886 0-26.953-12.067-26.953-26.953v0-115.952c-0.012-0.295-0.019-0.641-0.019-0.989 0-14.35 11.633-25.983 25.983-25.983 0.348 0 0.694 0.007 1.039 0.020l-0.050-0.002h60.86c7.427-27.398 17.426-51.331 30.077-73.557l-0.806 1.539-42.748-42.748c-4.946-4.661-8.026-11.256-8.026-18.571s3.080-13.909 8.013-18.559l0.013-0.012 87.813-87.813 183.281 183.281c-59.146 19.044-101.19 73.588-101.19 137.952 0 0.528 0.003 1.056 0.008 1.583l-0.001-0.080zM340.74 265.097l401.147 401.147 172.71-172.71-401.147-401.147-172.71 172.71zM1058.015 687.613l-120.426 121.558c-6.557 6.783-15.738 10.994-25.902 10.994s-19.345-4.211-25.892-10.984l-78.767-78.767 173.362-173.362 78.811 78.811c6.17 6.598 9.959 15.491 9.959 25.268 0 10.374-4.266 19.752-11.139 26.475l-0.007 0.007zM232.012 155.236c-4.522-4.992-8.004-11.017-10.046-17.672l-0.088-0.333-36.009-156.328c-0.477-2.235-0.751-4.803-0.751-7.435 0-20.542 16.653-37.195 37.195-37.195 2.632 0 5.2 0.273 7.677 0.793l-0.242-0.043 156.328 36.009c7.198 1.399 13.386 5.019 17.979 10.106l0.025 0.028 45.012 45.012-172.23 172.068z" />
    11 <glyph unicode="&#xe901;" glyph-name="details_icon" horiz-adv-x="1317" d="M0 228.549h585.177v146.274h-585.177zM0-64h585.177v146.274h-585.177zM0 521.177h585.177v146.274h-585.177zM0 960v-146.274h585.177v146.274zM731.451 960h585.177v-1024h-585.177z" />
    12 <glyph unicode="&#xe902;" glyph-name="general_icon" horiz-adv-x="996" d="M878.811 397.875c2.052 14.783 3.224 31.863 3.224 49.218 0 0.329 0 0.658-0.001 0.987v-0.051c0.005 0.648 0.008 1.413 0.008 2.18 0 16.936-1.366 33.554-3.995 49.747l0.237-1.773 108.277 84.254c5.81 4.838 9.481 12.074 9.481 20.168 0 4.522-1.146 8.776-3.163 12.488l0.068-0.138-102.418 177.063c-4.565 7.961-13.014 13.237-22.695 13.237-3.144 0-6.159-0.557-8.95-1.577l0.181 0.058-127.495-51.209c-24.949 19.48-53.421 36.308-83.951 49.225l-2.472 0.929-19.218 135.463c-1.971 12.45-12.627 21.855-25.48 21.855-0.044 0-0.088 0-0.132 0h-205.063c-0.016 0-0.035 0-0.054 0-12.748 0-23.29-9.447-25.008-21.722l-0.015-0.133-19.218-135.463c-32.996-13.954-61.458-30.773-87.301-50.809l0.878 0.655-127.495 51.209c-2.683 1.049-5.79 1.656-9.038 1.656-9.638 0-18.027-5.35-22.359-13.242l-0.067-0.132-101.89-177.063c-2.309-3.646-3.68-8.086-3.68-12.845 0-8.067 3.938-15.215 9.997-19.625l0.070-0.048 108.277-84.254c-2.793-14.924-4.529-32.238-4.801-49.907l-0.003-0.247c-0.003-0.547-0.005-1.195-0.005-1.842 0-17.054 1.366-33.79 3.993-50.103l-0.238 1.791-108.277-84.254c-5.81-4.838-9.481-12.074-9.481-20.168 0-4.522 1.146-8.776 3.163-12.488l-0.068 0.138 102.418-177.063c4.565-7.961 13.014-13.237 22.695-13.237 3.144 0 6.159 0.557 8.95 1.577l-0.181-0.058 127.495 51.209c24.949-19.48 53.421-36.308 83.951-49.225l2.472-0.929 19.804-135.522c2.139-12.405 12.765-21.741 25.592-21.854h205.082c0.108-0.002 0.235-0.003 0.363-0.003 12.68 0 23.146 9.477 24.702 21.734l0.013 0.123 19.218 135.463c33.011 13.698 61.498 30.538 87.209 50.751l-0.787-0.596 127.495-51.209c2.683-1.049 5.79-1.656 9.038-1.656 9.638 0 18.027 5.35 22.359 13.242l0.067 0.132 102.418 177.063c2.225 3.633 3.543 8.032 3.543 12.738 0 8.070-3.875 15.235-9.866 19.735l-0.064 0.046zM497.967 256.026c-105.983 0.233-191.847 86.035-192.179 191.972v0.032c0.332 105.907 86.097 191.672 191.972 192.004h0.032c105.907-0.332 191.672-86.097 192.004-191.972v-0.032c-0.331-105.825-85.963-191.539-191.725-192.004h-0.045z" />
    13 <glyph unicode="&#xe903;" glyph-name="minus" horiz-adv-x="8320" d="M512 960h7296c282.77 0 512-229.23 512-512s-229.23-512-512-512h-7296c-282.77 0-512 229.23-512 512s229.23 512 512 512z" />
    14 <glyph unicode="&#xe904;" glyph-name="plus" d="M960.276 511.724h-384.551v384.551c0 35.216-28.548 63.764-63.764 63.764s-63.764-28.548-63.764-63.764v0-384.473h-384.473c-35.216 0-63.764-28.548-63.764-63.764s28.548-63.764 63.764-63.764h384.473v-384.473c0-35.216 28.548-63.764 63.764-63.764s63.764 28.548 63.764 63.764v384.473h384.473c35.216 0 63.764 28.548 63.764 63.764s-28.548 63.764-63.764 63.764v0z" />
    15 <glyph unicode="&#xe905;" glyph-name="shortcode_icon" horiz-adv-x="1127" d="M1059.469 960h-991.709c-37.345-0.192-67.568-30.415-67.76-67.741v-888.442c0.192-37.345 30.415-67.568 67.741-67.76h991.727c37.321 0.224 67.511 30.434 67.703 67.741v888.442c-0.192 37.325-30.382 67.536-67.682 67.76h-0.021zM855.168 846.5c0 13.822 11.205 25.027 25.027 25.027h25.027c13.822 0 25.027-11.205 25.027-25.027v0-28.375c0-13.822-11.205-25.027-25.027-25.027v0h-25.027c-13.822 0-25.027 11.205-25.027 25.027v0zM738.887 846.5c0 13.822 11.205 25.027 25.027 25.027h24.913c13.822 0 25.027-11.205 25.027-25.027v0-28.375c0-13.822-11.205-25.027-25.027-25.027v0h-25.027c-13.822 0-25.027 11.205-25.027 25.027v0zM1045.906 17.266h-964.753v700.467h964.753v-700.467zM1046.587 817.898c0.001-0.067 0.001-0.147 0.001-0.227 0-13.822-11.205-25.027-25.027-25.027-0.020 0-0.041 0-0.061 0h-24.967c-13.822 0-25.027 11.205-25.027 25.027v0 28.375c0 13.822 11.205 25.027 25.027 25.027v0h24.97c13.822 0 25.027-11.205 25.027-25.027v0zM241.926 341.139l181.317-84.331c4.358-2.077 9.472-3.29 14.869-3.29 19.463 0 35.241 15.778 35.242 35.24v0 0.908c-0.030 14.058-8.26 26.186-20.16 31.859l-0.214 0.092-113.5 52.664 113.5 52.721c12.113 5.764 20.343 17.893 20.373 31.946v0.912c-0.051 19.456-15.835 35.208-35.298 35.208-5.374 0-10.468-1.201-15.027-3.349l0.215 0.091-181.317-84.331c-12.113-5.764-20.343-17.893-20.373-31.946v-2.501c0.068-14.031 8.286-26.127 20.16-31.802l0.214-0.092zM474.942 169.357c6.477-8.776 16.762-14.419 28.367-14.471h0.916c0.021 0 0.046 0 0.070 0 15.589 0 28.807 10.155 33.399 24.211l0.070 0.248 119.175 370.068c1.060 3.205 1.672 6.894 1.672 10.726 0 19.453-15.761 35.224-35.209 35.242h-0.91c-0.021 0-0.046 0-0.070 0-15.589 0-28.807-10.155-33.399-24.211l-0.070-0.248-119.175-370.125c-1.029-3.167-1.622-6.811-1.622-10.594 0-7.837 2.546-15.079 6.855-20.945l-0.069 0.099zM653.819 458.953c0.045-14.053 8.269-26.175 20.16-31.858l0.213-0.092 113.5-52.664-113.5-52.664c-12.113-5.764-20.343-17.893-20.373-31.946v-0.912c0.001-19.463 15.779-35.24 35.242-35.24 5.397 0 10.51 1.213 15.082 3.381l-0.214-0.091 181.317 84.331c12.104 5.775 20.328 17.897 20.373 31.944v2.503c-0.030 14.058-8.26 26.186-20.16 31.859l-0.214 0.092-181.317 84.331c-4.358 2.077-9.472 3.29-14.869 3.29-19.463 0-35.241-15.778-35.242-35.24v0-0.908z" />
    16 <glyph unicode="&#xe906;" glyph-name="user_icon" horiz-adv-x="922" d="M819.223 857.583h-51.437v102.417h-102.189v-102.417h-409.611v102.417h-102.36v-102.417h-51.437c-56.458-0.098-102.189-45.888-102.189-102.36 0 0 0 0 0 0v0-716.806c0-0.017 0-0.037 0-0.057 0-56.532 45.828-102.36 102.36-102.36 0.020 0 0.040 0 0.060 0h716.803c56.459 0.258 102.159 45.958 102.417 102.392v716.831c-0.291 56.435-45.978 102.102-102.392 102.36h-0.025zM460.82 704.014c84.845 0 153.626-68.781 153.626-153.626s-68.781-153.626-153.626-153.626c-84.845 0-153.626 68.781-153.626 153.626v0c0 0.068 0 0.148 0 0.229 0 84.719 68.678 153.397 153.397 153.397 0.080 0 0.161 0 0.241 0h-0.012zM768.014 89.626h-614.389v51.437c0 102.417 204.777 158.712 307.194 158.712s307.194-56.295 307.194-158.712z" />
    17 <glyph unicode="&#xe907;" glyph-name="logo_icon" horiz-adv-x="1091" d="M1058.813 688.323c-82.24 139.523-245.821 116.424-245.821 116.424-46.983 92.578-141.378 154.97-250.371 155.222h-0.034c-182.036 0.929-240.249-89.64-290.132-158.788-13.022 2.629-27.99 4.134-43.31 4.134-126.448 0-228.954-102.506-228.954-228.954 0-5.767 0.213-11.483 0.632-17.143l-0.045 0.756c7.328-91.020 64.081-167.211 143.134-202.248l1.542-0.61s-0.33-139.104-1.318-173.528c-0.055-1.916-0.087-4.171-0.087-6.434 0-103.288 65.49-191.28 157.212-224.716l1.662-0.53c25.302-10.049 54.618-15.876 85.295-15.876 60.173 0 115.111 22.418 156.915 59.358l-0.254-0.22s73.282-85.745 222.063-50.632 177.423 200.522 177.423 200.522 0 109.054-1.858 208.851c86.994 35.794 147.125 119.893 147.125 218.036 0 42.804-11.438 82.937-31.425 117.509l0.604-1.133zM866.471 415.868s2.996-164.090-0.719-245.432-42.483-115.735-116.484-149.44-156.061 31.488-156.061 31.488l28.582 58.632c4.715-0.888 10.139-1.395 15.682-1.395 20.37 0 39.139 6.856 54.124 18.387l-0.209-0.154s71.065 106.238 96.711 144.317c13.901 38.948-27.833 24.178-27.833 24.178s-30.769-47.606-49.823-81.311c-23.459-11.744-19.774 16.867-19.774 16.867 11.339 13.927 22.439 29.461 32.552 45.674l1.123 1.932c5.992 12.433 27.114 30.769 17.586 46.138s-26.365 1.468-26.365 1.468l-53.478-81.311-19.774-1.468-1.468 19.804c19.363 23.815 37.995 50.367 54.712 78.201l1.732 3.111c4.404 28.552-27.833 17.586-27.833 17.586s-90.838-132.573-101.864-151.627 2.187-62.916 2.187-62.916l-29.96-45.419-41.015 41.015s-2.187-2.187-1.468 11.714c14.65 73.252-37.36 138.445-113.548 161.784s-114.297-53.448-61.538-140.662 124.513-73.252 124.513-73.252l46.168-52.010c-19.774-31.488-103.302-53.478-177.273-21.242s-92.306 131.135-92.306 131.135-0.719 150.908-2.996 252.023c-143.598 31.488-179.49 164.090-109.893 255.648s183.864 47.606 207.323 38.109c25.746 102.020 116.704 176.329 225.018 176.329 15.497 0 30.64-1.521 45.285-4.423l-1.473 0.243c130.416-19.055 173.768-141.411 189.017-172.15 75.469 54.917 241.747 2.996 236.683-136.258s-145.965-155.312-145.965-155.312zM390.797 446.217c-35.199 3.425-63.004 31.025-66.723 65.826l-0.028 0.325c-0.053 1.044-0.082 2.266-0.082 3.495 0 34.56 23.653 63.596 55.654 71.802l0.514 0.112c4.294 1.014 9.224 1.595 14.289 1.595 22.266 0 41.91-11.23 53.576-28.335l0.144-0.224c16.298-26.574 8.239-60.819 13.392-91.557l43.682 92.876c3.393 8.307 7.919 15.448 13.482 21.639l-0.060-0.067c4.592 5.027 11.175 8.169 18.493 8.169 1.65 0 3.263-0.16 4.824-0.465l-0.158 0.026c7.771-2.652 13.714-8.812 16.013-16.541l0.045-0.177c1.743-5.978 2.746-12.846 2.746-19.947 0-1.414-0.040-2.819-0.118-4.214l0.009 0.193v-92.606l57.433 98.868c4.7 9.567 11.213 17.574 19.151 23.859l0.143 0.109c7.455 4.335 16.406 6.893 25.955 6.893 3.419 0 6.761-0.328 9.997-0.954l-0.329 0.053c7.881-0.5 14.997-3.411 20.715-7.995l-0.072 0.056c3.499-2.986 5.703-7.4 5.703-12.329 0-2.936-0.782-5.689-2.149-8.063l0.042 0.078c-4.764-6.681-14.411-6.801-22.44-8.598-17.622-4.319-30.97-18.664-33.762-36.509l-0.032-0.252c6.342 0.344 13.766 0.54 21.236 0.54 14.404 0 28.637-0.729 42.665-2.153l-1.764 0.145c2.129-0.208 4.602-0.327 7.102-0.327 19.368 0 37.073 7.123 50.636 18.893l-0.096-0.081c8.364 8.706 13.515 20.554 13.515 33.604 0 1.809-0.099 3.594-0.292 5.351l0.019-0.217c-1.818 14.63-9.894 27.071-21.422 34.731l-0.179 0.112c-12.834 6.723-28.037 10.668-44.161 10.668-3.175 0-6.315-0.153-9.412-0.452l0.394 0.031h-375.577v36.911l368.237 0.689c3.699 0.283 8.011 0.444 12.361 0.444 21.208 0 41.52-3.832 60.283-10.84l-1.19 0.39c26.92-12.646 46.097-37.855 50.075-67.863l0.048-0.446c0.311-2.77 0.488-5.981 0.488-9.233 0-27.84-13-52.644-33.261-68.672l-0.183-0.14c-19.067-13.486-42.674-21.743-68.182-22.258l-0.126-0.002c-24.268-1.438-48.595 1.258-72.892 1.917-1.368 0.152-2.954 0.239-4.56 0.239-6.407 0-12.492-1.379-17.975-3.855l0.275 0.111c-8.372-6.164-14.657-14.726-17.878-24.667l-0.098-0.35c-10.261-22.248-21.495-41.312-34.374-59.107l0.699 1.014c-4.117-6.46-9.397-11.807-15.591-15.876l-0.198-0.122c-2.989-1.906-6.632-3.038-10.54-3.038-4.025 0-7.77 1.201-10.895 3.264l0.074-0.046c-5.008 5.342-8.084 12.547-8.084 20.471 0 1.232 0.074 2.447 0.219 3.641l-0.014-0.144q-1.079 50.932 0.539 101.864l-46.737-99.916c-5.992-12.583-19.714-35.952-36.971-26.305-3.781 2.254-6.698 5.616-8.341 9.634l-0.048 0.133c-1.915 5.207-3.022 11.22-3.022 17.492 0 0.581 0.010 1.16 0.028 1.737l-0.002-0.084-2.187 93.205c0.019 0.732 0.029 1.593 0.029 2.458 0 9.549-1.301 18.793-3.736 27.566l0.171-0.723c-2.753 9.784-9.421 17.656-18.162 21.96l-0.204 0.091c-2.597 0.83-5.585 1.308-8.685 1.308-15.36 0-27.977-11.748-29.356-26.749l-0.009-0.116c0.199-18.602 14.579-33.784 32.83-35.255l0.126-0.008z" />
    18 <glyph unicode="&#xe908;" glyph-name="icon1" horiz-adv-x="922" d="M716.8 396.8h-256v-256h256zM665.6 960v-102.4h-409.6v102.4h-102.4v-102.4h-51.2c-56.279-0.032-101.889-45.662-101.889-101.945 0-0.16 0-0.32 0.001-0.48v0.025l-0.512-716.8c0-56.554 45.846-102.4 102.4-102.4v0h716.8c56.489 0.161 102.239 45.911 102.4 102.385v716.815c-0.161 56.489-45.911 102.239-102.385 102.4h-51.215v102.4zM819.2 38.4h-716.8v563.2h716.8z" />
    19 <glyph unicode="&#xe909;" glyph-name="icon2" d="M471.337 527.754c-96.346 45.227-212.636 28.304-290.847-49.907-99.806-99.806-99.806-261.623 0-361.428s261.623-99.806 361.428 0c78.211 78.211 95.133 194.501 50.767 289.191l-0.861 1.656 131.020 131.020 120.488-120.488 120.488 120.488-120.523 120.523 60.226 60.226-120.453 120.453zM421.642 237.083c-33.262-33.262-87.191-33.262-120.453 0s-33.262 87.191 0 120.453c33.262 33.262 87.191 33.262 120.453 0v0c33.077-33.314 33.077-87.069 0.011-120.372l-0.011-0.011z" />
    20 <glyph unicode="&#xe90a;" glyph-name="icon3" horiz-adv-x="1047" d="M291.441 877.047l-75.1 75.1c-126.085-96.221-208.693-243.873-216.298-411.075l-0.043-1.19h105c8.014 139.322 79.194 260.509 185.098 336.252l1.343 0.913zM942.094 539.65h105c-8.151 168.249-90.615 315.709-215.035 411.243l-1.306 0.963-74.576-74.809c106.763-76.996 177.634-198.030 185.859-335.935l0.059-1.229zM838.664 513.414c0 161.194-86.094 296.153-236.294 331.871v35.95c0 43.501-35.264 78.765-78.765 78.765s-78.765-35.264-78.765-78.765v0-35.718c-150.723-35.718-236.294-170.153-236.294-331.871v-262.588l-105.117-105v-52.355h840.235v52.355l-105 105zM523.547-63.825c0.427-0.007 0.93-0.011 1.434-0.011 6.932 0 13.685 0.767 20.179 2.221l-0.613-0.115c34.2 7.457 61.802 30.537 75.355 61.214l0.269 0.681c4.969 11.807 7.856 25.532 7.856 39.931 0 0.278-0.001 0.555-0.003 0.832v-0.042h-210.001c0.591-57.876 47.582-104.581 105.512-104.709h0.012z" />
    21 <glyph unicode="&#xe90b;" glyph-name="icon4" horiz-adv-x="996" d="M878.811 397.875c2.052 14.783 3.224 31.863 3.224 49.218 0 0.329 0 0.658-0.001 0.987v-0.051c0.005 0.648 0.008 1.413 0.008 2.18 0 16.936-1.366 33.554-3.995 49.747l0.237-1.773 108.277 84.254c5.81 4.838 9.481 12.074 9.481 20.168 0 4.522-1.146 8.776-3.163 12.488l0.068-0.138-102.418 177.063c-4.565 7.961-13.014 13.237-22.695 13.237-3.144 0-6.159-0.557-8.95-1.577l0.181 0.058-127.495-51.209c-24.949 19.48-53.421 36.308-83.951 49.225l-2.472 0.929-19.218 135.463c-1.971 12.45-12.627 21.855-25.48 21.855-0.044 0-0.088 0-0.132 0h-205.063c-0.016 0-0.035 0-0.054 0-12.748 0-23.29-9.447-25.008-21.722l-0.015-0.133-19.218-135.463c-32.996-13.954-61.458-30.773-87.301-50.809l0.878 0.655-127.495 51.209c-2.683 1.049-5.79 1.656-9.038 1.656-9.638 0-18.027-5.35-22.359-13.242l-0.067-0.132-101.89-177.063c-2.309-3.646-3.68-8.086-3.68-12.845 0-8.067 3.938-15.215 9.997-19.625l0.070-0.048 108.277-84.254c-2.793-14.924-4.529-32.238-4.801-49.907l-0.003-0.247c-0.003-0.547-0.005-1.195-0.005-1.842 0-17.054 1.366-33.79 3.993-50.103l-0.238 1.791-108.277-84.254c-5.81-4.838-9.481-12.074-9.481-20.168 0-4.522 1.146-8.776 3.163-12.488l-0.068 0.138 102.418-177.063c4.565-7.961 13.014-13.237 22.695-13.237 3.144 0 6.159 0.557 8.95 1.577l-0.181-0.058 127.495 51.209c24.949-19.48 53.421-36.308 83.951-49.225l2.472-0.929 19.804-135.522c2.139-12.405 12.765-21.741 25.592-21.854h205.082c0.108-0.002 0.235-0.003 0.363-0.003 12.68 0 23.146 9.477 24.702 21.734l0.013 0.123 19.218 135.463c33.011 13.698 61.498 30.538 87.209 50.751l-0.787-0.596 127.495-51.209c2.683-1.049 5.79-1.656 9.038-1.656 9.638 0 18.027 5.35 22.359 13.242l0.067 0.132 102.418 177.063c2.225 3.633 3.543 8.032 3.543 12.738 0 8.070-3.875 15.235-9.866 19.735l-0.064 0.046zM497.967 256.026c-105.983 0.233-191.847 86.035-192.179 191.972v0.032c0.332 105.907 86.097 191.672 191.972 192.004h0.032c105.907-0.332 191.672-86.097 192.004-191.972v-0.032c-0.331-105.825-85.963-191.539-191.725-192.004h-0.045z" />
    22 <glyph unicode="&#xe90c;" glyph-name="shortcode_icon1" horiz-adv-x="1707" d="M631.467 55.467l-392.533 392.533 392.533 392.533-119.467 119.467-512-512 512-512zM1075.2 55.467l392.533 392.533-392.533 392.533 119.467 119.467 512-512-512-512z" />
    23 <glyph unicode="&#xe90d;" glyph-name="cart_icon" horiz-adv-x="983" d="M487.602 569.93h97.532v146.269h146.269v97.532h-146.269v146.269h-97.532v-146.269h-146.21v-97.532h146.21zM292.597 131.064c-0.017 0-0.038 0-0.059 0-53.866 0-97.532-43.667-97.532-97.532s43.667-97.532 97.532-97.532c53.866 0 97.532 43.667 97.532 97.532v0c0 0.035 0 0.076 0 0.118 0 53.801-43.614 97.414-97.414 97.414-0.021 0-0.041 0-0.062 0h0.003zM780.199 131.064c-53.866 0-97.532-43.667-97.532-97.532s43.667-97.532 97.532-97.532c53.866 0 97.532 43.667 97.532 97.532v0c0 0.035 0 0.076 0 0.118 0 53.801-43.614 97.414-97.414 97.414-0.041 0-0.083 0-0.124 0h0.006zM300.837 289.518l1.472 5.886 43.91 79.462h363.288c0.102 0 0.223-0.001 0.344-0.001 36.414 0 68.145 20.053 84.752 49.718l0.252 0.491 188.354 341.804-84.818 47.089h-0.471l-53.858-97.768-134.556-243.801h-342.334l-6.357 13.126-109.187 230.675-46.323 97.532-45.853 97.532h-159.454v-97.532h97.532l175.523-370.116-65.806-119.311c-7.666-13.326-12.187-29.303-12.187-46.336 0-0.265 0.001-0.529 0.003-0.793v0.040c0.167-53.798 43.734-97.365 97.516-97.532h585.15v97.532h-564.71c-6.73 0.099-12.152 5.562-12.184 12.299v0.003z" />
    24 <glyph unicode="&#xe90e;" glyph-name="next" horiz-adv-x="662" d="M204.8-43.52c-27.307-27.307-81.92-27.307-109.227 0l-75.093 75.093c-27.307 27.307-27.307 81.92 0 109.227l307.2 307.2-307.2 307.2c-27.307 27.307-27.307 81.92 0 109.227l75.093 75.093c27.307 27.307 81.92 27.307 109.227 0l436.907-436.907c27.307-27.307 27.307-81.92 0-109.227l-436.907-436.907z" />
    25 <glyph unicode="&#xe90f;" glyph-name="previous" horiz-adv-x="662" d="M20.48 393.387c-27.307 27.307-27.307 81.92 0 109.227l436.907 436.907c27.307 27.307 75.093 27.307 109.227 0l75.093-75.093c27.307-27.307 27.307-75.093 0-109.227l-314.027-307.2 314.027-307.2c27.307-27.307 27.307-75.093 0-109.227l-75.093-75.093c-27.307-27.307-75.093-27.307-109.227 0l-436.907 436.907z" />
    26 <glyph unicode="&#xe910;" glyph-name="icon6" horiz-adv-x="1707" d="M631.467 55.467l-392.533 392.533 392.533 392.533-119.467 119.467-512-512 512-512zM1075.2 55.467l392.533 392.533-392.533 392.533 119.467 119.467 512-512-512-512-119.467 119.467z" />
    27 <glyph unicode="&#xe911;" glyph-name="icon5" d="M512 960c-282.77 0-512-229.23-512-512s229.23-512 512-512c282.77 0 512 229.23 512 512v0c-0.854 282.426-229.574 511.146-511.918 512h-0.082zM727.040 232.96l-266.24 163.84v307.2h76.8v-266.24l230.4-138.541z" />
     10<glyph unicode="&#xe900;" glyph-name="icon-arrow-right" d="M512 960l-90.258-90.258 357.157-357.742h-778.898v-128h778.898l-357.157-357.742 90.258-90.258 512 512z" />
     11<glyph unicode="&#xe901;" glyph-name="customize" horiz-adv-x="1069" d="M244.248 564.922c0 0.122-0.001 0.267-0.001 0.412 0 83.092 67.36 150.452 150.452 150.452 65.496 0 121.218-41.852 141.88-100.271l0.325-1.053 183.281 183.281-87.597 87.975c-4.781 4.691-11.337 7.587-18.571 7.587s-13.79-2.896-18.575-7.591l-42.744-42.744c-20.687 11.845-44.62 21.844-69.829 28.759l-2.19 0.512v60.806c0 14.886-12.067 26.953-26.953 26.953v0h-117.192c-0.295 0.012-0.641 0.019-0.989 0.019-14.35 0-25.983-11.633-25.983-25.983 0-0.348 0.007-0.694 0.020-1.039l-0.002 0.050v-60.86c-27.398-7.427-51.331-17.426-73.557-30.077l1.539 0.806-42.748 42.748c-4.781 4.691-11.337 7.587-18.571 7.587s-13.79-2.896-18.575-7.591l0.004 0.004-82.207-81.991c-4.691-4.781-7.587-11.337-7.587-18.571s2.896-13.79 7.591-18.575l42.744-42.744c-11.845-20.687-21.844-44.62-28.759-69.829l-0.512-2.19h-61.992c-14.886 0-26.953-12.067-26.953-26.953v0-115.952c-0.012-0.295-0.019-0.641-0.019-0.989 0-14.35 11.633-25.983 25.983-25.983 0.348 0 0.694 0.007 1.039 0.020l-0.050-0.002h60.86c7.427-27.398 17.426-51.331 30.077-73.557l-0.806 1.539-42.748-42.748c-4.946-4.661-8.026-11.256-8.026-18.571s3.080-13.909 8.013-18.559l0.013-0.012 87.813-87.813 183.281 183.281c-59.146 19.044-101.19 73.588-101.19 137.952 0 0.528 0.003 1.056 0.008 1.583l-0.001-0.080zM340.74 265.097l401.147 401.147 172.71-172.71-401.147-401.147-172.71 172.71zM1058.015 687.613l-120.426 121.558c-6.557 6.783-15.738 10.994-25.902 10.994s-19.345-4.211-25.892-10.984l-78.767-78.767 173.362-173.362 78.811 78.811c6.17 6.598 9.959 15.491 9.959 25.268 0 10.374-4.266 19.752-11.139 26.475l-0.007 0.007zM232.012 155.236c-4.522-4.992-8.004-11.017-10.046-17.672l-0.088-0.333-36.009-156.328c-0.477-2.235-0.751-4.803-0.751-7.435 0-20.542 16.653-37.195 37.195-37.195 2.632 0 5.2 0.273 7.677 0.793l-0.242-0.043 156.328 36.009c7.198 1.399 13.386 5.019 17.979 10.106l0.025 0.028 45.012 45.012-172.23 172.068z" />
     12<glyph unicode="&#xe902;" glyph-name="details_icon" horiz-adv-x="1317" d="M0 228.549h585.177v146.274h-585.177zM0-64h585.177v146.274h-585.177zM0 521.177h585.177v146.274h-585.177zM0 960v-146.274h585.177v146.274zM731.451 960h585.177v-1024h-585.177z" />
     13<glyph unicode="&#xe903;" glyph-name="general_icon" horiz-adv-x="996" d="M878.811 397.875c2.052 14.783 3.224 31.863 3.224 49.218 0 0.329 0 0.658-0.001 0.987v-0.051c0.005 0.648 0.008 1.413 0.008 2.18 0 16.936-1.366 33.554-3.995 49.747l0.237-1.773 108.277 84.254c5.81 4.838 9.481 12.074 9.481 20.168 0 4.522-1.146 8.776-3.163 12.488l0.068-0.138-102.418 177.063c-4.565 7.961-13.014 13.237-22.695 13.237-3.144 0-6.159-0.557-8.95-1.577l0.181 0.058-127.495-51.209c-24.949 19.48-53.421 36.308-83.951 49.225l-2.472 0.929-19.218 135.463c-1.971 12.45-12.627 21.855-25.48 21.855-0.044 0-0.088 0-0.132 0h-205.063c-0.016 0-0.035 0-0.054 0-12.748 0-23.29-9.447-25.008-21.722l-0.015-0.133-19.218-135.463c-32.996-13.954-61.458-30.773-87.301-50.809l0.878 0.655-127.495 51.209c-2.683 1.049-5.79 1.656-9.038 1.656-9.638 0-18.027-5.35-22.359-13.242l-0.067-0.132-101.89-177.063c-2.309-3.646-3.68-8.086-3.68-12.845 0-8.067 3.938-15.215 9.997-19.625l0.070-0.048 108.277-84.254c-2.793-14.924-4.529-32.238-4.801-49.907l-0.003-0.247c-0.003-0.547-0.005-1.195-0.005-1.842 0-17.054 1.366-33.79 3.993-50.103l-0.238 1.791-108.277-84.254c-5.81-4.838-9.481-12.074-9.481-20.168 0-4.522 1.146-8.776 3.163-12.488l-0.068 0.138 102.418-177.063c4.565-7.961 13.014-13.237 22.695-13.237 3.144 0 6.159 0.557 8.95 1.577l-0.181-0.058 127.495 51.209c24.949-19.48 53.421-36.308 83.951-49.225l2.472-0.929 19.804-135.522c2.139-12.405 12.765-21.741 25.592-21.854h205.082c0.108-0.002 0.235-0.003 0.363-0.003 12.68 0 23.146 9.477 24.702 21.734l0.013 0.123 19.218 135.463c33.011 13.698 61.498 30.538 87.209 50.751l-0.787-0.596 127.495-51.209c2.683-1.049 5.79-1.656 9.038-1.656 9.638 0 18.027 5.35 22.359 13.242l0.067 0.132 102.418 177.063c2.225 3.633 3.543 8.032 3.543 12.738 0 8.070-3.875 15.235-9.866 19.735l-0.064 0.046zM497.967 256.026c-105.983 0.233-191.847 86.035-192.179 191.972v0.032c0.332 105.907 86.097 191.672 191.972 192.004h0.032c105.907-0.332 191.672-86.097 192.004-191.972v-0.032c-0.331-105.825-85.963-191.539-191.725-192.004h-0.045z" />
     14<glyph unicode="&#xe904;" glyph-name="minus" horiz-adv-x="8320" d="M512 960h7296c282.77 0 512-229.23 512-512s-229.23-512-512-512h-7296c-282.77 0-512 229.23-512 512s229.23 512 512 512z" />
     15<glyph unicode="&#xe905;" glyph-name="plus" d="M960.276 511.724h-384.551v384.551c0 35.216-28.548 63.764-63.764 63.764s-63.764-28.548-63.764-63.764v0-384.473h-384.473c-35.216 0-63.764-28.548-63.764-63.764s28.548-63.764 63.764-63.764h384.473v-384.473c0-35.216 28.548-63.764 63.764-63.764s63.764 28.548 63.764 63.764v384.473h384.473c35.216 0 63.764 28.548 63.764 63.764s-28.548 63.764-63.764 63.764v0z" />
     16<glyph unicode="&#xe906;" glyph-name="shortcode_icon" horiz-adv-x="1127" d="M1059.469 960h-991.709c-37.345-0.192-67.568-30.415-67.76-67.741v-888.442c0.192-37.345 30.415-67.568 67.741-67.76h991.727c37.321 0.224 67.511 30.434 67.703 67.741v888.442c-0.192 37.325-30.382 67.536-67.682 67.76h-0.021zM855.168 846.5c0 13.822 11.205 25.027 25.027 25.027h25.027c13.822 0 25.027-11.205 25.027-25.027v0-28.375c0-13.822-11.205-25.027-25.027-25.027v0h-25.027c-13.822 0-25.027 11.205-25.027 25.027v0zM738.887 846.5c0 13.822 11.205 25.027 25.027 25.027h24.913c13.822 0 25.027-11.205 25.027-25.027v0-28.375c0-13.822-11.205-25.027-25.027-25.027v0h-25.027c-13.822 0-25.027 11.205-25.027 25.027v0zM1045.906 17.266h-964.753v700.467h964.753v-700.467zM1046.587 817.898c0.001-0.067 0.001-0.147 0.001-0.227 0-13.822-11.205-25.027-25.027-25.027-0.020 0-0.041 0-0.061 0h-24.967c-13.822 0-25.027 11.205-25.027 25.027v0 28.375c0 13.822 11.205 25.027 25.027 25.027v0h24.97c13.822 0 25.027-11.205 25.027-25.027v0zM241.926 341.139l181.317-84.331c4.358-2.077 9.472-3.29 14.869-3.29 19.463 0 35.241 15.778 35.242 35.24v0 0.908c-0.030 14.058-8.26 26.186-20.16 31.859l-0.214 0.092-113.5 52.664 113.5 52.721c12.113 5.764 20.343 17.893 20.373 31.946v0.912c-0.051 19.456-15.835 35.208-35.298 35.208-5.374 0-10.468-1.201-15.027-3.349l0.215 0.091-181.317-84.331c-12.113-5.764-20.343-17.893-20.373-31.946v-2.501c0.068-14.031 8.286-26.127 20.16-31.802l0.214-0.092zM474.942 169.357c6.477-8.776 16.762-14.419 28.367-14.471h0.916c0.021 0 0.046 0 0.070 0 15.589 0 28.807 10.155 33.399 24.211l0.070 0.248 119.175 370.068c1.060 3.205 1.672 6.894 1.672 10.726 0 19.453-15.761 35.224-35.209 35.242h-0.91c-0.021 0-0.046 0-0.070 0-15.589 0-28.807-10.155-33.399-24.211l-0.070-0.248-119.175-370.125c-1.029-3.167-1.622-6.811-1.622-10.594 0-7.837 2.546-15.079 6.855-20.945l-0.069 0.099zM653.819 458.953c0.045-14.053 8.269-26.175 20.16-31.858l0.213-0.092 113.5-52.664-113.5-52.664c-12.113-5.764-20.343-17.893-20.373-31.946v-0.912c0.001-19.463 15.779-35.24 35.242-35.24 5.397 0 10.51 1.213 15.082 3.381l-0.214-0.091 181.317 84.331c12.104 5.775 20.328 17.897 20.373 31.944v2.503c-0.030 14.058-8.26 26.186-20.16 31.859l-0.214 0.092-181.317 84.331c-4.358 2.077-9.472 3.29-14.869 3.29-19.463 0-35.241-15.778-35.242-35.24v0-0.908z" />
     17<glyph unicode="&#xe907;" glyph-name="user_icon" horiz-adv-x="922" d="M819.223 857.583h-51.437v102.417h-102.189v-102.417h-409.611v102.417h-102.36v-102.417h-51.437c-56.458-0.098-102.189-45.888-102.189-102.36 0 0 0 0 0 0v0-716.806c0-0.017 0-0.037 0-0.057 0-56.532 45.828-102.36 102.36-102.36 0.020 0 0.040 0 0.060 0h716.803c56.459 0.258 102.159 45.958 102.417 102.392v716.831c-0.291 56.435-45.978 102.102-102.392 102.36h-0.025zM460.82 704.014c84.845 0 153.626-68.781 153.626-153.626s-68.781-153.626-153.626-153.626c-84.845 0-153.626 68.781-153.626 153.626v0c0 0.068 0 0.148 0 0.229 0 84.719 68.678 153.397 153.397 153.397 0.080 0 0.161 0 0.241 0h-0.012zM768.014 89.626h-614.389v51.437c0 102.417 204.777 158.712 307.194 158.712s307.194-56.295 307.194-158.712z" />
     18<glyph unicode="&#xe908;" glyph-name="logo_icon" horiz-adv-x="1091" d="M1058.813 688.323c-82.24 139.523-245.821 116.424-245.821 116.424-46.983 92.578-141.378 154.97-250.371 155.222h-0.034c-182.036 0.929-240.249-89.64-290.132-158.788-13.022 2.629-27.99 4.134-43.31 4.134-126.448 0-228.954-102.506-228.954-228.954 0-5.767 0.213-11.483 0.632-17.143l-0.045 0.756c7.328-91.020 64.081-167.211 143.134-202.248l1.542-0.61s-0.33-139.104-1.318-173.528c-0.055-1.916-0.087-4.171-0.087-6.434 0-103.288 65.49-191.28 157.212-224.716l1.662-0.53c25.302-10.049 54.618-15.876 85.295-15.876 60.173 0 115.111 22.418 156.915 59.358l-0.254-0.22s73.282-85.745 222.063-50.632 177.423 200.522 177.423 200.522 0 109.054-1.858 208.851c86.994 35.794 147.125 119.893 147.125 218.036 0 42.804-11.438 82.937-31.425 117.509l0.604-1.133zM866.471 415.868s2.996-164.090-0.719-245.432-42.483-115.735-116.484-149.44-156.061 31.488-156.061 31.488l28.582 58.632c4.715-0.888 10.139-1.395 15.682-1.395 20.37 0 39.139 6.856 54.124 18.387l-0.209-0.154s71.065 106.238 96.711 144.317c13.901 38.948-27.833 24.178-27.833 24.178s-30.769-47.606-49.823-81.311c-23.459-11.744-19.774 16.867-19.774 16.867 11.339 13.927 22.439 29.461 32.552 45.674l1.123 1.932c5.992 12.433 27.114 30.769 17.586 46.138s-26.365 1.468-26.365 1.468l-53.478-81.311-19.774-1.468-1.468 19.804c19.363 23.815 37.995 50.367 54.712 78.201l1.732 3.111c4.404 28.552-27.833 17.586-27.833 17.586s-90.838-132.573-101.864-151.627 2.187-62.916 2.187-62.916l-29.96-45.419-41.015 41.015s-2.187-2.187-1.468 11.714c14.65 73.252-37.36 138.445-113.548 161.784s-114.297-53.448-61.538-140.662 124.513-73.252 124.513-73.252l46.168-52.010c-19.774-31.488-103.302-53.478-177.273-21.242s-92.306 131.135-92.306 131.135-0.719 150.908-2.996 252.023c-143.598 31.488-179.49 164.090-109.893 255.648s183.864 47.606 207.323 38.109c25.746 102.020 116.704 176.329 225.018 176.329 15.497 0 30.64-1.521 45.285-4.423l-1.473 0.243c130.416-19.055 173.768-141.411 189.017-172.15 75.469 54.917 241.747 2.996 236.683-136.258s-145.965-155.312-145.965-155.312zM390.797 446.217c-35.199 3.425-63.004 31.025-66.723 65.826l-0.028 0.325c-0.053 1.044-0.082 2.266-0.082 3.495 0 34.56 23.653 63.596 55.654 71.802l0.514 0.112c4.294 1.014 9.224 1.595 14.289 1.595 22.266 0 41.91-11.23 53.576-28.335l0.144-0.224c16.298-26.574 8.239-60.819 13.392-91.557l43.682 92.876c3.393 8.307 7.919 15.448 13.482 21.639l-0.060-0.067c4.592 5.027 11.175 8.169 18.493 8.169 1.65 0 3.263-0.16 4.824-0.465l-0.158 0.026c7.771-2.652 13.714-8.812 16.013-16.541l0.045-0.177c1.743-5.978 2.746-12.846 2.746-19.947 0-1.414-0.040-2.819-0.118-4.214l0.009 0.193v-92.606l57.433 98.868c4.7 9.567 11.213 17.574 19.151 23.859l0.143 0.109c7.455 4.335 16.406 6.893 25.955 6.893 3.419 0 6.761-0.328 9.997-0.954l-0.329 0.053c7.881-0.5 14.997-3.411 20.715-7.995l-0.072 0.056c3.499-2.986 5.703-7.4 5.703-12.329 0-2.936-0.782-5.689-2.149-8.063l0.042 0.078c-4.764-6.681-14.411-6.801-22.44-8.598-17.622-4.319-30.97-18.664-33.762-36.509l-0.032-0.252c6.342 0.344 13.766 0.54 21.236 0.54 14.404 0 28.637-0.729 42.665-2.153l-1.764 0.145c2.129-0.208 4.602-0.327 7.102-0.327 19.368 0 37.073 7.123 50.636 18.893l-0.096-0.081c8.364 8.706 13.515 20.554 13.515 33.604 0 1.809-0.099 3.594-0.292 5.351l0.019-0.217c-1.818 14.63-9.894 27.071-21.422 34.731l-0.179 0.112c-12.834 6.723-28.037 10.668-44.161 10.668-3.175 0-6.315-0.153-9.412-0.452l0.394 0.031h-375.577v36.911l368.237 0.689c3.699 0.283 8.011 0.444 12.361 0.444 21.208 0 41.52-3.832 60.283-10.84l-1.19 0.39c26.92-12.646 46.097-37.855 50.075-67.863l0.048-0.446c0.311-2.77 0.488-5.981 0.488-9.233 0-27.84-13-52.644-33.261-68.672l-0.183-0.14c-19.067-13.486-42.674-21.743-68.182-22.258l-0.126-0.002c-24.268-1.438-48.595 1.258-72.892 1.917-1.368 0.152-2.954 0.239-4.56 0.239-6.407 0-12.492-1.379-17.975-3.855l0.275 0.111c-8.372-6.164-14.657-14.726-17.878-24.667l-0.098-0.35c-10.261-22.248-21.495-41.312-34.374-59.107l0.699 1.014c-4.117-6.46-9.397-11.807-15.591-15.876l-0.198-0.122c-2.989-1.906-6.632-3.038-10.54-3.038-4.025 0-7.77 1.201-10.895 3.264l0.074-0.046c-5.008 5.342-8.084 12.547-8.084 20.471 0 1.232 0.074 2.447 0.219 3.641l-0.014-0.144q-1.079 50.932 0.539 101.864l-46.737-99.916c-5.992-12.583-19.714-35.952-36.971-26.305-3.781 2.254-6.698 5.616-8.341 9.634l-0.048 0.133c-1.915 5.207-3.022 11.22-3.022 17.492 0 0.581 0.010 1.16 0.028 1.737l-0.002-0.084-2.187 93.205c0.019 0.732 0.029 1.593 0.029 2.458 0 9.549-1.301 18.793-3.736 27.566l0.171-0.723c-2.753 9.784-9.421 17.656-18.162 21.96l-0.204 0.091c-2.597 0.83-5.585 1.308-8.685 1.308-15.36 0-27.977-11.748-29.356-26.749l-0.009-0.116c0.199-18.602 14.579-33.784 32.83-35.255l0.126-0.008z" />
     19<glyph unicode="&#xe909;" glyph-name="icon1" horiz-adv-x="922" d="M716.8 396.8h-256v-256h256zM665.6 960v-102.4h-409.6v102.4h-102.4v-102.4h-51.2c-56.279-0.032-101.889-45.662-101.889-101.945 0-0.16 0-0.32 0.001-0.48v0.025l-0.512-716.8c0-56.554 45.846-102.4 102.4-102.4v0h716.8c56.489 0.161 102.239 45.911 102.4 102.385v716.815c-0.161 56.489-45.911 102.239-102.385 102.4h-51.215v102.4zM819.2 38.4h-716.8v563.2h716.8z" />
     20<glyph unicode="&#xe90a;" glyph-name="icon2" d="M471.337 527.754c-96.346 45.227-212.636 28.304-290.847-49.907-99.806-99.806-99.806-261.623 0-361.428s261.623-99.806 361.428 0c78.211 78.211 95.133 194.501 50.767 289.191l-0.861 1.656 131.020 131.020 120.488-120.488 120.488 120.488-120.523 120.523 60.226 60.226-120.453 120.453zM421.642 237.083c-33.262-33.262-87.191-33.262-120.453 0s-33.262 87.191 0 120.453c33.262 33.262 87.191 33.262 120.453 0v0c33.077-33.314 33.077-87.069 0.011-120.372l-0.011-0.011z" />
     21<glyph unicode="&#xe90b;" glyph-name="icon3" horiz-adv-x="1047" d="M291.441 877.047l-75.1 75.1c-126.085-96.221-208.693-243.873-216.298-411.075l-0.043-1.19h105c8.014 139.322 79.194 260.509 185.098 336.252l1.343 0.913zM942.094 539.65h105c-8.151 168.249-90.615 315.709-215.035 411.243l-1.306 0.963-74.576-74.809c106.763-76.996 177.634-198.030 185.859-335.935l0.059-1.229zM838.664 513.414c0 161.194-86.094 296.153-236.294 331.871v35.95c0 43.501-35.264 78.765-78.765 78.765s-78.765-35.264-78.765-78.765v0-35.718c-150.723-35.718-236.294-170.153-236.294-331.871v-262.588l-105.117-105v-52.355h840.235v52.355l-105 105zM523.547-63.825c0.427-0.007 0.93-0.011 1.434-0.011 6.932 0 13.685 0.767 20.179 2.221l-0.613-0.115c34.2 7.457 61.802 30.537 75.355 61.214l0.269 0.681c4.969 11.807 7.856 25.532 7.856 39.931 0 0.278-0.001 0.555-0.003 0.832v-0.042h-210.001c0.591-57.876 47.582-104.581 105.512-104.709h0.012z" />
     22<glyph unicode="&#xe90c;" glyph-name="icon4" horiz-adv-x="996" d="M878.811 397.875c2.052 14.783 3.224 31.863 3.224 49.218 0 0.329 0 0.658-0.001 0.987v-0.051c0.005 0.648 0.008 1.413 0.008 2.18 0 16.936-1.366 33.554-3.995 49.747l0.237-1.773 108.277 84.254c5.81 4.838 9.481 12.074 9.481 20.168 0 4.522-1.146 8.776-3.163 12.488l0.068-0.138-102.418 177.063c-4.565 7.961-13.014 13.237-22.695 13.237-3.144 0-6.159-0.557-8.95-1.577l0.181 0.058-127.495-51.209c-24.949 19.48-53.421 36.308-83.951 49.225l-2.472 0.929-19.218 135.463c-1.971 12.45-12.627 21.855-25.48 21.855-0.044 0-0.088 0-0.132 0h-205.063c-0.016 0-0.035 0-0.054 0-12.748 0-23.29-9.447-25.008-21.722l-0.015-0.133-19.218-135.463c-32.996-13.954-61.458-30.773-87.301-50.809l0.878 0.655-127.495 51.209c-2.683 1.049-5.79 1.656-9.038 1.656-9.638 0-18.027-5.35-22.359-13.242l-0.067-0.132-101.89-177.063c-2.309-3.646-3.68-8.086-3.68-12.845 0-8.067 3.938-15.215 9.997-19.625l0.070-0.048 108.277-84.254c-2.793-14.924-4.529-32.238-4.801-49.907l-0.003-0.247c-0.003-0.547-0.005-1.195-0.005-1.842 0-17.054 1.366-33.79 3.993-50.103l-0.238 1.791-108.277-84.254c-5.81-4.838-9.481-12.074-9.481-20.168 0-4.522 1.146-8.776 3.163-12.488l-0.068 0.138 102.418-177.063c4.565-7.961 13.014-13.237 22.695-13.237 3.144 0 6.159 0.557 8.95 1.577l-0.181-0.058 127.495 51.209c24.949-19.48 53.421-36.308 83.951-49.225l2.472-0.929 19.804-135.522c2.139-12.405 12.765-21.741 25.592-21.854h205.082c0.108-0.002 0.235-0.003 0.363-0.003 12.68 0 23.146 9.477 24.702 21.734l0.013 0.123 19.218 135.463c33.011 13.698 61.498 30.538 87.209 50.751l-0.787-0.596 127.495-51.209c2.683-1.049 5.79-1.656 9.038-1.656 9.638 0 18.027 5.35 22.359 13.242l0.067 0.132 102.418 177.063c2.225 3.633 3.543 8.032 3.543 12.738 0 8.070-3.875 15.235-9.866 19.735l-0.064 0.046zM497.967 256.026c-105.983 0.233-191.847 86.035-192.179 191.972v0.032c0.332 105.907 86.097 191.672 191.972 192.004h0.032c105.907-0.332 191.672-86.097 192.004-191.972v-0.032c-0.331-105.825-85.963-191.539-191.725-192.004h-0.045z" />
     23<glyph unicode="&#xe90d;" glyph-name="shortcode_icon1" horiz-adv-x="1707" d="M631.467 55.467l-392.533 392.533 392.533 392.533-119.467 119.467-512-512 512-512zM1075.2 55.467l392.533 392.533-392.533 392.533 119.467 119.467 512-512-512-512z" />
     24<glyph unicode="&#xe90e;" glyph-name="cart_icon" horiz-adv-x="983" d="M487.602 569.93h97.532v146.269h146.269v97.532h-146.269v146.269h-97.532v-146.269h-146.21v-97.532h146.21zM292.597 131.064c-0.017 0-0.038 0-0.059 0-53.866 0-97.532-43.667-97.532-97.532s43.667-97.532 97.532-97.532c53.866 0 97.532 43.667 97.532 97.532v0c0 0.035 0 0.076 0 0.118 0 53.801-43.614 97.414-97.414 97.414-0.021 0-0.041 0-0.062 0h0.003zM780.199 131.064c-53.866 0-97.532-43.667-97.532-97.532s43.667-97.532 97.532-97.532c53.866 0 97.532 43.667 97.532 97.532v0c0 0.035 0 0.076 0 0.118 0 53.801-43.614 97.414-97.414 97.414-0.041 0-0.083 0-0.124 0h0.006zM300.837 289.518l1.472 5.886 43.91 79.462h363.288c0.102 0 0.223-0.001 0.344-0.001 36.414 0 68.145 20.053 84.752 49.718l0.252 0.491 188.354 341.804-84.818 47.089h-0.471l-53.858-97.768-134.556-243.801h-342.334l-6.357 13.126-109.187 230.675-46.323 97.532-45.853 97.532h-159.454v-97.532h97.532l175.523-370.116-65.806-119.311c-7.666-13.326-12.187-29.303-12.187-46.336 0-0.265 0.001-0.529 0.003-0.793v0.040c0.167-53.798 43.734-97.365 97.516-97.532h585.15v97.532h-564.71c-6.73 0.099-12.152 5.562-12.184 12.299v0.003z" />
     25<glyph unicode="&#xe90f;" glyph-name="next" horiz-adv-x="662" d="M204.8-43.52c-27.307-27.307-81.92-27.307-109.227 0l-75.093 75.093c-27.307 27.307-27.307 81.92 0 109.227l307.2 307.2-307.2 307.2c-27.307 27.307-27.307 81.92 0 109.227l75.093 75.093c27.307 27.307 81.92 27.307 109.227 0l436.907-436.907c27.307-27.307 27.307-81.92 0-109.227l-436.907-436.907z" />
     26<glyph unicode="&#xe910;" glyph-name="previous" horiz-adv-x="662" d="M20.48 393.387c-27.307 27.307-27.307 81.92 0 109.227l436.907 436.907c27.307 27.307 75.093 27.307 109.227 0l75.093-75.093c27.307-27.307 27.307-75.093 0-109.227l-314.027-307.2 314.027-307.2c27.307-27.307 27.307-75.093 0-109.227l-75.093-75.093c-27.307-27.307-75.093-27.307-109.227 0l-436.907 436.907z" />
     27<glyph unicode="&#xe911;" glyph-name="icon6" horiz-adv-x="1707" d="M631.467 55.467l-392.533 392.533 392.533 392.533-119.467 119.467-512-512 512-512zM1075.2 55.467l392.533 392.533-392.533 392.533 119.467 119.467 512-512-512-512-119.467 119.467z" />
     28<glyph unicode="&#xe912;" glyph-name="icon5" d="M512 960c-282.77 0-512-229.23-512-512s229.23-512 512-512c282.77 0 512 229.23 512 512v0c-0.854 282.426-229.574 511.146-511.918 512h-0.082zM727.040 232.96l-266.24 163.84v307.2h76.8v-266.24l230.4-138.541z" />
    2829</font></defs></svg>
  • wp-cafe/tags/1.1.3/assets/js/wpc-public.js

    r2378658 r2387102  
    4242    return response;
    4343}
     44
    4445(function ($) {
     46
     47    //   custom tabs
     48    $(document).on('click', '.wpc-tab-a', function (event) {
     49        event.preventDefault();
     50        $(this).parents(".wpc-food-tab-wrapper").find(".wpc-tab").removeClass('tab-active');
     51        $(this).parents(".wpc-food-tab-wrapper").find(".wpc-tab[data-id='" + $(this).attr('data-id') + "']").addClass("tab-active");
     52        $(this).parents(".wpc-food-tab-wrapper").find(".wpc-tab-a").removeClass('wpc-active');
     53        $(this).parent().find(".wpc-tab-a").addClass('wpc-active');
     54    });
    4555    var local_storage_value = localStorage.getItem('wpc_location');
    4656    $("#wpc_location_name option[value='" + local_storage_value + "']").attr("selected", true);
    … …  
    327337            inline_value = false;
    328338        }
     339        var reserve_status = $(".wpc-reservation-form").data('reservation_status');
     340
    329341        // inline flat picker date
    330342        if ($('#wpc-booking-date').length > 0) {
    … …  
    338350                    if (typeof wpc_booking_form_data !== "undefined") {
    339351                        var wpc_new_selected_date = wpc_flatpicker_date_change(selectedDates, "Y-m-d");
     352                        if ( wpc_booking_form_data.wpc_today ==  wpc_new_selected_date  && reserve_status =="closed") {
     353                            alert("Our all seat is booked . Reservation is closed for today.Please try another day");
     354                            return;
     355                        }
    340356                        var response;
    341357                        var exception_date = wpc_booking_form_data.wpc_exception_date;
    … …  
    422438            document.getElementById(single_title).style.display = "block";
    423439        }
     440
    424441        // reservation form validation
    425442        function button_disable() {
    426443            var length = $(".wpc_booking_error").length;
    427             if (length == 0) {
     444            if ( length == 0 ) {
    428445                $('.reservation_form_submit').prop('disabled', false);
    429446                $('.reservation_form_submit').removeClass('wpc_reservation_form_disabled');
    … …  
    572589                container.removeClass('cart_icon_active');
    573590            }
    574         });
    575 
    576         //   custom tabs
    577         $(document).on('click', '.wpc-tab-a', function (event) {
    578             event.preventDefault();
    579             $(this).parents(".wpc-food-tab-wrapper").find(".wpc-tab").removeClass('tab-active');
    580             $(this).parents(".wpc-food-tab-wrapper").find(".wpc-tab[data-id='" + $(this).attr('data-id') + "']").addClass("tab-active");
    581             $(this).parents(".wpc-food-tab-wrapper").find(".wpc-tab-a").removeClass('wpc-active');
    582             $(this).parent().find(".wpc-tab-a").addClass('wpc-active');
    583591        });
    584592
  • wp-cafe/tags/1.1.3/assets/scss/_base.scss

    r2309381 r2387102  
    5858.reservation_form_submit.wpc-btn,
    5959.cancell_form_submit.wpc-btn,
     60body.woocomerce-layout-override-enable.woocommerce button.button.alt,
     61body.woocomerce-layout-override-enable.woocommerce #respond input#submit,
     62body.woocomerce-layout-override-enable .woocommerce button.button.alt,
     63body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button,
    6064.wpc-settings-dashboard .button-primary {
    6165    font-size: 16px;
  • wp-cafe/tags/1.1.3/assets/scss/wpc-admin.scss

    r2368463 r2387102  
    44        .toplevel_page_cafe_menu {
    55                .dashicons-admin-generic:before {
    6                         content    : "\e900";
     6                        content    : "\e908";
    77                        font-family: 'wpcafe' !important;
    88                }
    … …  
    100100
    101101                                &[data-id="hooks"] {
    102                                         i:before {
    103                                                 content  : "\e909";
     102                                        i.wpcafe-icon5:before {
     103                                                content: "\e911";
    104104                                                font-size: 12px;
    105105                                        }
    … …  
    178178                }
    179179        }
    180 
     180        //   label item
    181181        .wpc-label-item {
    182182
    … …  
    197197                        }
    198198
    199                         .exception_time_clear {
     199                          .exception_time_clear,
     200                          .wpc_all_day_clear,
     201                          .wpc_weekly_clear,
     202                          .wpc_pickup_weekly_clear,
     203                          .wpc_delivery_weekly_clear {
    200204                                display     : flex;
    201205                                align-self  : center;
    … …  
    206210                }
    207211
    208 
     212                //   shcedule block
    209213                .schedule_block,
    210214                .pickup_weekly_block,
    … …  
    226230                        }
    227231                }
    228 
     232                //   esception
    229233                .exception_block,
    230234                .schedule_block,
    … …  
    262266
    263267        }
    264 
     268        //   copy button
    265269        .wpc_copy_button {
    266270                span {
    … …  
    395399                @include border-radius(5px);
    396400        }
    397 
     401        //   list table
    398402        .wp-list-table {
    399403                border: none;
    … …  
    426430  }
    427431
    428 
     432//   reservation meta
    429433  #wpc_reservation_meta {
    430434        h2.hndle {
    … …  
    444448  }
    445449
    446 
     450// doc link
     451.doc-link{
     452        font-weight: 700;
     453        color: $primary-color;
     454}
    447455
    448456  /*------------------------
  • wp-cafe/tags/1.1.3/assets/scss/wpc-public.scss

    r2378658 r2387102  
    783783        position       : relative;
    784784        list-style-type: none;
     785        margin: 0;
    785786
    786787        li {
    … …  
    791792            padding-top: 15px !important;
    792793            padding-right   : 20px !important;
    793             margin-top      : 10px;
     794            margin: 10px 0 20px !important;;
    794795            padding         : 15px;
    795             margin-bottom   : 20px !important;
    796796            background-color: #F9F9F9;
    797797            @include border-radius(4px);
  • wp-cafe/tags/1.1.3/core/enqueue/wpc-enqueue.php

    r2371829 r2387102  
    132132        $wpc_one_week  = date( 'Y-m-d', strtotime( date( 'Y-m-d' ) . ' +7 day' ) );
    133133        $wpc_one_month = date( 'Y-m-t', strtotime( date( 'Y-m-d' ) ) );
     134        $wpc_today     = date( 'Y-m-d' );
    134135
    135136        $form_data = [];
    … …  
    169170                'wpc_one_week'                   => $wpc_one_week,
    170171                'wpc_one_month'                  => $wpc_one_month,
     172                'wpc_today'                      => $wpc_today,
    171173            ];
    172174        }
    … …  
    212214     */
    213215    public function frontend_get_styles() {
    214         return [
     216        $enequeue = [
    215217            'wpc-flatpicker' => [
    216218                'src'     => WPC_ASSETS . 'css/flatpickr.min.css',
    … …  
    232234
    233235        ];
     236
     237        if(is_rtl()){
     238            $enequeue['wpc-rtl'] =[
     239                'src'     => WPC_ASSETS . 'css/rtl.css',
     240                'version' => WPC_VERSION,
     241            ];
     242        }
     243
     244        return $enequeue;
    234245    }
    235246
  • wp-cafe/tags/1.1.3/core/template/wpc-key-options.php

    r2368463 r2387102  
    3131                    $schedule_text  = esc_html__('reservation settings section for reservation schedule of your restaurant.', 'wpcafe');
    3232                    $menu_text      = esc_html__(' for food menu options of your restaurant.', 'wpcafe');
    33                     $sched_doc_link = Wpc_Utilities::wpc_kses( '<a href="https://support.themewinter.com/docs/plugins/docs/general-settings-2/" target="_blank">'. $documentation .'</a> ' );
    34                     $fmenu_doc_link = Wpc_Utilities::wpc_kses( '<a href="https://support.themewinter.com/docs/plugins/docs/food-menu/" target="_blank">'. $documentation .'</a> ' );
     33                    $sched_doc_link = Wpc_Utilities::wpc_kses( '<a href="https://support.themewinter.com/docs/plugins/docs/general-settings-2/" target="_blank" class="doc-link">'. $documentation .'</a> ' );
     34                    $fmenu_doc_link = Wpc_Utilities::wpc_kses( '<a href="https://support.themewinter.com/docs/plugins/docs/food-menu/" target="_blank" class="doc-link"> '. $documentation .'</a> ' );
    3535                    // show tab
    3636                    $settings_tabs = array(
    … …  
    5050                        <?php
    5151                            $filterd_tab = apply_filters('wpcafe/key_options/settings_tab_item', $tab_arr );
    52                             $tabs = $filterd_tab[0];
    53                             $wpc_doc_link = $filterd_tab[1];
     52                            if( isset( $filterd_tab['settings_tab']) ){
     53                                $tabs = $filterd_tab['settings_tab'][0];
     54                                $wpc_doc_link = $filterd_tab['settings_tab'][1];
     55                            }else{
     56                                $tabs = $tab_arr[0];
     57                            }
     58
    5459                            $i=0;
    5560                            foreach ($tabs as $key => $value){
    … …  
    315320                                    // Key options
    316321                                    elseif ( $item == 'key_options' ) {
     322                                        $get_data = apply_filters('wpcafe/key_options/menu_settings', $settings);
     323
    317324                                        ?>
    318325                                            <h3 class="wpc-tab-title"><?php esc_html_e('General Option', $this->textdomain ); ?></h3>
    … …  
    334341                                                </div>
    335342                                            </div>
    336                                            
     343                                            <?php
     344                                                // render key settings
     345                                                if( isset( $get_data['key_options'])){
     346                                                    echo $get_data['key_options'];
     347                                                }
     348                                            ?>
    337349                                            <div class="wpc-label-item">
    338350                                                <div class="wpc-label">
    … …  
    810822                                        </div>
    811823                                        <?php
    812                                         apply_filters('wpcafe/key_options/menu_settings', $settings);
     824                                        // render menu settings
     825                                        if( isset( $get_data['menu_settings'])){
     826                                            echo $get_data['menu_settings'];
     827                                        }
    813828                                    }
    814829                                    //hooks
  • wp-cafe/tags/1.1.3/core/widgets/hook.php

    r2378658 r2387102  
    3333
    3434        // add minicart to header
     35        add_action('wp_head', [$this, 'wpc_custom_inline_css']);
    3536        add_action('wp_head', [$this, 'wpc_custom_mini_cart']);
    3637
    … …  
    4344
    4445        // menu order action
    45         // add_action('product_cat_add_form_fields', [$this, 'wpc_product_cat_taxonomy_add_new_meta_field'], 10, 1);
     46        add_action('product_cat_add_form_fields', [$this, 'wpc_product_cat_taxonomy_add_new_meta_field'], 10, 1);
    4647        add_action('product_cat_edit_form_fields', [$this, 'wpc_product_cat_taxonomy_edit_meta_field'], 10, 1);
    4748        add_action('edited_product_cat', [$this, 'wpc_product_cat_taxonomy_save_meta_field'], 10, 1);
    … …  
    5253        add_action('manage_product_cat_custom_column', [$this, 'wpc_custom_fields_list_diplay'], 10, 3);
    5354
    54         // update cart counter
    55         add_filter('woocommerce_add_to_cart_fragments', [$this, 'wpc_add_to_cart_count_fragment_refresh'], 30, 1);
    56         add_filter('woocommerce_add_to_cart_fragments', [$this, 'wpc_add_to_cart_content_fragment_refresh']);
    57     }
    58 
     55        if (class_exists('woocommerce')) {
     56            // update cart counter
     57            add_filter('woocommerce_add_to_cart_fragments', [$this, 'wpc_add_to_cart_count_fragment_refresh'], 30, 1);
     58            add_filter('woocommerce_add_to_cart_fragments', [$this, 'wpc_add_to_cart_content_fragment_refresh']);
     59        }
     60    }
    5961
    6062    /**
    … …  
    8385     * @param $content
    8486     */
    85     public function wpc_food_menu_tab( $atts ){
    86         if (!class_exists('Woocommerce')) { return; }
    87        
     87    public function wpc_food_menu_tab($atts)
     88    {
     89        if (!class_exists('Woocommerce')) {
     90            return;
     91        }
     92
    8893        ob_start();
    8994        // show location
    … …  
    117122            }
    118123            ksort($wpc_cat_sort_arr);
    119             ?>
     124?>
    120125            <div class="wpc-food-tab-wrapper wpc-food-menu-wrapper wpc-nav-shortcode">
    121126                <ul class="wpc-nav">
    … …  
    124129                        if ($wpc_cat = get_term_by('id', $value, 'product_cat')) {
    125130                            $active_class = (($key == array_keys($wpc_cat_sort_arr)[0]) ? 'wpc-active' : ' ');
    126                             ?>
     131                    ?>
    127132                            <li>
    128                                 <a href="#" data-id="tab_<?php echo intval( $key ); ?>" class="wpc-tab-a <?php echo esc_attr($active_class); ?>" data-toggle="tab" aria-expanded="true">
     133                                <a href="#" data-id="tab_<?php echo intval($key); ?>" class="wpc-tab-a <?php echo esc_attr($active_class); ?>" data-toggle="tab" aria-expanded="true">
    129134                                    <span><?php echo esc_attr_e($wpc_cat->name, 'wpcafe'); ?></span>
    130135                                </a>
    131136                            </li>
    132                             <?php
     137                    <?php
    133138                        }
    134139                    }
    … …  
    138143                    <?php
    139144                    foreach ($wpc_cat_sort_arr as $current_key => $value) {
    140                         $products = Wpc_Utilities::product_query( "product" , $no_of_product , $value , "DESC" );
     145                        $products = Wpc_Utilities::product_query("product", $no_of_product, [$value], "DESC");
    141146                        $active_class = (($current_key == array_keys($wpc_cat_sort_arr)[0]) ? 'tab-active' : ' ');
    142                         ?>
    143                         <div class='wpc-tab <?php echo esc_attr($active_class); ?>' data-id='tab_<?php echo intval( $current_key ); ?>'>
     147                    ?>
     148                        <div class='wpc-tab <?php echo esc_attr($active_class); ?>' data-id='tab_<?php echo intval($current_key); ?>'>
    144149                            <div class='wpc-row'>
    145                                 <?php if(is_array( $products ) && count( $products )>0 ) :
     150                                <?php if (is_array($products) && count($products) > 0) :
    146151                                    foreach ($products as $product) { ?>
    147152                                        <div class='wpc-col-lg-6'>
    … …  
    202207                                                        echo  Wpc_Utilities::wpc_kses(get_the_excerpt($product->get_id()));
    203208                                                        // cart button
    204                                                         echo  Wpc_Utilities::product_add_to_cart( $product, $wpc_cart_button, "", "", $unique_id );
     209                                                        echo  Wpc_Utilities::product_add_to_cart($product, $wpc_cart_button, "", "", $unique_id);
    205210                                                        ?>
    206211                                                    </div>
    … …  
    208213                                            </div>
    209214                                        </div>
    210                                 <?php } endif; ?>
     215                                <?php }
     216                                endif; ?>
    211217                            </div>
    212218                        </div>
    … …  
    227233     * @param Type $var
    228234     */
    229     public function wpc_food_menu_list( $atts ){
    230         if (!class_exists('Woocommerce')) { return; }
     235    public function wpc_food_menu_list($atts)
     236    {
     237        if (!class_exists('Woocommerce')) {
     238            return;
     239        }
    231240
    232241        ob_start();
    … …  
    248257        $wpc_cat_arr      = explode(',', $wpc_food_categories);
    249258
    250         if (is_array( $wpc_cat_arr ) && count( $wpc_cat_arr ) > 0) {
    251             $products = Wpc_Utilities::product_query( "product" , $no_of_product , $wpc_cat_arr , "DESC" );
    252             ?>
     259        if (is_array($wpc_cat_arr) && count($wpc_cat_arr) > 0) {
     260            $products = Wpc_Utilities::product_query("product", $no_of_product, $wpc_cat_arr, "DESC");
     261        ?>
    253262            <div class='wpc-food-wrapper wpc-nav-shortcode'>
    254263                <div class="wpc-widget-wrapper">
    255                 <?php if(is_array( $products ) && count( $products )>0 ) :
    256                     foreach ($products as $product) { ?>
    257                         <div class="wpc-food-menu-item wpc-row">
    258                             <!-- thumbnail -->
    259                             <?php if ($product->get_image()) { ?>
    260                                 <div class="wpc-col-md-3">
    261                                     <div class="wpc-food-menu-thumb">
    262                                         <a href="<?php echo esc_url(get_permalink($product->get_id())); ?>">
    263                                             <?php echo Wpc_Utilities::wpc_kses($product->get_image()) ?>
    264                                         </a>
     264                    <?php if (is_array($products) && count($products) > 0) :
     265                        foreach ($products as $product) { ?>
     266                            <div class="wpc-food-menu-item wpc-row">
     267                                <!-- thumbnail -->
     268                                <?php if ($product->get_image()) { ?>
     269                                    <div class="wpc-col-md-3">
     270                                        <div class="wpc-food-menu-thumb">
     271                                            <a href="<?php echo esc_url(get_permalink($product->get_id())); ?>">
     272                                                <?php echo Wpc_Utilities::wpc_kses($product->get_image()) ?>
     273                                            </a>
     274                                        </div>
     275                                    </div>
     276                                <?php } ?>
     277                                <div class="wpc-col-md-9">
     278                                    <div class="wpc-food-inner-content">
     279                                        <!-- display tag -->
     280                                        <div class="wpc-menu-tag-wrap">
     281                                            <?php
     282                                            Utils::wpc_tag($product->get_id(), $product->is_in_stock());
     283                                            $price = '';
     284                                            if (wc_get_price_including_tax($product)) {
     285                                                $price      = wc_get_price_including_tax($product);
     286                                            } else {
     287                                                $price = wc_get_price_excluding_tax($product);
     288                                            }
     289                                            ?>
     290                                            <?php if ($product->get_price_suffix() != '') { ?>
     291                                                <ul class="wpc-menu-tag">
     292                                                    <li>
     293                                                        <?php if (wc_get_price_including_tax($product)) {
     294                                                            // get percentage tax
     295                                                            echo Wpc_Utilities::wpc_kses($product->get_price_suffix());
     296                                                        } ?>
     297                                                    </li>
     298                                                </ul>
     299                                            <?php } ?>
     300                                        </div>
     301                                        <h3 class="wpc-post-title">
     302                                            <a href="<?php echo esc_url(get_permalink($product->get_id())); ?>"><?php echo esc_html($product->get_name());  ?> </a>
     303                                            <?php if ($product->get_type() !== 'variable') { ?>
     304                                                <span class="wpc-menu-currency"><?php echo Wpc_Utilities::wpc_render(get_woocommerce_currency_symbol()); ?> <span class="wpc-menu-price"><?php echo esc_html($price); ?></span></span>
     305                                            <?php } else {
     306                                                $variation_price = $product->get_variation_prices(true); // true for getting tax price
     307                                                $var_price = '';
     308                                                if (is_array($variation_price) && isset($variation_price['price'])) {
     309                                                    $var_price = get_woocommerce_currency_symbol() . array_shift($variation_price['price']) . "-" . get_woocommerce_currency_symbol() . array_pop($variation_price['price']);
     310                                                } ?>
     311                                                <span class="wpc-menu-currency"><span class="wpc-menu-price"><?php echo esc_html($var_price); ?></span></span>
     312                                            <?php
     313                                            } ?>
     314                                        </h3>
     315                                        <?php
     316                                        // show product details
     317                                        echo  Wpc_Utilities::wpc_kses(get_the_excerpt($product->get_id()));
     318                                        // cart button
     319                                        echo  Wpc_Utilities::product_add_to_cart($product, $wpc_cart_button);
     320                                        ?>
    265321                                    </div>
    266322                                </div>
    267                             <?php } ?>
    268                             <div class="wpc-col-md-9">
    269                                 <div class="wpc-food-inner-content">
    270                                     <!-- display tag -->
    271                                     <div class="wpc-menu-tag-wrap">
    272                                         <?php
    273                                         Utils::wpc_tag($product->get_id(), $product->is_in_stock());
    274                                         $price = '';
    275                                         if (wc_get_price_including_tax($product)) {
    276                                             $price      = wc_get_price_including_tax($product);
    277                                         } else {
    278                                             $price = wc_get_price_excluding_tax($product);
    279                                         }
    280                                         ?>
    281                                         <?php if ($product->get_price_suffix() != '') { ?>
    282                                             <ul class="wpc-menu-tag">
    283                                                 <li>
    284                                                     <?php if (wc_get_price_including_tax($product)) {
    285                                                         // get percentage tax
    286                                                         echo Wpc_Utilities::wpc_kses($product->get_price_suffix());
    287                                                     } ?>
    288                                                 </li>
    289                                             </ul>
    290                                         <?php } ?>
    291                                     </div>
    292                                     <h3 class="wpc-post-title">
    293                                         <a href="<?php echo esc_url(get_permalink($product->get_id())); ?>"><?php echo esc_html($product->get_name());  ?> </a>
    294                                         <?php if ($product->get_type() !== 'variable') { ?>
    295                                             <span class="wpc-menu-currency"><?php echo Wpc_Utilities::wpc_render(get_woocommerce_currency_symbol()); ?> <span class="wpc-menu-price"><?php echo esc_html($price); ?></span></span>
    296                                         <?php } else {
    297                                             $variation_price = $product->get_variation_prices(true); // true for getting tax price
    298                                             $var_price = '';
    299                                             if (is_array($variation_price) && isset($variation_price['price'])) {
    300                                                 $var_price = get_woocommerce_currency_symbol() . array_shift($variation_price['price']) . "-" . get_woocommerce_currency_symbol() . array_pop($variation_price['price']);
    301                                             } ?>
    302                                             <span class="wpc-menu-currency"><span class="wpc-menu-price"><?php echo esc_html($var_price); ?></span></span>
    303                                         <?php
    304                                         } ?>
    305                                     </h3>
    306                                     <?php
    307                                     // show product details
    308                                     echo  Wpc_Utilities::wpc_kses(get_the_excerpt($product->get_id()));
    309                                     // cart button
    310                                     echo  Wpc_Utilities::product_add_to_cart( $product,$wpc_cart_button );
    311                                     ?>
    312                                 </div>
    313323                            </div>
    314                         </div>
    315                 <?php  } endif;  ?>
     324                    <?php  }
     325                    endif;  ?>
    316326                </div>
    317327            </div>
    … …  
    338348
    339349            $wpc_cart_icon  = '';
    340             $wpc_custom_css = '';
    341 
    342350            // icon
    343351            if (isset($settings['wpc_mini_cart_icon'])) {
    … …  
    347355            }
    348356
    349             // cart bg color
    350             if (isset($settings['wpc_primary_color'])) {
    351                 $bg_color = $settings['wpc_primary_color'] ? $settings['wpc_primary_color'] : "#5D78FF ";
    352                 $wpc_custom_css .= '.wpc_background_color { background-color : ' . esc_attr($bg_color) . '}';
    353                 //button
    354                 $wpc_custom_css .= '
    355                 .wpc_cart_block .wpc_background_color a.button.wc-forward,
    356                 .wpc-food-menu-item .wpc-food-inner-content .wpc-menu-tag li,
    357                 .wpc_cart_block .wpc_cart_icon,
    358                 .picker__holder .picker__box,
    359                 .wpc-food-menu-item .wpc-add-to-cart a,
    360                 .wpc-btn, .attr-btn-primary, .reservation_form_submit.wpc-btn, .cancell_form_submit.wpc-btn, .wpc-settings-dashboard .button-primary {
    361                      background-color : ' . esc_attr($bg_color) . '
    362                     }
    363 
    364                 .wpc-food-menu-item .wpc-food-inner-content .wpc-menu-currency,
    365                 .wpc-food-menu-item .wpc-food-inner-content .wpc-post-title a:hover,
    366                 .wpc_cart_block .woocommerce-mini-cart li a,
    367    
    368                 .wpc-food-tab-wrapper .wpc-nav li a.wpc-active{
    369                     color : ' . esc_attr($bg_color) . '
    370                 }
    371                 .wpc-food-tab-wrapper .wpc-nav li a.wpc-active{
    372                     border-bottom-color : ' . esc_attr($bg_color) . '
    373                 }
    374                 .wpc-food-tab-wrapper .wpc-nav li a:after{
    375                     border-color:' . esc_attr($bg_color) . ' transparent transparent transparent;
    376                 }
    377                    
    378                 ';
    379                 // icon cross
    380                 $wpc_custom_css .= '.wpc_cart_block .woocommerce-mini-cart li .remove.remove_from_cart_button { background-color : ' . esc_attr($bg_color) . '}';
    381             } else {
    382                 $wpc_custom_css .= '.wpc_background_color { background-color : #d5d5d5 }';
    383                 //button
    384                 $wpc_custom_css .= '.wpc_cart_block .wpc_background_color a.button.wc-forward { background-color : ' . esc_attr('#5D78FF') . '}';
    385             }
    386 
    387             // cart icon color
    388             if (isset($settings['wpc_secondary_color'])) {
    389                 $color = $settings['wpc_secondary_color'] ? $settings['wpc_secondary_color'] : "#d5d5d5 ";
    390 
    391                 //button hover
    392                 $wpc_custom_css .= '
    393                 .wpc_cart_block .wpc_background_color a.button.wc-forward:hover,
    394                 .wpc-btn:hover, .wpc-btn:focus, .attr-btn-primary:hover, .attr-btn-primary:focus,
    395                 .reservation_form_submit.wpc-btn:hover, .reservation_form_submit.wpc-btn:focus,
    396                 .cancell_form_submit.wpc-btn:hover, .cancell_form_submit.wpc-btn:focus,
    397                 .wpc-settings-dashboard .button-primary:hover,
    398                  .wpc-settings-dashboard .button-primary:focus,
    399                 #wpc_location_modal .wpc-close {
    400                      background-color : ' . esc_attr($color) . '
    401                     }
    402                 ';
    403                 // icon cross hover
    404                 $wpc_custom_css .= '.wpc_cart_block .woocommerce-mini-cart li .remove.remove_from_cart_button { background-color : ' . esc_attr($color) . '}';
    405                 // count
    406                 $wpc_custom_css .= '.cart-items-count { color : ' . esc_attr($color) . '}';
    407             } else {
    408                 $wpc_custom_css .= 'a.wpc_cart_icon i { color : #000}';
    409                 //button hover
    410                 $wpc_custom_css .= '.wpc_cart_block .wpc_background_color a.button.wc-forward:hover { background-color : ' . esc_attr('#5D78FF') . '}';
    411                 // icon cross hover
    412                 $wpc_custom_css .= '.wpc_cart_block .woocommerce-mini-cart li .remove.remove_from_cart_button:hover { background-color : ' . esc_attr($color) . '}';
    413                 // count
    414                 $wpc_custom_css .= '.cart-items-count { color : ' . esc_attr('#fff') . '}';
    415             }
    416 
    417             // add inline css
    418             wp_register_style('wpc-cart-css', false);
    419             wp_enqueue_style('wpc-cart-css');
    420             wp_add_inline_style('wpc-cart-css', $wpc_custom_css);
    421357        ?>
    422358            <ul class="wpc_cart_block"><a href="#" class="wpc_cart_icon">
    … …  
    606542        return $columns;
    607543    }
     544
     545
     546
     547    /**
     548     * Custom inline css
     549     *
     550     */
     551    public function wpc_custom_inline_css()
     552    {
     553        if (!class_exists('WooCommerce')) {
     554            return;
     555        }
     556        $settings       = $this->settings_obj;
     557
     558        $wpc_custom_css = '';
     559
     560        // cart bg color
     561        if (isset($settings['wpc_primary_color'])) {
     562            $bg_color = $settings['wpc_primary_color'] ? $settings['wpc_primary_color'] : "#5D78FF ";
     563            $wpc_custom_css .= '.wpc_background_color { background-color : ' . esc_attr($bg_color) . '}';
     564            //button
     565            $wpc_custom_css .= '
     566                .wpc_cart_block .wpc_background_color a.button.wc-forward,
     567                .wpc-food-menu-item .wpc-food-inner-content .wpc-menu-tag li,
     568                .wpc_cart_block .wpc_cart_icon,
     569                .picker__holder .picker__box,
     570                .wpc-food-menu-item .wpc-add-to-cart a,
     571                .wpc-reservation-field.date .flatpickr-calendar,
     572                .wpc-category-list-style1 .wpc-category-title a, .wpc-category-list-style3 .wpc-category-title a,
     573                .wpc-reservation-form .wpc_reservation_user_info,
     574                body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button,
     575                body.woocomerce-layout-override-enable .woocommerce button.button.alt,
     576                body.woocomerce-layout-override-enable.archive .products .product .button,
     577                body.woocomerce-layout-override-enable.archive .products .product .added_to_cart,
     578                body.woocomerce-layout-override-enable.single-product .products .product .button,
     579                body.woocomerce-layout-override-enable.single-product .products .product .added_to_cart,
     580                body.woocomerce-layout-override-enable.woocommerce #respond input#submit,
     581                .wpc-food-menu-item .wpc-menu-tag li,
     582                body.woocomerce-layout-override-enable.woocommerce button.button.alt,
     583                body.woocomerce-layout-override-enable.single-product div.product .woocommerce-tabs ul li.active,
     584                body.woocomerce-layout-override-enable.archive .woocommerce-pagination li span.current,
     585                 body.woocomerce-layout-override-enable.archive .woocommerce-pagination li a.current,
     586                body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .shop_table a.remove,
     587                .wpc-btn, .attr-btn-primary, .reservation_form_submit.wpc-btn, .cancell_form_submit.wpc-btn, .wpc-settings-dashboard .button-primary {
     588                     background-color : ' . esc_attr($bg_color) . '
     589                    }
     590
     591                .wpc-food-menu-item .wpc-food-inner-content .wpc-menu-currency,
     592                .wpc-food-menu-item .wpc-food-inner-content .wpc-post-title a:hover,
     593                .wpc_cart_block .woocommerce-mini-cart li a,
     594             
     595                body.woocomerce-layout-override-enable.archive .products .product .price,
     596                body.woocomerce-layout-override-enable.single-product .products .product .price,
     597                body.woocomerce-layout-override-enable.single-product .products .product .woocommerce-loop-product__title:hover,
     598                body.woocomerce-layout-override-enable .products .product .woocommerce-loop-product__title:hover,
     599                body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .shop_table tbody td.product-name a:hover,
     600                .woocomerce-layout-override-enable.woocommerce-checkout .woocommerce table.shop_table.woocommerce-checkout-review-order-table tfoot tr.order-total th,
     601                 .woocomerce-layout-override-enable.woocommerce-checkout .woocommerce table.shop_table.woocommerce-checkout-review-order-table tfoot tr.order-total td,
     602                .wpc-food-tab-wrapper .wpc-nav li a.wpc-active{
     603                    color : ' . esc_attr($bg_color) . '
     604                }
     605                .wpc-food-tab-wrapper .wpc-nav li a.wpc-active{
     606                    border-bottom-color : ' . esc_attr($bg_color) . '
     607                }
     608                body.woocomerce-layout-override-enable.single-product div.product .woocommerce-tabs ul li.active{
     609                    border-right-color : ' . esc_attr($bg_color) . '
     610                }
     611                .wpc-food-tab-wrapper .wpc-nav li a:after{
     612                    border-color:' . esc_attr($bg_color) . ' transparent transparent transparent;
     613                }
     614                   
     615                ';
     616            // icon cross
     617            $wpc_custom_css .= '.wpc_cart_block .woocommerce-mini-cart li .remove.remove_from_cart_button { background-color : ' . esc_attr($bg_color) . '}';
     618        } else {
     619            $wpc_custom_css .= '.wpc_background_color { background-color : #d5d5d5 }';
     620            //button
     621            $wpc_custom_css .= '.wpc_cart_block .wpc_background_color a.button.wc-forward { background-color : ' . esc_attr('#5D78FF') . '}';
     622        }
     623
     624        // cart icon color
     625        if (isset($settings['wpc_secondary_color'])) {
     626            $color = $settings['wpc_secondary_color'] ? $settings['wpc_secondary_color'] : "";
     627
     628            //button hover
     629            $wpc_custom_css .= '
     630                .wpc_cart_block .wpc_background_color a.button.wc-forward:hover,
     631                .wpc-btn:hover, .wpc-btn:focus, .attr-btn-primary:hover, .attr-btn-primary:focus,
     632                .reservation_form_submit.wpc-btn:hover, .reservation_form_submit.wpc-btn:focus,
     633                .cancell_form_submit.wpc-btn:hover, .cancell_form_submit.wpc-btn:focus,
     634                .wpc-settings-dashboard .button-primary:hover,
     635                 .wpc-settings-dashboard .button-primary:focus,
     636                 body.woocomerce-layout-override-enable.woocommerce button.button.alt:hover,
     637                 body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .shop_table a.remove:hover,
     638                 body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button:hover,
     639                 .wpc-reservation-form .wpc_reservation_user_info .wpc_log_message,
     640                 body.woocomerce-layout-override-enable.woocommerce #respond input#submit:hover,
     641                 body.woocomerce-layout-override-enable .products .product span.onsale,
     642                 body.woocomerce-layout-override-enable.single-product .products .product span.onsale,
     643                 body.woocomerce-layout-override-enable .woocommerce button.button.alt:hover,
     644                #wpc_location_modal .wpc-close {
     645                     background-color : ' . esc_attr($color) . '
     646                    }
     647                ';
     648            // icon cross hover
     649            $wpc_custom_css .= '.wpc_cart_block .woocommerce-mini-cart li .remove.remove_from_cart_button { background-color : ' . esc_attr($color) . '}';
     650            // count
     651            $wpc_custom_css .= '
     652                .cart-items-count,
     653                .woocomerce-layout-override-enable.woocommerce div.product p.price,
     654                .woocomerce-layout-override-enable.woocommerce div.product span.price
     655                {
     656                    color : ' . esc_attr($color) .
     657                '}';
     658        } else {
     659            $wpc_custom_css .= 'a.wpc_cart_icon i { color : #000}';
     660            //button hover
     661            $wpc_custom_css .= '.wpc_cart_block .wpc_background_color a.button.wc-forward:hover { background-color : ' . esc_attr('#5D78FF') . '}';
     662            // icon cross hover
     663            $wpc_custom_css .= '.wpc_cart_block .woocommerce-mini-cart li .remove.remove_from_cart_button:hover { background-color : ' . esc_attr('#5D78FF') . '}';
     664            // count
     665            $wpc_custom_css .= '.cart-items-count { color : ' . esc_attr('#fff') . '}';
     666        }
     667
     668        // add inline css
     669        wp_register_style('wpc-cart-css', false);
     670        wp_enqueue_style('wpc-cart-css');
     671        wp_add_inline_style('wpc-cart-css', $wpc_custom_css);
     672    }
    608673}
  • wp-cafe/tags/1.1.3/core/widgets/reservation-form-template.php

    r2358899 r2387102  
    1515if (is_array($result_data) && isset( $result_data['calender_view'])) {
    1616    $view      = $result_data['calender_view'];
    17     $column_lg = $result_data['column_lg'];
    18     $column_md = $result_data['column_md'];
     17    $column_lg = isset($result_data['column_lg']) ? $result_data['column_lg'] : 'wpc-col-lg-6';
     18    $column_md = isset($result_data['column_md']) ? $result_data['column_md'] : 'wpc-col-md-12';
    1919} else {
    2020    $view = 'yes';
    … …  
    2323}
    2424
     25$booking_status = isset( $result_data['booking_status'] ) ? $result_data['booking_status']: '';
     26
    2527$wpc_image_url = WPC_ASSETS . 'images/wpc_reservation_image.jpeg';
    2628if (is_array($atts) && isset($atts['wpc_image_url']) && $atts['wpc_image_url'] !== '') {
    … …  
    2830}
    2931?>
    30 <div class='wpc-reservation-form <?php echo esc_attr($cancellation_option) ?>'>
     32<div class='wpc-reservation-form <?php echo esc_attr($cancellation_option) ?>'
     33data-reservation_status='<?php echo esc_attr( $booking_status ) ?>'>
    3134    <div class='wpc_cancell_log_message'></div>
    3235    <div class='wpc_error_message'></div>
  • wp-cafe/tags/1.1.3/languages/wpcafe.pot

    r2371829 r2387102  
    44"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
    55"Project-Id-Version: WP Cafe\n"
    6 "POT-Creation-Date: 2020-08-30 15:37+0600\n"
    7 "PO-Revision-Date: 2020-08-30 15:37+0600\n"
     6"POT-Creation-Date: 2020-09-23 18:55+0600\n"
     7"PO-Revision-Date: 2020-09-23 18:55+0600\n"
    88"Last-Translator: \n"
    99"Language-Team: \n"
    … …  
    113113#: core/metaboxes/wpc-reservation-meta.php:37
    114114#: core/report/wpc-reservation-report.php:33
    115 #: core/widgets/reservation-form-template.php:102
     115#: core/widgets/reservation-form-template.php:105
    116116msgid "Name"
    117117msgstr ""
    … …  
    124124#: core/report/wpc-reservation-report.php:34
    125125#: core/widgets/cancellation-form-template.php:14
    126 #: core/widgets/reservation-form-template.php:108
     126#: core/widgets/reservation-form-template.php:111
    127127msgid "Email"
    128128msgstr ""
    … …  
    135135#: core/report/wpc-reservation-report.php:35
    136136#: core/widgets/cancellation-form-template.php:20
    137 #: core/widgets/reservation-form-template.php:116
     137#: core/widgets/reservation-form-template.php:119
    138138msgid "Phone"
    139139msgstr ""
    … …  
    154154#: core/metaboxes/wpc-reservation-meta.php:77
    155155#: core/report/wpc-reservation-report.php:37
    156 #: core/widgets/reservation-form-template.php:125
     156#: core/widgets/reservation-form-template.php:128
    157157msgid "Date"
    158158msgstr ""
    … …  
    163163
    164164#: core/metaboxes/wpc-reservation-meta.php:87
    165 #: core/widgets/reservation-form-template.php:135
     165#: core/widgets/reservation-form-template.php:138
    166166msgid "From"
    167167msgstr ""
    … …  
    172172
    173173#: core/metaboxes/wpc-reservation-meta.php:97
    174 #: core/widgets/reservation-form-template.php:141
     174#: core/widgets/reservation-form-template.php:144
    175175msgid "To"
    176176msgstr ""
    … …  
    258258msgstr ""
    259259
    260 #: core/template/wpc-key-options.php:101
     260#: core/template/wpc-key-options.php:106
    261261msgid ""
    262262"Thank you for  booking. Your booking is confirmed.Please check your email to "
    … …  
    264264msgstr ""
    265265
    266 #: core/template/wpc-key-options.php:103
     266#: core/template/wpc-key-options.php:108
    267267msgid ""
    268268"Thank you for  booking. Your booking is pending. Please check your email to "
    … …  
    270270msgstr ""
    271271
    272 #: core/template/wpc-key-options.php:138
     272#: core/template/wpc-key-options.php:143
    273273msgid "Schedule options"
    274274msgstr ""
    275275
    276 #: core/template/wpc-key-options.php:141
     276#: core/template/wpc-key-options.php:146
    277277msgid "Schedule"
    278278msgstr ""
    279279
    280 #: core/template/wpc-key-options.php:142
     280#: core/template/wpc-key-options.php:147
    281281msgid "Set opening and closing schedule of your restaurant"
    282282msgstr ""
    283283
    284 #: core/template/wpc-key-options.php:147
     284#: core/template/wpc-key-options.php:152
    285285msgid ""
    286286"Weekly (set opening and closing schedule for each day of a week seperately)"
    287287msgstr ""
    288288
    289 #: core/template/wpc-key-options.php:164 core/template/wpc-key-options.php:189
     289#: core/template/wpc-key-options.php:169 core/template/wpc-key-options.php:194
    290290msgid "Sat"
    291291msgstr ""
    292292
    293 #: core/template/wpc-key-options.php:165 core/template/wpc-key-options.php:190
     293#: core/template/wpc-key-options.php:170 core/template/wpc-key-options.php:195
    294294msgid "Sun"
    295295msgstr ""
    296296
    297 #: core/template/wpc-key-options.php:166 core/template/wpc-key-options.php:191
     297#: core/template/wpc-key-options.php:171 core/template/wpc-key-options.php:196
    298298msgid "Mon"
    299299msgstr ""
    300300
    301 #: core/template/wpc-key-options.php:167 core/template/wpc-key-options.php:192
     301#: core/template/wpc-key-options.php:172 core/template/wpc-key-options.php:197
    302302msgid "Tue"
    303303msgstr ""
    304304
    305 #: core/template/wpc-key-options.php:168 core/template/wpc-key-options.php:193
     305#: core/template/wpc-key-options.php:173 core/template/wpc-key-options.php:198
    306306msgid "Wed"
    307307msgstr ""
    308308
    309 #: core/template/wpc-key-options.php:169 core/template/wpc-key-options.php:194
     309#: core/template/wpc-key-options.php:174 core/template/wpc-key-options.php:199
    310310msgid "Thu"
    311311msgstr ""
    312312
    313 #: core/template/wpc-key-options.php:170 core/template/wpc-key-options.php:195
     313#: core/template/wpc-key-options.php:175 core/template/wpc-key-options.php:200
    314314msgid "Fri"
    315315msgstr ""
    316316
    317 #: core/template/wpc-key-options.php:213
     317#: core/template/wpc-key-options.php:218
    318318msgid "All day (set opening and closing schedule for all days of a week)"
    319319msgstr ""
    320320
    321 #: core/template/wpc-key-options.php:227
     321#: core/template/wpc-key-options.php:232
    322322msgid "Exceptions"
    323323msgstr ""
    324324
    325 #: core/template/wpc-key-options.php:228
     325#: core/template/wpc-key-options.php:233
    326326msgid "Set opening and closing schedule for any special day"
    327327msgstr ""
    328328
    329 #: core/template/wpc-key-options.php:273
     329#: core/template/wpc-key-options.php:278
    330330msgid "Early bookings"
    331331msgstr ""
    332332
    333 #: core/template/wpc-key-options.php:274
     333#: core/template/wpc-key-options.php:279
    334334msgid ""
    335335"Set time limit for early booking. user can not pre-book before the defined "
    … …  
    337337msgstr ""
    338338
    339 #: core/template/wpc-key-options.php:280
     339#: core/template/wpc-key-options.php:285
    340340msgid "Any time"
    341341msgstr ""
    342342
    343 #: core/template/wpc-key-options.php:281
     343#: core/template/wpc-key-options.php:286
    344344msgid "From 1 day advance"
    345345msgstr ""
    346346
    347 #: core/template/wpc-key-options.php:282
     347#: core/template/wpc-key-options.php:287
    348348msgid "From 1 week advance"
    349349msgstr ""
    350350
    351 #: core/template/wpc-key-options.php:283
     351#: core/template/wpc-key-options.php:288
    352352msgid "From 1 month advance"
    353353msgstr ""
    354354
    355 #: core/template/wpc-key-options.php:294
     355#: core/template/wpc-key-options.php:299
    356356msgid "Late bookings"
    357357msgstr ""
    358358
    359 #: core/template/wpc-key-options.php:295
     359#: core/template/wpc-key-options.php:300
    360360msgid ""
    361361"Set time limit for late booking. user can not pre-book after the defined time"
    362362msgstr ""
    363363
    364 #: core/template/wpc-key-options.php:301
     364#: core/template/wpc-key-options.php:306
    365365msgid "Up to the last minute"
    366366msgstr ""
    367367
    368 #: core/template/wpc-key-options.php:302
     368#: core/template/wpc-key-options.php:307
    369369msgid "Atleast 15 minutes in advance"
    370370msgstr ""
    371371
    372 #: core/template/wpc-key-options.php:303
     372#: core/template/wpc-key-options.php:308
    373373msgid "Atleast 30 minutes in advance"
    374374msgstr ""
    375375
    376 #: core/template/wpc-key-options.php:304
     376#: core/template/wpc-key-options.php:309
    377377msgid "Atleast 45 minutes in advance"
    378378msgstr ""
    379379
    380 #: core/template/wpc-key-options.php:318
     380#: core/template/wpc-key-options.php:325
    381381msgid "General Option"
    382382msgstr ""
    383383
    384 #: core/template/wpc-key-options.php:321
     384#: core/template/wpc-key-options.php:328
    385385msgid "Display pages"
    386386msgstr ""
    387387
    388 #: core/template/wpc-key-options.php:322
     388#: core/template/wpc-key-options.php:329
    389389msgid "Display reservation form only in the selected page"
    390390msgstr ""
    391391
    392 #: core/template/wpc-key-options.php:326
     392#: core/template/wpc-key-options.php:333
    393393msgid "Select a page"
    394394msgstr ""
    395395
    396 #: core/template/wpc-key-options.php:333 core/template/wpc-key-options.php:520
    397 #: core/template/wpc-key-options.php:535 core/template/wpc-key-options.php:549
    398 #: core/template/wpc-key-options.php:563
     396#: core/template/wpc-key-options.php:340 core/template/wpc-key-options.php:532
     397#: core/template/wpc-key-options.php:547 core/template/wpc-key-options.php:561
     398#: core/template/wpc-key-options.php:575
    399399msgid "pro version only"
    400400msgstr ""
    401401
    402 #: core/template/wpc-key-options.php:339
     402#: core/template/wpc-key-options.php:351
    403403msgid "Automatically confirmed below guest no"
    404404msgstr ""
    405405
    406 #: core/template/wpc-key-options.php:340
     406#: core/template/wpc-key-options.php:352
    407407msgid "Confirmed a reservation if no. of guests is below the selected number"
    408408msgstr ""
    409409
    410 #: core/template/wpc-key-options.php:344 core/template/wpc-key-options.php:362
    411 #: core/template/wpc-key-options.php:380
     410#: core/template/wpc-key-options.php:356 core/template/wpc-key-options.php:374
     411#: core/template/wpc-key-options.php:392
    412412msgid "Select no. of guests"
    413413msgstr ""
    414414
    415 #: core/template/wpc-key-options.php:357
     415#: core/template/wpc-key-options.php:369
    416416msgid "Min guest no."
    417417msgstr ""
    418418
    419 #: core/template/wpc-key-options.php:358
     419#: core/template/wpc-key-options.php:370
    420420msgid "No. of minimum allowed guest for a single reservation"
    421421msgstr ""
    422422
    423 #: core/template/wpc-key-options.php:375
     423#: core/template/wpc-key-options.php:387
    424424msgid "Max guest no."
    425425msgstr ""
    426426
    427 #: core/template/wpc-key-options.php:376
     427#: core/template/wpc-key-options.php:388
    428428msgid "No. of maximum allowed guest for a single reservation"
    429429msgstr ""
    430430
    431 #: core/template/wpc-key-options.php:392
     431#: core/template/wpc-key-options.php:404
    432432msgid "Allow Cancellations"
    433433msgstr ""
    434434
    435 #: core/template/wpc-key-options.php:393
     435#: core/template/wpc-key-options.php:405
    436436msgid "Allow user to cancelled reservation through cancellation form"
    437437msgstr ""
    438438
    439 #: core/template/wpc-key-options.php:403
     439#: core/template/wpc-key-options.php:415
    440440msgid "Require phone"
    441441msgstr ""
    442442
    443 #: core/template/wpc-key-options.php:404
     443#: core/template/wpc-key-options.php:416
    444444msgid "Make phone / contact no. required while placing reservation"
    445445msgstr ""
    446446
    447 #: core/template/wpc-key-options.php:416
     447#: core/template/wpc-key-options.php:428
    448448msgid "Pending message"
    449449msgstr ""
    450450
    451 #: core/template/wpc-key-options.php:417
     451#: core/template/wpc-key-options.php:429
    452452msgid ""
    453453"Message which will be shown when a user successfully places a reservation"
    454454msgstr ""
    455455
    456 #: core/template/wpc-key-options.php:425
     456#: core/template/wpc-key-options.php:437
    457457msgid "Reservation confirmed message"
    458458msgstr ""
    459459
    460 #: core/template/wpc-key-options.php:426
     460#: core/template/wpc-key-options.php:438
    461461msgid "Message which will be shown when a user's reservation is confirmed"
    462462msgstr ""
    463463
    464 #: core/template/wpc-key-options.php:433
     464#: core/template/wpc-key-options.php:445
    465465msgid "Booking Form"
    466466msgstr ""
    467467
    468 #: core/template/wpc-key-options.php:436
     468#: core/template/wpc-key-options.php:448
    469469msgid "Date format"
    470470msgstr ""
    471471
    472 #: core/template/wpc-key-options.php:437
     472#: core/template/wpc-key-options.php:449
    473473msgid "Date format of reservation form"
    474474msgstr ""
    475475
    476 #: core/template/wpc-key-options.php:451
     476#: core/template/wpc-key-options.php:463
    477477msgid "Time format"
    478478msgstr ""
    479479
    480 #: core/template/wpc-key-options.php:452
     480#: core/template/wpc-key-options.php:464
    481481msgid "Time format of reservation form"
    482482msgstr ""
    483483
    484 #: core/template/wpc-key-options.php:456
     484#: core/template/wpc-key-options.php:468
    485485msgid "24h"
    486486msgstr ""
    487487
    488 #: core/template/wpc-key-options.php:457
     488#: core/template/wpc-key-options.php:469
    489489msgid "12h"
    490490msgstr ""
    491491
    492 #: core/template/wpc-key-options.php:466
     492#: core/template/wpc-key-options.php:478
    493493msgid "Notification"
    494494msgstr ""
    495495
    496 #: core/template/wpc-key-options.php:469
     496#: core/template/wpc-key-options.php:481
    497497msgid "Reply-To Name"
    498498msgstr ""
    499499
    500 #: core/template/wpc-key-options.php:470
     500#: core/template/wpc-key-options.php:482
    501501msgid "Set the 'reply-to' name that will be shown on email sent to user"
    502502msgstr ""
    503503
    504 #: core/template/wpc-key-options.php:480
     504#: core/template/wpc-key-options.php:492
    505505msgid "Admin email address"
    506506msgstr ""
    507507
    508 #: core/template/wpc-key-options.php:481
     508#: core/template/wpc-key-options.php:493
    509509msgid "Set the admin-email address to use in email"
    510510msgstr ""
    511511
    512 #: core/template/wpc-key-options.php:491
     512#: core/template/wpc-key-options.php:503
    513513msgid "Admin notification for new booking"
    514514msgstr ""
    515515
    516 #: core/template/wpc-key-options.php:492
     516#: core/template/wpc-key-options.php:504
    517517msgid "Send email to admin when a new reservation arrives"
    518518msgstr ""
    519519
    520 #: core/template/wpc-key-options.php:502
     520#: core/template/wpc-key-options.php:514
    521521msgid "Notify user about new booking request"
    522522msgstr ""
    523523
    524 #: core/template/wpc-key-options.php:503
     524#: core/template/wpc-key-options.php:515
    525525msgid "Send email to user after placing a reservation successfully"
    526526msgstr ""
    527527
    528 #: core/template/wpc-key-options.php:513
     528#: core/template/wpc-key-options.php:525
    529529msgid "Notify user confirmed request"
    530530msgstr ""
    531531
    532 #: core/template/wpc-key-options.php:514
     532#: core/template/wpc-key-options.php:526
    533533msgid "Send email to user when a reservation is confirmed"
    534534msgstr ""
    535535
    536 #: core/template/wpc-key-options.php:525
     536#: core/template/wpc-key-options.php:537
    537537msgid "Notify admin about confirmed request"
    538538msgstr ""
    539539
    540 #: core/template/wpc-key-options.php:526
     540#: core/template/wpc-key-options.php:538
    541541msgid "Send email to admin when a reservation is confirmed"
    542542msgstr ""
    543543
    544 #: core/template/wpc-key-options.php:540
     544#: core/template/wpc-key-options.php:552
    545545msgid "Notify user about cancelled request"
    546546msgstr ""
    547547
    548 #: core/template/wpc-key-options.php:541
     548#: core/template/wpc-key-options.php:553
    549549msgid "Send email to user when a reservation is cancelled"
    550550msgstr ""
    551551
    552 #: core/template/wpc-key-options.php:554
     552#: core/template/wpc-key-options.php:566
    553553msgid "Notify admin about cancelled request"
    554554msgstr ""
    555555
    556 #: core/template/wpc-key-options.php:555
     556#: core/template/wpc-key-options.php:567
    557557msgid "Send email to admin when a reservation is cancelled"
    558558msgstr ""
    559559
    560 #: core/template/wpc-key-options.php:566
     560#: core/template/wpc-key-options.php:578
    561561msgid "Notification Emails"
    562562msgstr ""
    563563
    564 #: core/template/wpc-key-options.php:569
     564#: core/template/wpc-key-options.php:581
    565565msgid "Template tags"
    566566msgstr ""
    567567
    568 #: core/template/wpc-key-options.php:571
     568#: core/template/wpc-key-options.php:583
    569569msgid ""
    570570"Use the following tags to automatically add booking information to the emails"
    571571msgstr ""
    572572
    573 #: core/template/wpc-key-options.php:576
     573#: core/template/wpc-key-options.php:588
    574574msgid "Email of the user who made the booking"
    575575msgstr ""
    576576
    577 #: core/template/wpc-key-options.php:580
     577#: core/template/wpc-key-options.php:592
    578578msgid "* Name of the user who made the booking"
    579579msgstr ""
    580580
    581 #: core/template/wpc-key-options.php:584
     581#: core/template/wpc-key-options.php:596
    582582msgid "* Number of people booked"
    583583msgstr ""
    584584
    585 #: core/template/wpc-key-options.php:588
     585#: core/template/wpc-key-options.php:600
    586586msgid "* Date and time of the booking"
    587587msgstr ""
    588588
    589 #: core/template/wpc-key-options.php:592
     589#: core/template/wpc-key-options.php:604
    590590msgid "Phone number if supplied with the request"
    591591msgstr ""
    592592
    593 #: core/template/wpc-key-options.php:596
     593#: core/template/wpc-key-options.php:608
    594594msgid "Message added to the request"
    595595msgstr ""
    596596
    597 #: core/template/wpc-key-options.php:600
     597#: core/template/wpc-key-options.php:612
    598598msgid "The name of this website"
    599599msgstr ""
    600600
    601 #: core/template/wpc-key-options.php:604
     601#: core/template/wpc-key-options.php:616
    602602msgid "A link to this website"
    603603msgstr ""
    604604
    605 #: core/template/wpc-key-options.php:608
     605#: core/template/wpc-key-options.php:620
    606606msgid "Current date and time"
    607607msgstr ""
    608608
    609 #: core/template/wpc-key-options.php:620
     609#: core/template/wpc-key-options.php:632
    610610msgid "Admin new reservation email subject"
    611611msgstr ""
    612612
    613 #: core/template/wpc-key-options.php:621
     613#: core/template/wpc-key-options.php:633
    614614msgid ""
    615615"Subject of email that will be sent to admin when a new reservation occurs "
    616616msgstr ""
    617617
    618 #: core/template/wpc-key-options.php:631
     618#: core/template/wpc-key-options.php:643
    619619msgid "Admin new reservation email body"
    620620msgstr ""
    621621
    622 #: core/template/wpc-key-options.php:632 core/template/wpc-key-options.php:653
     622#: core/template/wpc-key-options.php:644 core/template/wpc-key-options.php:665
    623623msgid "Body of email that will be sent to admin when a new reservation occurs "
    624624msgstr ""
    625625
    626 #: core/template/wpc-key-options.php:641
     626#: core/template/wpc-key-options.php:653
    627627msgid "New request email subject to user"
    628628msgstr ""
    629629
    630 #: core/template/wpc-key-options.php:642
     630#: core/template/wpc-key-options.php:654
    631631msgid ""
    632632"Subject of email that will be sent to user when a new reservation occurs "
    633633msgstr ""
    634634
    635 #: core/template/wpc-key-options.php:652
     635#: core/template/wpc-key-options.php:664
    636636msgid "User new booking request email body"
    637637msgstr ""
    638638
    639 #: core/template/wpc-key-options.php:662
     639#: core/template/wpc-key-options.php:674
    640640msgid "Admin reservation confirm email subject"
    641641msgstr ""
    642642
    643 #: core/template/wpc-key-options.php:663
     643#: core/template/wpc-key-options.php:675
    644644msgid ""
    645645"Subject of email that will be sent to admin when a reservation is confirmed "
    646646msgstr ""
    647647
    648 #: core/template/wpc-key-options.php:669 core/template/wpc-key-options.php:691
    649 #: core/template/wpc-key-options.php:714 core/template/wpc-key-options.php:736
     648#: core/template/wpc-key-options.php:681 core/template/wpc-key-options.php:703
     649#: core/template/wpc-key-options.php:726 core/template/wpc-key-options.php:748
    650650msgid "Pro version only"
    651651msgstr ""
    652652
    653 #: core/template/wpc-key-options.php:674
     653#: core/template/wpc-key-options.php:686
    654654msgid "Admin reservation confirm email body"
    655655msgstr ""
    656656
    657 #: core/template/wpc-key-options.php:675
     657#: core/template/wpc-key-options.php:687
    658658msgid ""
    659659"Body of email that will be sent to admin when a reservation is confirmed "
    660660msgstr ""
    661661
    662 #: core/template/wpc-key-options.php:684
     662#: core/template/wpc-key-options.php:696
    663663msgid "Admin booking cancelled Subject"
    664664msgstr ""
    665665
    666 #: core/template/wpc-key-options.php:685
     666#: core/template/wpc-key-options.php:697
    667667msgid ""
    668668"Subject of email that will be sent to admin when a reservation is cancelled "
    669669msgstr ""
    670670
    671 #: core/template/wpc-key-options.php:696
     671#: core/template/wpc-key-options.php:708
    672672msgid "Admin booking cancelled email"
    673673msgstr ""
    674674
    675 #: core/template/wpc-key-options.php:697
     675#: core/template/wpc-key-options.php:709
    676676msgid ""
    677677"Body of email that will be sent to admin when a reservation is cancelled "
    678678msgstr ""
    679679
    680 #: core/template/wpc-key-options.php:707
     680#: core/template/wpc-key-options.php:719
    681681msgid "User confirmed email subject"
    682682msgstr ""
    683683
    684 #: core/template/wpc-key-options.php:708
     684#: core/template/wpc-key-options.php:720
    685685msgid ""
    686686"Subject of email that will be sent to user when reservation is confirmed "
    687687msgstr ""
    688688
    689 #: core/template/wpc-key-options.php:719
     689#: core/template/wpc-key-options.php:731
    690690msgid "User confirmed email"
    691691msgstr ""
    692692
    693 #: core/template/wpc-key-options.php:720
     693#: core/template/wpc-key-options.php:732
    694694msgid "Body of email that will be sent to user when reservation is confirmed "
    695695msgstr ""
    696696
    697 #: core/template/wpc-key-options.php:729
     697#: core/template/wpc-key-options.php:741
    698698msgid "User cancelled email subject"
    699699msgstr ""
    700700
    701 #: core/template/wpc-key-options.php:730
     701#: core/template/wpc-key-options.php:742
    702702msgid ""
    703703"Subject of email that will be sent to user when a reservation is Cancelled "
    704704msgstr ""
    705705
    706 #: core/template/wpc-key-options.php:741
     706#: core/template/wpc-key-options.php:753
    707707msgid "User cancelled email"
    708708msgstr ""
    709709
    710 #: core/template/wpc-key-options.php:742
     710#: core/template/wpc-key-options.php:754
    711711msgid ""
    712712"Body of email that will be sent to user when a reservation is Cancelled "
    713713msgstr ""
    714714
    715 #: core/template/wpc-key-options.php:754
     715#: core/template/wpc-key-options.php:766
    716716msgid "Food Menu Options"
    717717msgstr ""
    718718
    719 #: core/template/wpc-key-options.php:757
     719#: core/template/wpc-key-options.php:769
    720720msgid "Allow location"
    721721msgstr ""
    722722
    723 #: core/template/wpc-key-options.php:758
     723#: core/template/wpc-key-options.php:770
    724724msgid ""
    725725"Show location dropdown on front-end menu (only in front page) and checkout"
    726726msgstr ""
    727727
    728 #: core/template/wpc-key-options.php:768
     728#: core/template/wpc-key-options.php:780
    729729msgid "Allow Cart"
    730730msgstr ""
    731731
    732 #: core/template/wpc-key-options.php:769
     732#: core/template/wpc-key-options.php:781
    733733msgid "Show cart on the frontend"
    734734msgstr ""
    735735
    736 #: core/template/wpc-key-options.php:779
     736#: core/template/wpc-key-options.php:791
    737737msgid "Minicart icon"
    738738msgstr ""
    739739
    740 #: core/template/wpc-key-options.php:780
     740#: core/template/wpc-key-options.php:792
    741741msgid "Icon class for mini cart"
    742742msgstr ""
    743743
    744 #: core/template/wpc-key-options.php:786
     744#: core/template/wpc-key-options.php:798
    745745msgid "For instance : fa fa-shopping-cart"
    746746msgstr ""
    747747
    748 #: core/template/wpc-key-options.php:791
     748#: core/template/wpc-key-options.php:803
    749749msgid "Primary color"
    750750msgstr ""
    751751
    752 #: core/template/wpc-key-options.php:792
     752#: core/template/wpc-key-options.php:804
    753753msgid "Choose primary color for menu"
    754754msgstr ""
    755755
    756 #: core/template/wpc-key-options.php:802
     756#: core/template/wpc-key-options.php:814
    757757msgid "Secondary color"
    758758msgstr ""
    759759
    760 #: core/template/wpc-key-options.php:803
     760#: core/template/wpc-key-options.php:815
    761761msgid "Choose secondary color for menu"
    762762msgstr ""
    763763
    764 #: core/template/wpc-key-options.php:817
     764#: core/template/wpc-key-options.php:832
    765765msgid "Shortcode"
    766766msgstr ""
    767767
    768 #: core/template/wpc-key-options.php:821
     768#: core/template/wpc-key-options.php:836
    769769msgid "Reservation Form"
    770770msgstr ""
    771771
    772 #: core/template/wpc-key-options.php:822
     772#: core/template/wpc-key-options.php:837
    773773msgid ""
    774774"Use this [wpc_reservation_form wpc_image_url=''] shortcode anywhere you want "
    … …  
    776776msgstr ""
    777777
    778 #: core/template/wpc-key-options.php:836
     778#: core/template/wpc-key-options.php:851
    779779msgid "Show Food Menu tab"
    780780msgstr ""
    781781
    782 #: core/template/wpc-key-options.php:837
     782#: core/template/wpc-key-options.php:852
    783783msgid ""
    784784"You can use [wpc_food_menu_tab wpc_food_categories='16,21,18,17,20'  "
    … …  
    786786msgstr ""
    787787
    788 #: core/template/wpc-key-options.php:848
     788#: core/template/wpc-key-options.php:863
    789789msgid "Show Food Menu List"
    790790msgstr ""
    791791
    792 #: core/template/wpc-key-options.php:849
     792#: core/template/wpc-key-options.php:864
    793793msgid ""
    794794"You can use [wpc_food_menu_list wpc_food_categories='16,21,18,17,20'  "
    … …  
    796796msgstr ""
    797797
    798 #: core/template/wpc-key-options.php:867
     798#: core/template/wpc-key-options.php:882
    799799msgid "Save Changes"
    800800msgstr ""
    … …  
    812812msgstr ""
    813813
     814#: core/widgets/hook.php:426
     815msgid "Select a loctaion"
     816msgstr ""
     817
     818#: core/widgets/hook.php:434
     819msgid "Order location"
     820msgstr ""
     821
     822#: core/widgets/hook.php:435
     823msgid "Enter location"
     824msgstr ""
     825
     826#: core/widgets/hook.php:451
     827msgid "Please select a location"
     828msgstr ""
     829
     830#: core/widgets/hook.php:476 core/widgets/hook.php:495
    814831#: core/widgets/hook.php:521
    815 msgid "Select a loctaion"
    816 msgstr ""
    817 
    818 #: core/widgets/hook.php:529
    819 msgid "Order location"
    820 msgstr ""
    821 
    822 #: core/widgets/hook.php:530
    823 msgid "Enter location"
    824 msgstr ""
    825 
    826 #: core/widgets/hook.php:546
    827 msgid "Please select a location"
    828 msgstr ""
    829 
    830 #: core/widgets/hook.php:571 core/widgets/hook.php:590
    831 #: core/widgets/hook.php:616
    832832msgid "Order menu"
    833833msgstr ""
    834834
    835 #: core/widgets/hook.php:617
     835#: core/widgets/hook.php:522
    836836msgid "ID"
    837837msgstr ""
    838838
    839 #: core/widgets/reservation-form-template.php:49
     839#: core/widgets/reservation-form-template.php:52
    840840msgid "Name :"
    841841msgstr ""
    842842
    843 #: core/widgets/reservation-form-template.php:53
     843#: core/widgets/reservation-form-template.php:56
    844844msgid "Email :"
    845845msgstr ""
    846846
    847 #: core/widgets/reservation-form-template.php:57
     847#: core/widgets/reservation-form-template.php:60
    848848msgid "Phone :"
    849849msgstr ""
    850850
    851 #: core/widgets/reservation-form-template.php:61
     851#: core/widgets/reservation-form-template.php:64
    852852msgid "Guest :"
    853853msgstr ""
    854854
    855 #: core/widgets/reservation-form-template.php:65
     855#: core/widgets/reservation-form-template.php:68
    856856msgid " Time : "
    857857msgstr ""
    858858
    859 #: core/widgets/reservation-form-template.php:70
     859#: core/widgets/reservation-form-template.php:73
    860860msgid " Date : "
    861861msgstr ""
    862862
    863 #: core/widgets/reservation-form-template.php:76
     863#: core/widgets/reservation-form-template.php:79
    864864msgid "Confirm Booking"
    865865msgstr ""
    866866
    867 #: core/widgets/reservation-form-template.php:77
     867#: core/widgets/reservation-form-template.php:80
    868868msgid "Edit Booking"
    869869msgstr ""
    870870
    871 #: core/widgets/reservation-form-template.php:147
     871#: core/widgets/reservation-form-template.php:150
    872872msgid "Total Guest "
    873873msgstr ""
    874874
    875 #: core/widgets/reservation-form-template.php:149
     875#: core/widgets/reservation-form-template.php:152
    876876msgid "Select no of geuests"
    877877msgstr ""
    878878
    879 #: core/widgets/reservation-form-template.php:158
     879#: core/widgets/reservation-form-template.php:161
    880880msgid "Note"
    881881msgstr ""
    882882
    883 #: core/widgets/reservation-form-template.php:162
     883#: core/widgets/reservation-form-template.php:165
    884884msgid "Book a Table"
    885885msgstr ""
    886886
    887 #: core/widgets/reservation-form-template.php:163
     887#: core/widgets/reservation-form-template.php:166
    888888msgid "Request Cancellation"
    889889msgstr ""
    890890
    891 #: plugin.php:131
     891#: plugin.php:136
    892892msgid "Activate WooCommerce"
    893893msgstr ""
    894894
    895 #: plugin.php:134
     895#: plugin.php:139
    896896msgid "Install WooCommerce"
    897897msgstr ""
    898898
    899 #: plugin.php:144
     899#: plugin.php:149
    900900msgid "WpCafe requires WooCommerce , which is currently NOT RUNNING."
    901901msgstr ""
    902902
    903 #: utils/wpc-utilities.php:472
     903#: utils/wpc-utilities.php:460
    904904msgid "No location set"
    905905msgstr ""
    906906
    907 #: utils/wpc-utilities.php:477
     907#: utils/wpc-utilities.php:465
    908908msgid "Ok"
    909909msgstr ""
    910910
    911 #: utils/wpc-utilities.php:528
     911#: utils/wpc-utilities.php:498
    912912msgid "Out of stock"
    913913msgstr ""
  • wp-cafe/tags/1.1.3/plugin.php

    r2371829 r2387102  
    112112        $this->register_widgets();
    113113
    114         if ( is_admin() ):
     114        if ( is_admin() ){
    115115            \WpCafe\Core::instance()->init();
    116         endif;
     116        }
     117       
     118        //fire-up all woocommerce related hooks
     119        if( file_exists( WPC_DIR . '/core/woocommerce/hooks.php' )){
     120            include_once WPC_DIR . '/core/woocommerce/hooks.php';
     121        }
    117122    }
    118123
  • wp-cafe/tags/1.1.3/readme.txt

    r2378658 r2387102  
    44Requires at least: 5.2
    55Tested up to: 5.5.1
    6 Stable tag: 1.1.2
     6Stable tag: 1.1.3
    77Requires PHP: 5.6
    88License: GPLv2 or later
    … …  
    7979== Changelog ==
    8080
     81= 1.1.3 =
     82Fix          :  Design issue fixes
     83Tweak        :  Code optimized in Shortcode and widget
     84Tweak        :  Preset color update
     85Tweak        :  iconfont update
     86New          :  RTL layout support
     87
     88
    8189= 1.1.2 =
    8290Fix          :  Reservation default date time updated
    … …  
    95103= 1.1.0 =
    96104Fix          :  Settings bug fixes
    97 Added        :  External product add to cart   
     105New        :  External product add to cart   
    98106Tweak        :  Optimization and performance update
    99107
    100108= 1.0.9 =
    101 Fix    : Settings field validation fixes
    102 Fix    : Shortcode and Elementor widgets design fixes
    103 Tweak  : Dynamic variable product price on shortcode and Elementor widgets
    104 Tweak  : Optimization and performance update for shortcodes and Elementor widgets
    105 Tweak  : Optimization for time comparison functionality.
     109Fix         : Settings field validation fixes
     110Fix         : Shortcode and Elementor widgets design fixes
     111Tweak       : Dynamic variable product price on shortcode and Elementor widgets
     112Tweak       : Optimization and performance update for shortcodes and Elementor widgets
     113Tweak       : Optimization for time comparison functionality.
    106114
    107115= 1.0.8 =
    108 Fix    : Update all translatable strings with Escaping
     116Fix         : Update all translatable strings with Escaping
    109117
    110118= 1.0.7 =
    111 
    112 Fix    : Time Picker JS issue
     119Fix         : Time Picker JS issue
    113120
    114121= 1.0.6 =
    115 
    116122Fix    : Food menu stock status checking
    117123Fix    : Remove html tag from product description
    … …  
    124130
    125131= 1.0.5 =
    126 
    127132* Fix   : Price showing both from including and excluding tax in shortcode and widget
    128133* Fix   : Mini cart price showing including and excluding tax
    … …  
    132137
    133138= 1.0.4 =
    134 
    135139* Fix : Language Issues
    136140
    137141= 1.0.3 =
    138 
    139 * Added : Description limit option added in elementor widget
    140 * Added: Added pot file for language translation 
    141 * Fix : Reservation form and admin settings page css update
    142 * Fix : Popup datepicker in saving field
    143 * Fix : Added CSS for calendar year issue in reservation form
     142* New   : Description limit option added in elementor widget
     143* New   : Added pot file for language translation 
     144* Fix   : Reservation form and admin settings page css update
     145* Fix   : Popup datepicker in saving field
     146* Fix   : Added CSS for calendar year issue in reservation form
    144147* Tweak : Iconfont updated
    145148* Tweak : Improve add to cart button CSS
    … …  
    147150
    148151= 1.0.2 =
    149 
    150152* Fix : Compatibility for PHP version 5.6.
    151153* Check : Compatibility for PHP version 7.1,7.2,7.3
    152 * New  : Added ajax add to cart in Widget, Shortcode, Product single page.
    153 * New  : Added title link option to widget.
     154* New   : Added ajax add to cart in Widget, Shortcode, Product single page.
     155* New   : Added title link option to widget.
    154156* Tweak : Added icon in cart button.
    155157* Tweak : Update css in food menu shortcode, minicart and widget.
    … …  
    158160
    159161= 1.0.1 =
    160 
    161162* Fix an error notice on php version below 7.3
    162163
    163164= 1.0.0 =
    164 
    165165* initial release
    166166
  • wp-cafe/tags/1.1.3/utils/wpc-utilities.php

    r2378658 r2387102  
    471471    }
    472472
    473     public static function food_customization_popup( $product , $cart_button , $price ){
    474         ?>
    475         <?php
    476         // \WpCafe\Utils\Wpc_Utilities::woo_display_variation_dropdown_on_shop_page( $product );
    477         ?>
    478         <div id="wpc_customize_modal" class="food_customize_modal">
    479             <!-- Modal content -->
    480             <div class="modal-content">
    481 
    482             </div>
    483         </div>
    484         <?php
    485     }
    486 
    487     public static function woo_display_variation_dropdown_on_shop_page(  $product ) {
    488 
    489     }
    490    
    491473    /**
    492474     * Show tag function
    … …  
    524506     * Product query
    525507     */
    526     public static function product_query( $post_type="product" , $no_of_product , $wpc_cat , $order="DESC" ){
    527         $args    = [
    528             'post_type'      =>  $post_type,
    529             'orderby'        =>  'post_date',
    530             'order'          =>  $order,
    531             'posts_per_page' =>  $no_of_product,
    532             'post_status'    =>  'publish',
    533 
    534             'tax_query' => array(
    535                 array(
    536                     'taxonomy'          => 'product_cat',
    537                     'terms'             =>  $wpc_cat,
    538                     'field'             => 'id',
    539                     'include_children'  => true,
    540                     'operator'          => 'IN'
    541                 ),
    542             )
    543         ];
     508    public static function product_query( $post_type="product" , $no_of_product , $wpc_cat , $order="DESC" , $page = null , $total_count = false , $search_value = false ){
     509        $args = [];
     510        $args['post_type']      = $post_type;
     511        $args['post_status']    = 'publish';
     512        $args['orderby']        = 'post_date';
     513        $args['order']          = $order;
     514        if ( $total_count ) {
     515            $args    = [ 'posts_per_page' =>  -1 ];
     516        }
     517        elseif( $search_value ){
     518            $args['posts_per_page']  = $no_of_product;
     519            $args['post_title_like'] = $search_value;
     520        }
     521        elseif( $page ){
     522            $args    = [
     523                'posts_per_page' =>  $no_of_product,
     524                'paged'          =>  $page,
     525            ];
     526        }
     527        else{
     528            $args    = [ 'posts_per_page' =>  $no_of_product ];
     529        }
     530
     531        if( is_array( $wpc_cat ) && count( $wpc_cat )>0 ){
     532            $tax_query = array(  array(
     533                'taxonomy'          => 'product_cat',
     534                'terms'             =>  $wpc_cat,
     535                'field'             => 'id',
     536                'include_children'  => true,
     537                'operator'          => 'IN'
     538            ));
     539            $args['tax_query'] = $tax_query;
     540        }
     541
    544542        return wc_get_products($args);
    545543    }
    … …  
    551549        switch ( $product->get_type() ) {
    552550            case $product->get_type() == 'variable' && $product->is_in_stock() == true :
    553                 apply_filters("wpcafe/shortcode/variation", $product, $customize_btn, $widget_id);
     551                if( $cart_button=='on' || $cart_button =='yes' ){
     552                    apply_filters("wpcafe/shortcode/variation", $product, $customize_btn, $widget_id);
     553                }
    554554                break;
    555555            case ($product->get_type() == 'simple' || $product->get_type() == 'grouped' ) &&
  • wp-cafe/tags/1.1.3/widgets/wpc-food-menu-tab/style/style-1.php

    r2378658 r2387102  
    5555                        $products = Utilities::product_query( "product", $wpc_menu_count , $value['post_cats'], $wpc_menu_order );
    5656
    57                         if ( is_array( $products ) && !empty( $products ) ) {
     57                        if ( is_array( $products ) && count( $products )>0 ) {
    5858                            ?>
    5959                            <div class="wpc-food-block-tab-item">
    … …  
    136136                                                            <?php
    137137                                                            if ($wpc_show_desc == 'yes') {
    138                                                                 echo  Utilities::wpcafe_trim_words( get_the_excerpt($product->get_id()) , $wpc_desc_limit);
     138                                                                echo  Utilities::wpcafe_trim_words( get_the_excerpt( $product->get_id() ) , $wpc_desc_limit);
    139139                                                            }
    140140                                                            ?>
  • wp-cafe/tags/1.1.3/wpcafe.php

    r2378658 r2387102  
    99 * Plugin URI:         https://product.themewinter.com/wpcafe
    1010 * Description:        WordPress Restaurant solution plugin to launch Restaurant Websites.
    11  * Version:            1.1.2
     11 * Version:            1.1.3
    1212 * Author:             Themewinter
    1313 * Author URI:         http://themewinter.com/
  • wp-cafe/trunk/assets/css/wpc-admin.css

    r2368463 r2387102  
    2626.reservation_form_submit.wpc-btn,
    2727.cancell_form_submit.wpc-btn,
     28body.woocomerce-layout-override-enable.woocommerce button.button.alt,
     29body.woocomerce-layout-override-enable.woocommerce #respond input#submit,
     30body.woocomerce-layout-override-enable .woocommerce button.button.alt,
     31body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button,
    2832.wpc-settings-dashboard .button-primary {
    2933  font-size: 16px;
    … …  
    5357.cancell_form_submit.wpc-btn:hover,
    5458.cancell_form_submit.wpc-btn:focus,
     59body.woocomerce-layout-override-enable.woocommerce button.button.alt:hover,
     60body.woocomerce-layout-override-enable.woocommerce button.button.alt:focus,
     61body.woocomerce-layout-override-enable.woocommerce #respond input#submit:hover,
     62body.woocomerce-layout-override-enable.woocommerce #respond input#submit:focus,
     63body.woocomerce-layout-override-enable .woocommerce button.button.alt:hover,
     64body.woocomerce-layout-override-enable .woocommerce button.button.alt:focus,
     65body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button:hover,
     66body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button:focus,
    5567.wpc-settings-dashboard .button-primary:hover,
    5668.wpc-settings-dashboard .button-primary:focus {
    … …  
    6476.reservation_form_submit.wpc-btn.wpc-edit-btn,
    6577.cancell_form_submit.wpc-btn.wpc-edit-btn,
     78body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-edit-btn,
     79body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-edit-btn,
     80body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-edit-btn,
     81body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-edit-btn,
    6682.wpc-settings-dashboard .button-primary.wpc-edit-btn {
    6783  color: #5d78ff;
    … …  
    7490.reservation_form_submit.wpc-btn.wpc-edit-btn:hover,
    7591.cancell_form_submit.wpc-btn.wpc-edit-btn:hover,
     92body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-edit-btn:hover,
     93body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-edit-btn:hover,
     94body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-edit-btn:hover,
     95body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-edit-btn:hover,
    7696.wpc-settings-dashboard .button-primary.wpc-edit-btn:hover {
    7797  color: #09C4B7;
    … …  
    81101.reservation_form_submit.wpc-btn.wpc-delete-btn,
    82102.cancell_form_submit.wpc-btn.wpc-delete-btn,
     103body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-delete-btn,
     104body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-delete-btn,
     105body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-delete-btn,
     106body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-delete-btn,
    83107.wpc-settings-dashboard .button-primary.wpc-delete-btn {
    84108  color: #09C4B7;
    … …  
    91115.reservation_form_submit.wpc-btn.wpc-btn-border,
    92116.cancell_form_submit.wpc-btn.wpc-btn-border,
     117body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-btn-border,
     118body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-btn-border,
     119body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-btn-border,
     120body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-btn-border,
    93121.wpc-settings-dashboard .button-primary.wpc-btn-border {
    94122  border: 1px solid #5D78FF;
    … …  
    102130.reservation_form_submit.wpc-btn.wpc-btn-border:hover,
    103131.cancell_form_submit.wpc-btn.wpc-btn-border:hover,
     132body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-btn-border:hover,
     133body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-btn-border:hover,
     134body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-btn-border:hover,
     135body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-btn-border:hover,
    104136.wpc-settings-dashboard .button-primary.wpc-btn-border:hover {
    105137  border-color: #09C4B7;
    … …  
    342374
    343375#toplevel_page_cafe_menu .toplevel_page_cafe_menu .dashicons-admin-generic:before {
    344   content: "";
     376  content: "";
    345377  font-family: "wpcafe" !important;
    346378}
    … …  
    435467  margin-right: 5px;
    436468}
    437 .wpc-settings .wpc-tab li a[data-id=hooks] i:before {
    438   content: "";
     469.wpc-settings .wpc-tab li a[data-id=hooks] i.wpcafe-icon5:before {
     470  content: "";
    439471  font-size: 12px;
    440472}
    … …  
    507539  margin-right: 10px;
    508540}
    509 .wpc-settings .wpc-label-item .wpc-meta .exception_time_clear {
     541.wpc-settings .wpc-label-item .wpc-meta .exception_time_clear,
     542.wpc-settings .wpc-label-item .wpc-meta .wpc_all_day_clear,
     543.wpc-settings .wpc-label-item .wpc-meta .wpc_weekly_clear,
     544.wpc-settings .wpc-label-item .wpc-meta .wpc_pickup_weekly_clear,
     545.wpc-settings .wpc-label-item .wpc-meta .wpc_delivery_weekly_clear {
    510546  display: flex;
    511547  align-self: center;
    … …  
    701737}
    702738
     739.doc-link {
     740  font-weight: 700;
     741  color: #5D78FF;
     742}
     743
    703744/*------------------------
    704745responsive
  • wp-cafe/trunk/assets/css/wpc-icon.css

    r2371829 r2387102  
    2727}
    2828
    29 .wpcafe-customize:before {
     29.wpcafe-icon-arrow-right:before {
    3030  content: "\e900";
    3131}
    32 .wpcafe-details_icon:before {
     32.wpcafe-customize:before {
    3333  content: "\e901";
    3434}
    35 .wpcafe-general_icon:before {
     35.wpcafe-details_icon:before {
    3636  content: "\e902";
    3737}
    38 .wpcafe-minus:before {
     38.wpcafe-general_icon:before {
    3939  content: "\e903";
    4040}
    41 .wpcafe-plus:before {
     41.wpcafe-minus:before {
    4242  content: "\e904";
    4343}
    44 .wpcafe-shortcode_icon:before {
     44.wpcafe-plus:before {
    4545  content: "\e905";
    4646}
    47 .wpcafe-user_icon:before {
     47.wpcafe-shortcode_icon:before {
    4848  content: "\e906";
    4949}
    50 .wpcafe-logo_icon:before {
     50.wpcafe-user_icon:before {
    5151  content: "\e907";
    5252}
    53 .wpcafe-icon1:before {
     53.wpcafe-logo_icon:before {
    5454  content: "\e908";
    5555}
    56 .wpcafe-icon2:before {
     56.wpcafe-icon1:before {
    5757  content: "\e909";
    5858}
    59 .wpcafe-icon3:before {
     59.wpcafe-icon2:before {
    6060  content: "\e90a";
    6161}
    62 .wpcafe-icon4:before {
     62.wpcafe-icon3:before {
    6363  content: "\e90b";
    6464}
    65 .wpcafe-shortcode_icon1:before {
     65.wpcafe-icon4:before {
    6666  content: "\e90c";
    6767}
    68 .wpcafe-cart_icon:before {
     68.wpcafe-shortcode_icon1:before {
    6969  content: "\e90d";
    7070}
    71 .wpcafe-next:before {
     71.wpcafe-cart_icon:before {
    7272  content: "\e90e";
    7373}
    74 .wpcafe-previous:before {
     74.wpcafe-next:before {
    7575  content: "\e90f";
    7676}
    77 .wpcafe-icon6:before {
     77.wpcafe-previous:before {
    7878  content: "\e910";
    7979}
    80 .wpcafe-icon5:before {
     80.wpcafe-icon6:before {
    8181  content: "\e911";
    8282}
     83.wpcafe-icon5:before {
     84  content: "\e912";
     85}
  • wp-cafe/trunk/assets/css/wpc-public.css

    r2378658 r2387102  
    2525.reservation_form_submit.wpc-btn,
    2626.cancell_form_submit.wpc-btn,
     27body.woocomerce-layout-override-enable.woocommerce button.button.alt,
     28body.woocomerce-layout-override-enable.woocommerce #respond input#submit,
     29body.woocomerce-layout-override-enable .woocommerce button.button.alt,
     30body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button,
    2731.wpc-settings-dashboard .button-primary {
    2832  font-size: 16px;
    … …  
    5256.cancell_form_submit.wpc-btn:hover,
    5357.cancell_form_submit.wpc-btn:focus,
     58body.woocomerce-layout-override-enable.woocommerce button.button.alt:hover,
     59body.woocomerce-layout-override-enable.woocommerce button.button.alt:focus,
     60body.woocomerce-layout-override-enable.woocommerce #respond input#submit:hover,
     61body.woocomerce-layout-override-enable.woocommerce #respond input#submit:focus,
     62body.woocomerce-layout-override-enable .woocommerce button.button.alt:hover,
     63body.woocomerce-layout-override-enable .woocommerce button.button.alt:focus,
     64body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button:hover,
     65body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button:focus,
    5466.wpc-settings-dashboard .button-primary:hover,
    5567.wpc-settings-dashboard .button-primary:focus {
    … …  
    6375.reservation_form_submit.wpc-btn.wpc-edit-btn,
    6476.cancell_form_submit.wpc-btn.wpc-edit-btn,
     77body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-edit-btn,
     78body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-edit-btn,
     79body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-edit-btn,
     80body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-edit-btn,
    6581.wpc-settings-dashboard .button-primary.wpc-edit-btn {
    6682  color: #5d78ff;
    … …  
    7389.reservation_form_submit.wpc-btn.wpc-edit-btn:hover,
    7490.cancell_form_submit.wpc-btn.wpc-edit-btn:hover,
     91body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-edit-btn:hover,
     92body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-edit-btn:hover,
     93body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-edit-btn:hover,
     94body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-edit-btn:hover,
    7595.wpc-settings-dashboard .button-primary.wpc-edit-btn:hover {
    7696  color: #09C4B7;
    … …  
    80100.reservation_form_submit.wpc-btn.wpc-delete-btn,
    81101.cancell_form_submit.wpc-btn.wpc-delete-btn,
     102body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-delete-btn,
     103body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-delete-btn,
     104body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-delete-btn,
     105body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-delete-btn,
    82106.wpc-settings-dashboard .button-primary.wpc-delete-btn {
    83107  color: #09C4B7;
    … …  
    90114.reservation_form_submit.wpc-btn.wpc-btn-border,
    91115.cancell_form_submit.wpc-btn.wpc-btn-border,
     116body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-btn-border,
     117body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-btn-border,
     118body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-btn-border,
     119body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-btn-border,
    92120.wpc-settings-dashboard .button-primary.wpc-btn-border {
    93121  border: 1px solid #5D78FF;
    … …  
    101129.reservation_form_submit.wpc-btn.wpc-btn-border:hover,
    102130.cancell_form_submit.wpc-btn.wpc-btn-border:hover,
     131body.woocomerce-layout-override-enable.woocommerce button.button.alt.wpc-btn-border:hover,
     132body.woocomerce-layout-override-enable.woocommerce #respond input#submit.wpc-btn-border:hover,
     133body.woocomerce-layout-override-enable .woocommerce button.button.alt.wpc-btn-border:hover,
     134body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button.wpc-btn-border:hover,
    103135.wpc-settings-dashboard .button-primary.wpc-btn-border:hover {
    104136  border-color: #09C4B7;
    … …  
    51165148  border-bottom-left-radius: 10px;
    51175149}
    5118 
    51195150.wpc_cart_block div#wpc-mini-cart-count .basket-item-count {
    51205151  vertical-align: top;
    … …  
    51485179  line-height: 24px;
    51495180}
    5150 
     5181.wpc_cart_block .wpc_background_color a.button.wc-forward.checkout {
     5182  opacity: 0.5;
     5183}
    51515184.wpc_cart_block .wpc_background_color dl.variation {
    51525185  padding-left: 0 !important;
    … …  
    51785211  position: relative;
    51795212  list-style-type: none;
     5213  margin: 0;
    51805214}
    51815215.wpc_cart_block .woocommerce-mini-cart li {
    … …  
    51855219  padding-top: 15px !important;
    51865220  padding-right: 20px !important;
    5187   margin-top: 10px;
     5221  margin: 10px 0 20px !important;
    51885222  padding: 15px;
    5189   margin-bottom: 20px !important;
    51905223  background-color: #F9F9F9;
    51915224  border-radius: 4px;
  • wp-cafe/trunk/assets/fonts/wpcafe.svg

    r2371829 r2387102  
    88<missing-glyph horiz-adv-x="1024" />
    99<glyph unicode="&#x20;" horiz-adv-x="512" d="" />
    10 <glyph unicode="&#xe900;" glyph-name="customize" horiz-adv-x="1069" d="M244.248 564.922c0 0.122-0.001 0.267-0.001 0.412 0 83.092 67.36 150.452 150.452 150.452 65.496 0 121.218-41.852 141.88-100.271l0.325-1.053 183.281 183.281-87.597 87.975c-4.781 4.691-11.337 7.587-18.571 7.587s-13.79-2.896-18.575-7.591l-42.744-42.744c-20.687 11.845-44.62 21.844-69.829 28.759l-2.19 0.512v60.806c0 14.886-12.067 26.953-26.953 26.953v0h-117.192c-0.295 0.012-0.641 0.019-0.989 0.019-14.35 0-25.983-11.633-25.983-25.983 0-0.348 0.007-0.694 0.020-1.039l-0.002 0.050v-60.86c-27.398-7.427-51.331-17.426-73.557-30.077l1.539 0.806-42.748 42.748c-4.781 4.691-11.337 7.587-18.571 7.587s-13.79-2.896-18.575-7.591l0.004 0.004-82.207-81.991c-4.691-4.781-7.587-11.337-7.587-18.571s2.896-13.79 7.591-18.575l42.744-42.744c-11.845-20.687-21.844-44.62-28.759-69.829l-0.512-2.19h-61.992c-14.886 0-26.953-12.067-26.953-26.953v0-115.952c-0.012-0.295-0.019-0.641-0.019-0.989 0-14.35 11.633-25.983 25.983-25.983 0.348 0 0.694 0.007 1.039 0.020l-0.050-0.002h60.86c7.427-27.398 17.426-51.331 30.077-73.557l-0.806 1.539-42.748-42.748c-4.946-4.661-8.026-11.256-8.026-18.571s3.080-13.909 8.013-18.559l0.013-0.012 87.813-87.813 183.281 183.281c-59.146 19.044-101.19 73.588-101.19 137.952 0 0.528 0.003 1.056 0.008 1.583l-0.001-0.080zM340.74 265.097l401.147 401.147 172.71-172.71-401.147-401.147-172.71 172.71zM1058.015 687.613l-120.426 121.558c-6.557 6.783-15.738 10.994-25.902 10.994s-19.345-4.211-25.892-10.984l-78.767-78.767 173.362-173.362 78.811 78.811c6.17 6.598 9.959 15.491 9.959 25.268 0 10.374-4.266 19.752-11.139 26.475l-0.007 0.007zM232.012 155.236c-4.522-4.992-8.004-11.017-10.046-17.672l-0.088-0.333-36.009-156.328c-0.477-2.235-0.751-4.803-0.751-7.435 0-20.542 16.653-37.195 37.195-37.195 2.632 0 5.2 0.273 7.677 0.793l-0.242-0.043 156.328 36.009c7.198 1.399 13.386 5.019 17.979 10.106l0.025 0.028 45.012 45.012-172.23 172.068z" />
    11 <glyph unicode="&#xe901;" glyph-name="details_icon" horiz-adv-x="1317" d="M0 228.549h585.177v146.274h-585.177zM0-64h585.177v146.274h-585.177zM0 521.177h585.177v146.274h-585.177zM0 960v-146.274h585.177v146.274zM731.451 960h585.177v-1024h-585.177z" />
    12 <glyph unicode="&#xe902;" glyph-name="general_icon" horiz-adv-x="996" d="M878.811 397.875c2.052 14.783 3.224 31.863 3.224 49.218 0 0.329 0 0.658-0.001 0.987v-0.051c0.005 0.648 0.008 1.413 0.008 2.18 0 16.936-1.366 33.554-3.995 49.747l0.237-1.773 108.277 84.254c5.81 4.838 9.481 12.074 9.481 20.168 0 4.522-1.146 8.776-3.163 12.488l0.068-0.138-102.418 177.063c-4.565 7.961-13.014 13.237-22.695 13.237-3.144 0-6.159-0.557-8.95-1.577l0.181 0.058-127.495-51.209c-24.949 19.48-53.421 36.308-83.951 49.225l-2.472 0.929-19.218 135.463c-1.971 12.45-12.627 21.855-25.48 21.855-0.044 0-0.088 0-0.132 0h-205.063c-0.016 0-0.035 0-0.054 0-12.748 0-23.29-9.447-25.008-21.722l-0.015-0.133-19.218-135.463c-32.996-13.954-61.458-30.773-87.301-50.809l0.878 0.655-127.495 51.209c-2.683 1.049-5.79 1.656-9.038 1.656-9.638 0-18.027-5.35-22.359-13.242l-0.067-0.132-101.89-177.063c-2.309-3.646-3.68-8.086-3.68-12.845 0-8.067 3.938-15.215 9.997-19.625l0.070-0.048 108.277-84.254c-2.793-14.924-4.529-32.238-4.801-49.907l-0.003-0.247c-0.003-0.547-0.005-1.195-0.005-1.842 0-17.054 1.366-33.79 3.993-50.103l-0.238 1.791-108.277-84.254c-5.81-4.838-9.481-12.074-9.481-20.168 0-4.522 1.146-8.776 3.163-12.488l-0.068 0.138 102.418-177.063c4.565-7.961 13.014-13.237 22.695-13.237 3.144 0 6.159 0.557 8.95 1.577l-0.181-0.058 127.495 51.209c24.949-19.48 53.421-36.308 83.951-49.225l2.472-0.929 19.804-135.522c2.139-12.405 12.765-21.741 25.592-21.854h205.082c0.108-0.002 0.235-0.003 0.363-0.003 12.68 0 23.146 9.477 24.702 21.734l0.013 0.123 19.218 135.463c33.011 13.698 61.498 30.538 87.209 50.751l-0.787-0.596 127.495-51.209c2.683-1.049 5.79-1.656 9.038-1.656 9.638 0 18.027 5.35 22.359 13.242l0.067 0.132 102.418 177.063c2.225 3.633 3.543 8.032 3.543 12.738 0 8.070-3.875 15.235-9.866 19.735l-0.064 0.046zM497.967 256.026c-105.983 0.233-191.847 86.035-192.179 191.972v0.032c0.332 105.907 86.097 191.672 191.972 192.004h0.032c105.907-0.332 191.672-86.097 192.004-191.972v-0.032c-0.331-105.825-85.963-191.539-191.725-192.004h-0.045z" />
    13 <glyph unicode="&#xe903;" glyph-name="minus" horiz-adv-x="8320" d="M512 960h7296c282.77 0 512-229.23 512-512s-229.23-512-512-512h-7296c-282.77 0-512 229.23-512 512s229.23 512 512 512z" />
    14 <glyph unicode="&#xe904;" glyph-name="plus" d="M960.276 511.724h-384.551v384.551c0 35.216-28.548 63.764-63.764 63.764s-63.764-28.548-63.764-63.764v0-384.473h-384.473c-35.216 0-63.764-28.548-63.764-63.764s28.548-63.764 63.764-63.764h384.473v-384.473c0-35.216 28.548-63.764 63.764-63.764s63.764 28.548 63.764 63.764v384.473h384.473c35.216 0 63.764 28.548 63.764 63.764s-28.548 63.764-63.764 63.764v0z" />
    15 <glyph unicode="&#xe905;" glyph-name="shortcode_icon" horiz-adv-x="1127" d="M1059.469 960h-991.709c-37.345-0.192-67.568-30.415-67.76-67.741v-888.442c0.192-37.345 30.415-67.568 67.741-67.76h991.727c37.321 0.224 67.511 30.434 67.703 67.741v888.442c-0.192 37.325-30.382 67.536-67.682 67.76h-0.021zM855.168 846.5c0 13.822 11.205 25.027 25.027 25.027h25.027c13.822 0 25.027-11.205 25.027-25.027v0-28.375c0-13.822-11.205-25.027-25.027-25.027v0h-25.027c-13.822 0-25.027 11.205-25.027 25.027v0zM738.887 846.5c0 13.822 11.205 25.027 25.027 25.027h24.913c13.822 0 25.027-11.205 25.027-25.027v0-28.375c0-13.822-11.205-25.027-25.027-25.027v0h-25.027c-13.822 0-25.027 11.205-25.027 25.027v0zM1045.906 17.266h-964.753v700.467h964.753v-700.467zM1046.587 817.898c0.001-0.067 0.001-0.147 0.001-0.227 0-13.822-11.205-25.027-25.027-25.027-0.020 0-0.041 0-0.061 0h-24.967c-13.822 0-25.027 11.205-25.027 25.027v0 28.375c0 13.822 11.205 25.027 25.027 25.027v0h24.97c13.822 0 25.027-11.205 25.027-25.027v0zM241.926 341.139l181.317-84.331c4.358-2.077 9.472-3.29 14.869-3.29 19.463 0 35.241 15.778 35.242 35.24v0 0.908c-0.030 14.058-8.26 26.186-20.16 31.859l-0.214 0.092-113.5 52.664 113.5 52.721c12.113 5.764 20.343 17.893 20.373 31.946v0.912c-0.051 19.456-15.835 35.208-35.298 35.208-5.374 0-10.468-1.201-15.027-3.349l0.215 0.091-181.317-84.331c-12.113-5.764-20.343-17.893-20.373-31.946v-2.501c0.068-14.031 8.286-26.127 20.16-31.802l0.214-0.092zM474.942 169.357c6.477-8.776 16.762-14.419 28.367-14.471h0.916c0.021 0 0.046 0 0.070 0 15.589 0 28.807 10.155 33.399 24.211l0.070 0.248 119.175 370.068c1.060 3.205 1.672 6.894 1.672 10.726 0 19.453-15.761 35.224-35.209 35.242h-0.91c-0.021 0-0.046 0-0.070 0-15.589 0-28.807-10.155-33.399-24.211l-0.070-0.248-119.175-370.125c-1.029-3.167-1.622-6.811-1.622-10.594 0-7.837 2.546-15.079 6.855-20.945l-0.069 0.099zM653.819 458.953c0.045-14.053 8.269-26.175 20.16-31.858l0.213-0.092 113.5-52.664-113.5-52.664c-12.113-5.764-20.343-17.893-20.373-31.946v-0.912c0.001-19.463 15.779-35.24 35.242-35.24 5.397 0 10.51 1.213 15.082 3.381l-0.214-0.091 181.317 84.331c12.104 5.775 20.328 17.897 20.373 31.944v2.503c-0.030 14.058-8.26 26.186-20.16 31.859l-0.214 0.092-181.317 84.331c-4.358 2.077-9.472 3.29-14.869 3.29-19.463 0-35.241-15.778-35.242-35.24v0-0.908z" />
    16 <glyph unicode="&#xe906;" glyph-name="user_icon" horiz-adv-x="922" d="M819.223 857.583h-51.437v102.417h-102.189v-102.417h-409.611v102.417h-102.36v-102.417h-51.437c-56.458-0.098-102.189-45.888-102.189-102.36 0 0 0 0 0 0v0-716.806c0-0.017 0-0.037 0-0.057 0-56.532 45.828-102.36 102.36-102.36 0.020 0 0.040 0 0.060 0h716.803c56.459 0.258 102.159 45.958 102.417 102.392v716.831c-0.291 56.435-45.978 102.102-102.392 102.36h-0.025zM460.82 704.014c84.845 0 153.626-68.781 153.626-153.626s-68.781-153.626-153.626-153.626c-84.845 0-153.626 68.781-153.626 153.626v0c0 0.068 0 0.148 0 0.229 0 84.719 68.678 153.397 153.397 153.397 0.080 0 0.161 0 0.241 0h-0.012zM768.014 89.626h-614.389v51.437c0 102.417 204.777 158.712 307.194 158.712s307.194-56.295 307.194-158.712z" />
    17 <glyph unicode="&#xe907;" glyph-name="logo_icon" horiz-adv-x="1091" d="M1058.813 688.323c-82.24 139.523-245.821 116.424-245.821 116.424-46.983 92.578-141.378 154.97-250.371 155.222h-0.034c-182.036 0.929-240.249-89.64-290.132-158.788-13.022 2.629-27.99 4.134-43.31 4.134-126.448 0-228.954-102.506-228.954-228.954 0-5.767 0.213-11.483 0.632-17.143l-0.045 0.756c7.328-91.020 64.081-167.211 143.134-202.248l1.542-0.61s-0.33-139.104-1.318-173.528c-0.055-1.916-0.087-4.171-0.087-6.434 0-103.288 65.49-191.28 157.212-224.716l1.662-0.53c25.302-10.049 54.618-15.876 85.295-15.876 60.173 0 115.111 22.418 156.915 59.358l-0.254-0.22s73.282-85.745 222.063-50.632 177.423 200.522 177.423 200.522 0 109.054-1.858 208.851c86.994 35.794 147.125 119.893 147.125 218.036 0 42.804-11.438 82.937-31.425 117.509l0.604-1.133zM866.471 415.868s2.996-164.090-0.719-245.432-42.483-115.735-116.484-149.44-156.061 31.488-156.061 31.488l28.582 58.632c4.715-0.888 10.139-1.395 15.682-1.395 20.37 0 39.139 6.856 54.124 18.387l-0.209-0.154s71.065 106.238 96.711 144.317c13.901 38.948-27.833 24.178-27.833 24.178s-30.769-47.606-49.823-81.311c-23.459-11.744-19.774 16.867-19.774 16.867 11.339 13.927 22.439 29.461 32.552 45.674l1.123 1.932c5.992 12.433 27.114 30.769 17.586 46.138s-26.365 1.468-26.365 1.468l-53.478-81.311-19.774-1.468-1.468 19.804c19.363 23.815 37.995 50.367 54.712 78.201l1.732 3.111c4.404 28.552-27.833 17.586-27.833 17.586s-90.838-132.573-101.864-151.627 2.187-62.916 2.187-62.916l-29.96-45.419-41.015 41.015s-2.187-2.187-1.468 11.714c14.65 73.252-37.36 138.445-113.548 161.784s-114.297-53.448-61.538-140.662 124.513-73.252 124.513-73.252l46.168-52.010c-19.774-31.488-103.302-53.478-177.273-21.242s-92.306 131.135-92.306 131.135-0.719 150.908-2.996 252.023c-143.598 31.488-179.49 164.090-109.893 255.648s183.864 47.606 207.323 38.109c25.746 102.020 116.704 176.329 225.018 176.329 15.497 0 30.64-1.521 45.285-4.423l-1.473 0.243c130.416-19.055 173.768-141.411 189.017-172.15 75.469 54.917 241.747 2.996 236.683-136.258s-145.965-155.312-145.965-155.312zM390.797 446.217c-35.199 3.425-63.004 31.025-66.723 65.826l-0.028 0.325c-0.053 1.044-0.082 2.266-0.082 3.495 0 34.56 23.653 63.596 55.654 71.802l0.514 0.112c4.294 1.014 9.224 1.595 14.289 1.595 22.266 0 41.91-11.23 53.576-28.335l0.144-0.224c16.298-26.574 8.239-60.819 13.392-91.557l43.682 92.876c3.393 8.307 7.919 15.448 13.482 21.639l-0.060-0.067c4.592 5.027 11.175 8.169 18.493 8.169 1.65 0 3.263-0.16 4.824-0.465l-0.158 0.026c7.771-2.652 13.714-8.812 16.013-16.541l0.045-0.177c1.743-5.978 2.746-12.846 2.746-19.947 0-1.414-0.040-2.819-0.118-4.214l0.009 0.193v-92.606l57.433 98.868c4.7 9.567 11.213 17.574 19.151 23.859l0.143 0.109c7.455 4.335 16.406 6.893 25.955 6.893 3.419 0 6.761-0.328 9.997-0.954l-0.329 0.053c7.881-0.5 14.997-3.411 20.715-7.995l-0.072 0.056c3.499-2.986 5.703-7.4 5.703-12.329 0-2.936-0.782-5.689-2.149-8.063l0.042 0.078c-4.764-6.681-14.411-6.801-22.44-8.598-17.622-4.319-30.97-18.664-33.762-36.509l-0.032-0.252c6.342 0.344 13.766 0.54 21.236 0.54 14.404 0 28.637-0.729 42.665-2.153l-1.764 0.145c2.129-0.208 4.602-0.327 7.102-0.327 19.368 0 37.073 7.123 50.636 18.893l-0.096-0.081c8.364 8.706 13.515 20.554 13.515 33.604 0 1.809-0.099 3.594-0.292 5.351l0.019-0.217c-1.818 14.63-9.894 27.071-21.422 34.731l-0.179 0.112c-12.834 6.723-28.037 10.668-44.161 10.668-3.175 0-6.315-0.153-9.412-0.452l0.394 0.031h-375.577v36.911l368.237 0.689c3.699 0.283 8.011 0.444 12.361 0.444 21.208 0 41.52-3.832 60.283-10.84l-1.19 0.39c26.92-12.646 46.097-37.855 50.075-67.863l0.048-0.446c0.311-2.77 0.488-5.981 0.488-9.233 0-27.84-13-52.644-33.261-68.672l-0.183-0.14c-19.067-13.486-42.674-21.743-68.182-22.258l-0.126-0.002c-24.268-1.438-48.595 1.258-72.892 1.917-1.368 0.152-2.954 0.239-4.56 0.239-6.407 0-12.492-1.379-17.975-3.855l0.275 0.111c-8.372-6.164-14.657-14.726-17.878-24.667l-0.098-0.35c-10.261-22.248-21.495-41.312-34.374-59.107l0.699 1.014c-4.117-6.46-9.397-11.807-15.591-15.876l-0.198-0.122c-2.989-1.906-6.632-3.038-10.54-3.038-4.025 0-7.77 1.201-10.895 3.264l0.074-0.046c-5.008 5.342-8.084 12.547-8.084 20.471 0 1.232 0.074 2.447 0.219 3.641l-0.014-0.144q-1.079 50.932 0.539 101.864l-46.737-99.916c-5.992-12.583-19.714-35.952-36.971-26.305-3.781 2.254-6.698 5.616-8.341 9.634l-0.048 0.133c-1.915 5.207-3.022 11.22-3.022 17.492 0 0.581 0.010 1.16 0.028 1.737l-0.002-0.084-2.187 93.205c0.019 0.732 0.029 1.593 0.029 2.458 0 9.549-1.301 18.793-3.736 27.566l0.171-0.723c-2.753 9.784-9.421 17.656-18.162 21.96l-0.204 0.091c-2.597 0.83-5.585 1.308-8.685 1.308-15.36 0-27.977-11.748-29.356-26.749l-0.009-0.116c0.199-18.602 14.579-33.784 32.83-35.255l0.126-0.008z" />
    18 <glyph unicode="&#xe908;" glyph-name="icon1" horiz-adv-x="922" d="M716.8 396.8h-256v-256h256zM665.6 960v-102.4h-409.6v102.4h-102.4v-102.4h-51.2c-56.279-0.032-101.889-45.662-101.889-101.945 0-0.16 0-0.32 0.001-0.48v0.025l-0.512-716.8c0-56.554 45.846-102.4 102.4-102.4v0h716.8c56.489 0.161 102.239 45.911 102.4 102.385v716.815c-0.161 56.489-45.911 102.239-102.385 102.4h-51.215v102.4zM819.2 38.4h-716.8v563.2h716.8z" />
    19 <glyph unicode="&#xe909;" glyph-name="icon2" d="M471.337 527.754c-96.346 45.227-212.636 28.304-290.847-49.907-99.806-99.806-99.806-261.623 0-361.428s261.623-99.806 361.428 0c78.211 78.211 95.133 194.501 50.767 289.191l-0.861 1.656 131.020 131.020 120.488-120.488 120.488 120.488-120.523 120.523 60.226 60.226-120.453 120.453zM421.642 237.083c-33.262-33.262-87.191-33.262-120.453 0s-33.262 87.191 0 120.453c33.262 33.262 87.191 33.262 120.453 0v0c33.077-33.314 33.077-87.069 0.011-120.372l-0.011-0.011z" />
    20 <glyph unicode="&#xe90a;" glyph-name="icon3" horiz-adv-x="1047" d="M291.441 877.047l-75.1 75.1c-126.085-96.221-208.693-243.873-216.298-411.075l-0.043-1.19h105c8.014 139.322 79.194 260.509 185.098 336.252l1.343 0.913zM942.094 539.65h105c-8.151 168.249-90.615 315.709-215.035 411.243l-1.306 0.963-74.576-74.809c106.763-76.996 177.634-198.030 185.859-335.935l0.059-1.229zM838.664 513.414c0 161.194-86.094 296.153-236.294 331.871v35.95c0 43.501-35.264 78.765-78.765 78.765s-78.765-35.264-78.765-78.765v0-35.718c-150.723-35.718-236.294-170.153-236.294-331.871v-262.588l-105.117-105v-52.355h840.235v52.355l-105 105zM523.547-63.825c0.427-0.007 0.93-0.011 1.434-0.011 6.932 0 13.685 0.767 20.179 2.221l-0.613-0.115c34.2 7.457 61.802 30.537 75.355 61.214l0.269 0.681c4.969 11.807 7.856 25.532 7.856 39.931 0 0.278-0.001 0.555-0.003 0.832v-0.042h-210.001c0.591-57.876 47.582-104.581 105.512-104.709h0.012z" />
    21 <glyph unicode="&#xe90b;" glyph-name="icon4" horiz-adv-x="996" d="M878.811 397.875c2.052 14.783 3.224 31.863 3.224 49.218 0 0.329 0 0.658-0.001 0.987v-0.051c0.005 0.648 0.008 1.413 0.008 2.18 0 16.936-1.366 33.554-3.995 49.747l0.237-1.773 108.277 84.254c5.81 4.838 9.481 12.074 9.481 20.168 0 4.522-1.146 8.776-3.163 12.488l0.068-0.138-102.418 177.063c-4.565 7.961-13.014 13.237-22.695 13.237-3.144 0-6.159-0.557-8.95-1.577l0.181 0.058-127.495-51.209c-24.949 19.48-53.421 36.308-83.951 49.225l-2.472 0.929-19.218 135.463c-1.971 12.45-12.627 21.855-25.48 21.855-0.044 0-0.088 0-0.132 0h-205.063c-0.016 0-0.035 0-0.054 0-12.748 0-23.29-9.447-25.008-21.722l-0.015-0.133-19.218-135.463c-32.996-13.954-61.458-30.773-87.301-50.809l0.878 0.655-127.495 51.209c-2.683 1.049-5.79 1.656-9.038 1.656-9.638 0-18.027-5.35-22.359-13.242l-0.067-0.132-101.89-177.063c-2.309-3.646-3.68-8.086-3.68-12.845 0-8.067 3.938-15.215 9.997-19.625l0.070-0.048 108.277-84.254c-2.793-14.924-4.529-32.238-4.801-49.907l-0.003-0.247c-0.003-0.547-0.005-1.195-0.005-1.842 0-17.054 1.366-33.79 3.993-50.103l-0.238 1.791-108.277-84.254c-5.81-4.838-9.481-12.074-9.481-20.168 0-4.522 1.146-8.776 3.163-12.488l-0.068 0.138 102.418-177.063c4.565-7.961 13.014-13.237 22.695-13.237 3.144 0 6.159 0.557 8.95 1.577l-0.181-0.058 127.495 51.209c24.949-19.48 53.421-36.308 83.951-49.225l2.472-0.929 19.804-135.522c2.139-12.405 12.765-21.741 25.592-21.854h205.082c0.108-0.002 0.235-0.003 0.363-0.003 12.68 0 23.146 9.477 24.702 21.734l0.013 0.123 19.218 135.463c33.011 13.698 61.498 30.538 87.209 50.751l-0.787-0.596 127.495-51.209c2.683-1.049 5.79-1.656 9.038-1.656 9.638 0 18.027 5.35 22.359 13.242l0.067 0.132 102.418 177.063c2.225 3.633 3.543 8.032 3.543 12.738 0 8.070-3.875 15.235-9.866 19.735l-0.064 0.046zM497.967 256.026c-105.983 0.233-191.847 86.035-192.179 191.972v0.032c0.332 105.907 86.097 191.672 191.972 192.004h0.032c105.907-0.332 191.672-86.097 192.004-191.972v-0.032c-0.331-105.825-85.963-191.539-191.725-192.004h-0.045z" />
    22 <glyph unicode="&#xe90c;" glyph-name="shortcode_icon1" horiz-adv-x="1707" d="M631.467 55.467l-392.533 392.533 392.533 392.533-119.467 119.467-512-512 512-512zM1075.2 55.467l392.533 392.533-392.533 392.533 119.467 119.467 512-512-512-512z" />
    23 <glyph unicode="&#xe90d;" glyph-name="cart_icon" horiz-adv-x="983" d="M487.602 569.93h97.532v146.269h146.269v97.532h-146.269v146.269h-97.532v-146.269h-146.21v-97.532h146.21zM292.597 131.064c-0.017 0-0.038 0-0.059 0-53.866 0-97.532-43.667-97.532-97.532s43.667-97.532 97.532-97.532c53.866 0 97.532 43.667 97.532 97.532v0c0 0.035 0 0.076 0 0.118 0 53.801-43.614 97.414-97.414 97.414-0.021 0-0.041 0-0.062 0h0.003zM780.199 131.064c-53.866 0-97.532-43.667-97.532-97.532s43.667-97.532 97.532-97.532c53.866 0 97.532 43.667 97.532 97.532v0c0 0.035 0 0.076 0 0.118 0 53.801-43.614 97.414-97.414 97.414-0.041 0-0.083 0-0.124 0h0.006zM300.837 289.518l1.472 5.886 43.91 79.462h363.288c0.102 0 0.223-0.001 0.344-0.001 36.414 0 68.145 20.053 84.752 49.718l0.252 0.491 188.354 341.804-84.818 47.089h-0.471l-53.858-97.768-134.556-243.801h-342.334l-6.357 13.126-109.187 230.675-46.323 97.532-45.853 97.532h-159.454v-97.532h97.532l175.523-370.116-65.806-119.311c-7.666-13.326-12.187-29.303-12.187-46.336 0-0.265 0.001-0.529 0.003-0.793v0.040c0.167-53.798 43.734-97.365 97.516-97.532h585.15v97.532h-564.71c-6.73 0.099-12.152 5.562-12.184 12.299v0.003z" />
    24 <glyph unicode="&#xe90e;" glyph-name="next" horiz-adv-x="662" d="M204.8-43.52c-27.307-27.307-81.92-27.307-109.227 0l-75.093 75.093c-27.307 27.307-27.307 81.92 0 109.227l307.2 307.2-307.2 307.2c-27.307 27.307-27.307 81.92 0 109.227l75.093 75.093c27.307 27.307 81.92 27.307 109.227 0l436.907-436.907c27.307-27.307 27.307-81.92 0-109.227l-436.907-436.907z" />
    25 <glyph unicode="&#xe90f;" glyph-name="previous" horiz-adv-x="662" d="M20.48 393.387c-27.307 27.307-27.307 81.92 0 109.227l436.907 436.907c27.307 27.307 75.093 27.307 109.227 0l75.093-75.093c27.307-27.307 27.307-75.093 0-109.227l-314.027-307.2 314.027-307.2c27.307-27.307 27.307-75.093 0-109.227l-75.093-75.093c-27.307-27.307-75.093-27.307-109.227 0l-436.907 436.907z" />
    26 <glyph unicode="&#xe910;" glyph-name="icon6" horiz-adv-x="1707" d="M631.467 55.467l-392.533 392.533 392.533 392.533-119.467 119.467-512-512 512-512zM1075.2 55.467l392.533 392.533-392.533 392.533 119.467 119.467 512-512-512-512-119.467 119.467z" />
    27 <glyph unicode="&#xe911;" glyph-name="icon5" d="M512 960c-282.77 0-512-229.23-512-512s229.23-512 512-512c282.77 0 512 229.23 512 512v0c-0.854 282.426-229.574 511.146-511.918 512h-0.082zM727.040 232.96l-266.24 163.84v307.2h76.8v-266.24l230.4-138.541z" />
     10<glyph unicode="&#xe900;" glyph-name="icon-arrow-right" d="M512 960l-90.258-90.258 357.157-357.742h-778.898v-128h778.898l-357.157-357.742 90.258-90.258 512 512z" />
     11<glyph unicode="&#xe901;" glyph-name="customize" horiz-adv-x="1069" d="M244.248 564.922c0 0.122-0.001 0.267-0.001 0.412 0 83.092 67.36 150.452 150.452 150.452 65.496 0 121.218-41.852 141.88-100.271l0.325-1.053 183.281 183.281-87.597 87.975c-4.781 4.691-11.337 7.587-18.571 7.587s-13.79-2.896-18.575-7.591l-42.744-42.744c-20.687 11.845-44.62 21.844-69.829 28.759l-2.19 0.512v60.806c0 14.886-12.067 26.953-26.953 26.953v0h-117.192c-0.295 0.012-0.641 0.019-0.989 0.019-14.35 0-25.983-11.633-25.983-25.983 0-0.348 0.007-0.694 0.020-1.039l-0.002 0.050v-60.86c-27.398-7.427-51.331-17.426-73.557-30.077l1.539 0.806-42.748 42.748c-4.781 4.691-11.337 7.587-18.571 7.587s-13.79-2.896-18.575-7.591l0.004 0.004-82.207-81.991c-4.691-4.781-7.587-11.337-7.587-18.571s2.896-13.79 7.591-18.575l42.744-42.744c-11.845-20.687-21.844-44.62-28.759-69.829l-0.512-2.19h-61.992c-14.886 0-26.953-12.067-26.953-26.953v0-115.952c-0.012-0.295-0.019-0.641-0.019-0.989 0-14.35 11.633-25.983 25.983-25.983 0.348 0 0.694 0.007 1.039 0.020l-0.050-0.002h60.86c7.427-27.398 17.426-51.331 30.077-73.557l-0.806 1.539-42.748-42.748c-4.946-4.661-8.026-11.256-8.026-18.571s3.080-13.909 8.013-18.559l0.013-0.012 87.813-87.813 183.281 183.281c-59.146 19.044-101.19 73.588-101.19 137.952 0 0.528 0.003 1.056 0.008 1.583l-0.001-0.080zM340.74 265.097l401.147 401.147 172.71-172.71-401.147-401.147-172.71 172.71zM1058.015 687.613l-120.426 121.558c-6.557 6.783-15.738 10.994-25.902 10.994s-19.345-4.211-25.892-10.984l-78.767-78.767 173.362-173.362 78.811 78.811c6.17 6.598 9.959 15.491 9.959 25.268 0 10.374-4.266 19.752-11.139 26.475l-0.007 0.007zM232.012 155.236c-4.522-4.992-8.004-11.017-10.046-17.672l-0.088-0.333-36.009-156.328c-0.477-2.235-0.751-4.803-0.751-7.435 0-20.542 16.653-37.195 37.195-37.195 2.632 0 5.2 0.273 7.677 0.793l-0.242-0.043 156.328 36.009c7.198 1.399 13.386 5.019 17.979 10.106l0.025 0.028 45.012 45.012-172.23 172.068z" />
     12<glyph unicode="&#xe902;" glyph-name="details_icon" horiz-adv-x="1317" d="M0 228.549h585.177v146.274h-585.177zM0-64h585.177v146.274h-585.177zM0 521.177h585.177v146.274h-585.177zM0 960v-146.274h585.177v146.274zM731.451 960h585.177v-1024h-585.177z" />
     13<glyph unicode="&#xe903;" glyph-name="general_icon" horiz-adv-x="996" d="M878.811 397.875c2.052 14.783 3.224 31.863 3.224 49.218 0 0.329 0 0.658-0.001 0.987v-0.051c0.005 0.648 0.008 1.413 0.008 2.18 0 16.936-1.366 33.554-3.995 49.747l0.237-1.773 108.277 84.254c5.81 4.838 9.481 12.074 9.481 20.168 0 4.522-1.146 8.776-3.163 12.488l0.068-0.138-102.418 177.063c-4.565 7.961-13.014 13.237-22.695 13.237-3.144 0-6.159-0.557-8.95-1.577l0.181 0.058-127.495-51.209c-24.949 19.48-53.421 36.308-83.951 49.225l-2.472 0.929-19.218 135.463c-1.971 12.45-12.627 21.855-25.48 21.855-0.044 0-0.088 0-0.132 0h-205.063c-0.016 0-0.035 0-0.054 0-12.748 0-23.29-9.447-25.008-21.722l-0.015-0.133-19.218-135.463c-32.996-13.954-61.458-30.773-87.301-50.809l0.878 0.655-127.495 51.209c-2.683 1.049-5.79 1.656-9.038 1.656-9.638 0-18.027-5.35-22.359-13.242l-0.067-0.132-101.89-177.063c-2.309-3.646-3.68-8.086-3.68-12.845 0-8.067 3.938-15.215 9.997-19.625l0.070-0.048 108.277-84.254c-2.793-14.924-4.529-32.238-4.801-49.907l-0.003-0.247c-0.003-0.547-0.005-1.195-0.005-1.842 0-17.054 1.366-33.79 3.993-50.103l-0.238 1.791-108.277-84.254c-5.81-4.838-9.481-12.074-9.481-20.168 0-4.522 1.146-8.776 3.163-12.488l-0.068 0.138 102.418-177.063c4.565-7.961 13.014-13.237 22.695-13.237 3.144 0 6.159 0.557 8.95 1.577l-0.181-0.058 127.495 51.209c24.949-19.48 53.421-36.308 83.951-49.225l2.472-0.929 19.804-135.522c2.139-12.405 12.765-21.741 25.592-21.854h205.082c0.108-0.002 0.235-0.003 0.363-0.003 12.68 0 23.146 9.477 24.702 21.734l0.013 0.123 19.218 135.463c33.011 13.698 61.498 30.538 87.209 50.751l-0.787-0.596 127.495-51.209c2.683-1.049 5.79-1.656 9.038-1.656 9.638 0 18.027 5.35 22.359 13.242l0.067 0.132 102.418 177.063c2.225 3.633 3.543 8.032 3.543 12.738 0 8.070-3.875 15.235-9.866 19.735l-0.064 0.046zM497.967 256.026c-105.983 0.233-191.847 86.035-192.179 191.972v0.032c0.332 105.907 86.097 191.672 191.972 192.004h0.032c105.907-0.332 191.672-86.097 192.004-191.972v-0.032c-0.331-105.825-85.963-191.539-191.725-192.004h-0.045z" />
     14<glyph unicode="&#xe904;" glyph-name="minus" horiz-adv-x="8320" d="M512 960h7296c282.77 0 512-229.23 512-512s-229.23-512-512-512h-7296c-282.77 0-512 229.23-512 512s229.23 512 512 512z" />
     15<glyph unicode="&#xe905;" glyph-name="plus" d="M960.276 511.724h-384.551v384.551c0 35.216-28.548 63.764-63.764 63.764s-63.764-28.548-63.764-63.764v0-384.473h-384.473c-35.216 0-63.764-28.548-63.764-63.764s28.548-63.764 63.764-63.764h384.473v-384.473c0-35.216 28.548-63.764 63.764-63.764s63.764 28.548 63.764 63.764v384.473h384.473c35.216 0 63.764 28.548 63.764 63.764s-28.548 63.764-63.764 63.764v0z" />
     16<glyph unicode="&#xe906;" glyph-name="shortcode_icon" horiz-adv-x="1127" d="M1059.469 960h-991.709c-37.345-0.192-67.568-30.415-67.76-67.741v-888.442c0.192-37.345 30.415-67.568 67.741-67.76h991.727c37.321 0.224 67.511 30.434 67.703 67.741v888.442c-0.192 37.325-30.382 67.536-67.682 67.76h-0.021zM855.168 846.5c0 13.822 11.205 25.027 25.027 25.027h25.027c13.822 0 25.027-11.205 25.027-25.027v0-28.375c0-13.822-11.205-25.027-25.027-25.027v0h-25.027c-13.822 0-25.027 11.205-25.027 25.027v0zM738.887 846.5c0 13.822 11.205 25.027 25.027 25.027h24.913c13.822 0 25.027-11.205 25.027-25.027v0-28.375c0-13.822-11.205-25.027-25.027-25.027v0h-25.027c-13.822 0-25.027 11.205-25.027 25.027v0zM1045.906 17.266h-964.753v700.467h964.753v-700.467zM1046.587 817.898c0.001-0.067 0.001-0.147 0.001-0.227 0-13.822-11.205-25.027-25.027-25.027-0.020 0-0.041 0-0.061 0h-24.967c-13.822 0-25.027 11.205-25.027 25.027v0 28.375c0 13.822 11.205 25.027 25.027 25.027v0h24.97c13.822 0 25.027-11.205 25.027-25.027v0zM241.926 341.139l181.317-84.331c4.358-2.077 9.472-3.29 14.869-3.29 19.463 0 35.241 15.778 35.242 35.24v0 0.908c-0.030 14.058-8.26 26.186-20.16 31.859l-0.214 0.092-113.5 52.664 113.5 52.721c12.113 5.764 20.343 17.893 20.373 31.946v0.912c-0.051 19.456-15.835 35.208-35.298 35.208-5.374 0-10.468-1.201-15.027-3.349l0.215 0.091-181.317-84.331c-12.113-5.764-20.343-17.893-20.373-31.946v-2.501c0.068-14.031 8.286-26.127 20.16-31.802l0.214-0.092zM474.942 169.357c6.477-8.776 16.762-14.419 28.367-14.471h0.916c0.021 0 0.046 0 0.070 0 15.589 0 28.807 10.155 33.399 24.211l0.070 0.248 119.175 370.068c1.060 3.205 1.672 6.894 1.672 10.726 0 19.453-15.761 35.224-35.209 35.242h-0.91c-0.021 0-0.046 0-0.070 0-15.589 0-28.807-10.155-33.399-24.211l-0.070-0.248-119.175-370.125c-1.029-3.167-1.622-6.811-1.622-10.594 0-7.837 2.546-15.079 6.855-20.945l-0.069 0.099zM653.819 458.953c0.045-14.053 8.269-26.175 20.16-31.858l0.213-0.092 113.5-52.664-113.5-52.664c-12.113-5.764-20.343-17.893-20.373-31.946v-0.912c0.001-19.463 15.779-35.24 35.242-35.24 5.397 0 10.51 1.213 15.082 3.381l-0.214-0.091 181.317 84.331c12.104 5.775 20.328 17.897 20.373 31.944v2.503c-0.030 14.058-8.26 26.186-20.16 31.859l-0.214 0.092-181.317 84.331c-4.358 2.077-9.472 3.29-14.869 3.29-19.463 0-35.241-15.778-35.242-35.24v0-0.908z" />
     17<glyph unicode="&#xe907;" glyph-name="user_icon" horiz-adv-x="922" d="M819.223 857.583h-51.437v102.417h-102.189v-102.417h-409.611v102.417h-102.36v-102.417h-51.437c-56.458-0.098-102.189-45.888-102.189-102.36 0 0 0 0 0 0v0-716.806c0-0.017 0-0.037 0-0.057 0-56.532 45.828-102.36 102.36-102.36 0.020 0 0.040 0 0.060 0h716.803c56.459 0.258 102.159 45.958 102.417 102.392v716.831c-0.291 56.435-45.978 102.102-102.392 102.36h-0.025zM460.82 704.014c84.845 0 153.626-68.781 153.626-153.626s-68.781-153.626-153.626-153.626c-84.845 0-153.626 68.781-153.626 153.626v0c0 0.068 0 0.148 0 0.229 0 84.719 68.678 153.397 153.397 153.397 0.080 0 0.161 0 0.241 0h-0.012zM768.014 89.626h-614.389v51.437c0 102.417 204.777 158.712 307.194 158.712s307.194-56.295 307.194-158.712z" />
     18<glyph unicode="&#xe908;" glyph-name="logo_icon" horiz-adv-x="1091" d="M1058.813 688.323c-82.24 139.523-245.821 116.424-245.821 116.424-46.983 92.578-141.378 154.97-250.371 155.222h-0.034c-182.036 0.929-240.249-89.64-290.132-158.788-13.022 2.629-27.99 4.134-43.31 4.134-126.448 0-228.954-102.506-228.954-228.954 0-5.767 0.213-11.483 0.632-17.143l-0.045 0.756c7.328-91.020 64.081-167.211 143.134-202.248l1.542-0.61s-0.33-139.104-1.318-173.528c-0.055-1.916-0.087-4.171-0.087-6.434 0-103.288 65.49-191.28 157.212-224.716l1.662-0.53c25.302-10.049 54.618-15.876 85.295-15.876 60.173 0 115.111 22.418 156.915 59.358l-0.254-0.22s73.282-85.745 222.063-50.632 177.423 200.522 177.423 200.522 0 109.054-1.858 208.851c86.994 35.794 147.125 119.893 147.125 218.036 0 42.804-11.438 82.937-31.425 117.509l0.604-1.133zM866.471 415.868s2.996-164.090-0.719-245.432-42.483-115.735-116.484-149.44-156.061 31.488-156.061 31.488l28.582 58.632c4.715-0.888 10.139-1.395 15.682-1.395 20.37 0 39.139 6.856 54.124 18.387l-0.209-0.154s71.065 106.238 96.711 144.317c13.901 38.948-27.833 24.178-27.833 24.178s-30.769-47.606-49.823-81.311c-23.459-11.744-19.774 16.867-19.774 16.867 11.339 13.927 22.439 29.461 32.552 45.674l1.123 1.932c5.992 12.433 27.114 30.769 17.586 46.138s-26.365 1.468-26.365 1.468l-53.478-81.311-19.774-1.468-1.468 19.804c19.363 23.815 37.995 50.367 54.712 78.201l1.732 3.111c4.404 28.552-27.833 17.586-27.833 17.586s-90.838-132.573-101.864-151.627 2.187-62.916 2.187-62.916l-29.96-45.419-41.015 41.015s-2.187-2.187-1.468 11.714c14.65 73.252-37.36 138.445-113.548 161.784s-114.297-53.448-61.538-140.662 124.513-73.252 124.513-73.252l46.168-52.010c-19.774-31.488-103.302-53.478-177.273-21.242s-92.306 131.135-92.306 131.135-0.719 150.908-2.996 252.023c-143.598 31.488-179.49 164.090-109.893 255.648s183.864 47.606 207.323 38.109c25.746 102.020 116.704 176.329 225.018 176.329 15.497 0 30.64-1.521 45.285-4.423l-1.473 0.243c130.416-19.055 173.768-141.411 189.017-172.15 75.469 54.917 241.747 2.996 236.683-136.258s-145.965-155.312-145.965-155.312zM390.797 446.217c-35.199 3.425-63.004 31.025-66.723 65.826l-0.028 0.325c-0.053 1.044-0.082 2.266-0.082 3.495 0 34.56 23.653 63.596 55.654 71.802l0.514 0.112c4.294 1.014 9.224 1.595 14.289 1.595 22.266 0 41.91-11.23 53.576-28.335l0.144-0.224c16.298-26.574 8.239-60.819 13.392-91.557l43.682 92.876c3.393 8.307 7.919 15.448 13.482 21.639l-0.060-0.067c4.592 5.027 11.175 8.169 18.493 8.169 1.65 0 3.263-0.16 4.824-0.465l-0.158 0.026c7.771-2.652 13.714-8.812 16.013-16.541l0.045-0.177c1.743-5.978 2.746-12.846 2.746-19.947 0-1.414-0.040-2.819-0.118-4.214l0.009 0.193v-92.606l57.433 98.868c4.7 9.567 11.213 17.574 19.151 23.859l0.143 0.109c7.455 4.335 16.406 6.893 25.955 6.893 3.419 0 6.761-0.328 9.997-0.954l-0.329 0.053c7.881-0.5 14.997-3.411 20.715-7.995l-0.072 0.056c3.499-2.986 5.703-7.4 5.703-12.329 0-2.936-0.782-5.689-2.149-8.063l0.042 0.078c-4.764-6.681-14.411-6.801-22.44-8.598-17.622-4.319-30.97-18.664-33.762-36.509l-0.032-0.252c6.342 0.344 13.766 0.54 21.236 0.54 14.404 0 28.637-0.729 42.665-2.153l-1.764 0.145c2.129-0.208 4.602-0.327 7.102-0.327 19.368 0 37.073 7.123 50.636 18.893l-0.096-0.081c8.364 8.706 13.515 20.554 13.515 33.604 0 1.809-0.099 3.594-0.292 5.351l0.019-0.217c-1.818 14.63-9.894 27.071-21.422 34.731l-0.179 0.112c-12.834 6.723-28.037 10.668-44.161 10.668-3.175 0-6.315-0.153-9.412-0.452l0.394 0.031h-375.577v36.911l368.237 0.689c3.699 0.283 8.011 0.444 12.361 0.444 21.208 0 41.52-3.832 60.283-10.84l-1.19 0.39c26.92-12.646 46.097-37.855 50.075-67.863l0.048-0.446c0.311-2.77 0.488-5.981 0.488-9.233 0-27.84-13-52.644-33.261-68.672l-0.183-0.14c-19.067-13.486-42.674-21.743-68.182-22.258l-0.126-0.002c-24.268-1.438-48.595 1.258-72.892 1.917-1.368 0.152-2.954 0.239-4.56 0.239-6.407 0-12.492-1.379-17.975-3.855l0.275 0.111c-8.372-6.164-14.657-14.726-17.878-24.667l-0.098-0.35c-10.261-22.248-21.495-41.312-34.374-59.107l0.699 1.014c-4.117-6.46-9.397-11.807-15.591-15.876l-0.198-0.122c-2.989-1.906-6.632-3.038-10.54-3.038-4.025 0-7.77 1.201-10.895 3.264l0.074-0.046c-5.008 5.342-8.084 12.547-8.084 20.471 0 1.232 0.074 2.447 0.219 3.641l-0.014-0.144q-1.079 50.932 0.539 101.864l-46.737-99.916c-5.992-12.583-19.714-35.952-36.971-26.305-3.781 2.254-6.698 5.616-8.341 9.634l-0.048 0.133c-1.915 5.207-3.022 11.22-3.022 17.492 0 0.581 0.010 1.16 0.028 1.737l-0.002-0.084-2.187 93.205c0.019 0.732 0.029 1.593 0.029 2.458 0 9.549-1.301 18.793-3.736 27.566l0.171-0.723c-2.753 9.784-9.421 17.656-18.162 21.96l-0.204 0.091c-2.597 0.83-5.585 1.308-8.685 1.308-15.36 0-27.977-11.748-29.356-26.749l-0.009-0.116c0.199-18.602 14.579-33.784 32.83-35.255l0.126-0.008z" />
     19<glyph unicode="&#xe909;" glyph-name="icon1" horiz-adv-x="922" d="M716.8 396.8h-256v-256h256zM665.6 960v-102.4h-409.6v102.4h-102.4v-102.4h-51.2c-56.279-0.032-101.889-45.662-101.889-101.945 0-0.16 0-0.32 0.001-0.48v0.025l-0.512-716.8c0-56.554 45.846-102.4 102.4-102.4v0h716.8c56.489 0.161 102.239 45.911 102.4 102.385v716.815c-0.161 56.489-45.911 102.239-102.385 102.4h-51.215v102.4zM819.2 38.4h-716.8v563.2h716.8z" />
     20<glyph unicode="&#xe90a;" glyph-name="icon2" d="M471.337 527.754c-96.346 45.227-212.636 28.304-290.847-49.907-99.806-99.806-99.806-261.623 0-361.428s261.623-99.806 361.428 0c78.211 78.211 95.133 194.501 50.767 289.191l-0.861 1.656 131.020 131.020 120.488-120.488 120.488 120.488-120.523 120.523 60.226 60.226-120.453 120.453zM421.642 237.083c-33.262-33.262-87.191-33.262-120.453 0s-33.262 87.191 0 120.453c33.262 33.262 87.191 33.262 120.453 0v0c33.077-33.314 33.077-87.069 0.011-120.372l-0.011-0.011z" />
     21<glyph unicode="&#xe90b;" glyph-name="icon3" horiz-adv-x="1047" d="M291.441 877.047l-75.1 75.1c-126.085-96.221-208.693-243.873-216.298-411.075l-0.043-1.19h105c8.014 139.322 79.194 260.509 185.098 336.252l1.343 0.913zM942.094 539.65h105c-8.151 168.249-90.615 315.709-215.035 411.243l-1.306 0.963-74.576-74.809c106.763-76.996 177.634-198.030 185.859-335.935l0.059-1.229zM838.664 513.414c0 161.194-86.094 296.153-236.294 331.871v35.95c0 43.501-35.264 78.765-78.765 78.765s-78.765-35.264-78.765-78.765v0-35.718c-150.723-35.718-236.294-170.153-236.294-331.871v-262.588l-105.117-105v-52.355h840.235v52.355l-105 105zM523.547-63.825c0.427-0.007 0.93-0.011 1.434-0.011 6.932 0 13.685 0.767 20.179 2.221l-0.613-0.115c34.2 7.457 61.802 30.537 75.355 61.214l0.269 0.681c4.969 11.807 7.856 25.532 7.856 39.931 0 0.278-0.001 0.555-0.003 0.832v-0.042h-210.001c0.591-57.876 47.582-104.581 105.512-104.709h0.012z" />
     22<glyph unicode="&#xe90c;" glyph-name="icon4" horiz-adv-x="996" d="M878.811 397.875c2.052 14.783 3.224 31.863 3.224 49.218 0 0.329 0 0.658-0.001 0.987v-0.051c0.005 0.648 0.008 1.413 0.008 2.18 0 16.936-1.366 33.554-3.995 49.747l0.237-1.773 108.277 84.254c5.81 4.838 9.481 12.074 9.481 20.168 0 4.522-1.146 8.776-3.163 12.488l0.068-0.138-102.418 177.063c-4.565 7.961-13.014 13.237-22.695 13.237-3.144 0-6.159-0.557-8.95-1.577l0.181 0.058-127.495-51.209c-24.949 19.48-53.421 36.308-83.951 49.225l-2.472 0.929-19.218 135.463c-1.971 12.45-12.627 21.855-25.48 21.855-0.044 0-0.088 0-0.132 0h-205.063c-0.016 0-0.035 0-0.054 0-12.748 0-23.29-9.447-25.008-21.722l-0.015-0.133-19.218-135.463c-32.996-13.954-61.458-30.773-87.301-50.809l0.878 0.655-127.495 51.209c-2.683 1.049-5.79 1.656-9.038 1.656-9.638 0-18.027-5.35-22.359-13.242l-0.067-0.132-101.89-177.063c-2.309-3.646-3.68-8.086-3.68-12.845 0-8.067 3.938-15.215 9.997-19.625l0.070-0.048 108.277-84.254c-2.793-14.924-4.529-32.238-4.801-49.907l-0.003-0.247c-0.003-0.547-0.005-1.195-0.005-1.842 0-17.054 1.366-33.79 3.993-50.103l-0.238 1.791-108.277-84.254c-5.81-4.838-9.481-12.074-9.481-20.168 0-4.522 1.146-8.776 3.163-12.488l-0.068 0.138 102.418-177.063c4.565-7.961 13.014-13.237 22.695-13.237 3.144 0 6.159 0.557 8.95 1.577l-0.181-0.058 127.495 51.209c24.949-19.48 53.421-36.308 83.951-49.225l2.472-0.929 19.804-135.522c2.139-12.405 12.765-21.741 25.592-21.854h205.082c0.108-0.002 0.235-0.003 0.363-0.003 12.68 0 23.146 9.477 24.702 21.734l0.013 0.123 19.218 135.463c33.011 13.698 61.498 30.538 87.209 50.751l-0.787-0.596 127.495-51.209c2.683-1.049 5.79-1.656 9.038-1.656 9.638 0 18.027 5.35 22.359 13.242l0.067 0.132 102.418 177.063c2.225 3.633 3.543 8.032 3.543 12.738 0 8.070-3.875 15.235-9.866 19.735l-0.064 0.046zM497.967 256.026c-105.983 0.233-191.847 86.035-192.179 191.972v0.032c0.332 105.907 86.097 191.672 191.972 192.004h0.032c105.907-0.332 191.672-86.097 192.004-191.972v-0.032c-0.331-105.825-85.963-191.539-191.725-192.004h-0.045z" />
     23<glyph unicode="&#xe90d;" glyph-name="shortcode_icon1" horiz-adv-x="1707" d="M631.467 55.467l-392.533 392.533 392.533 392.533-119.467 119.467-512-512 512-512zM1075.2 55.467l392.533 392.533-392.533 392.533 119.467 119.467 512-512-512-512z" />
     24<glyph unicode="&#xe90e;" glyph-name="cart_icon" horiz-adv-x="983" d="M487.602 569.93h97.532v146.269h146.269v97.532h-146.269v146.269h-97.532v-146.269h-146.21v-97.532h146.21zM292.597 131.064c-0.017 0-0.038 0-0.059 0-53.866 0-97.532-43.667-97.532-97.532s43.667-97.532 97.532-97.532c53.866 0 97.532 43.667 97.532 97.532v0c0 0.035 0 0.076 0 0.118 0 53.801-43.614 97.414-97.414 97.414-0.021 0-0.041 0-0.062 0h0.003zM780.199 131.064c-53.866 0-97.532-43.667-97.532-97.532s43.667-97.532 97.532-97.532c53.866 0 97.532 43.667 97.532 97.532v0c0 0.035 0 0.076 0 0.118 0 53.801-43.614 97.414-97.414 97.414-0.041 0-0.083 0-0.124 0h0.006zM300.837 289.518l1.472 5.886 43.91 79.462h363.288c0.102 0 0.223-0.001 0.344-0.001 36.414 0 68.145 20.053 84.752 49.718l0.252 0.491 188.354 341.804-84.818 47.089h-0.471l-53.858-97.768-134.556-243.801h-342.334l-6.357 13.126-109.187 230.675-46.323 97.532-45.853 97.532h-159.454v-97.532h97.532l175.523-370.116-65.806-119.311c-7.666-13.326-12.187-29.303-12.187-46.336 0-0.265 0.001-0.529 0.003-0.793v0.040c0.167-53.798 43.734-97.365 97.516-97.532h585.15v97.532h-564.71c-6.73 0.099-12.152 5.562-12.184 12.299v0.003z" />
     25<glyph unicode="&#xe90f;" glyph-name="next" horiz-adv-x="662" d="M204.8-43.52c-27.307-27.307-81.92-27.307-109.227 0l-75.093 75.093c-27.307 27.307-27.307 81.92 0 109.227l307.2 307.2-307.2 307.2c-27.307 27.307-27.307 81.92 0 109.227l75.093 75.093c27.307 27.307 81.92 27.307 109.227 0l436.907-436.907c27.307-27.307 27.307-81.92 0-109.227l-436.907-436.907z" />
     26<glyph unicode="&#xe910;" glyph-name="previous" horiz-adv-x="662" d="M20.48 393.387c-27.307 27.307-27.307 81.92 0 109.227l436.907 436.907c27.307 27.307 75.093 27.307 109.227 0l75.093-75.093c27.307-27.307 27.307-75.093 0-109.227l-314.027-307.2 314.027-307.2c27.307-27.307 27.307-75.093 0-109.227l-75.093-75.093c-27.307-27.307-75.093-27.307-109.227 0l-436.907 436.907z" />
     27<glyph unicode="&#xe911;" glyph-name="icon6" horiz-adv-x="1707" d="M631.467 55.467l-392.533 392.533 392.533 392.533-119.467 119.467-512-512 512-512zM1075.2 55.467l392.533 392.533-392.533 392.533 119.467 119.467 512-512-512-512-119.467 119.467z" />
     28<glyph unicode="&#xe912;" glyph-name="icon5" d="M512 960c-282.77 0-512-229.23-512-512s229.23-512 512-512c282.77 0 512 229.23 512 512v0c-0.854 282.426-229.574 511.146-511.918 512h-0.082zM727.040 232.96l-266.24 163.84v307.2h76.8v-266.24l230.4-138.541z" />
    2829</font></defs></svg>
  • wp-cafe/trunk/assets/js/wpc-public.js

    r2378658 r2387102  
    4242    return response;
    4343}
     44
    4445(function ($) {
     46
     47    //   custom tabs
     48    $(document).on('click', '.wpc-tab-a', function (event) {
     49        event.preventDefault();
     50        $(this).parents(".wpc-food-tab-wrapper").find(".wpc-tab").removeClass('tab-active');
     51        $(this).parents(".wpc-food-tab-wrapper").find(".wpc-tab[data-id='" + $(this).attr('data-id') + "']").addClass("tab-active");
     52        $(this).parents(".wpc-food-tab-wrapper").find(".wpc-tab-a").removeClass('wpc-active');
     53        $(this).parent().find(".wpc-tab-a").addClass('wpc-active');
     54    });
    4555    var local_storage_value = localStorage.getItem('wpc_location');
    4656    $("#wpc_location_name option[value='" + local_storage_value + "']").attr("selected", true);
    … …  
    327337            inline_value = false;
    328338        }
     339        var reserve_status = $(".wpc-reservation-form").data('reservation_status');
     340
    329341        // inline flat picker date
    330342        if ($('#wpc-booking-date').length > 0) {
    … …  
    338350                    if (typeof wpc_booking_form_data !== "undefined") {
    339351                        var wpc_new_selected_date = wpc_flatpicker_date_change(selectedDates, "Y-m-d");
     352                        if ( wpc_booking_form_data.wpc_today ==  wpc_new_selected_date  && reserve_status =="closed") {
     353                            alert("Our all seat is booked . Reservation is closed for today.Please try another day");
     354                            return;
     355                        }
    340356                        var response;
    341357                        var exception_date = wpc_booking_form_data.wpc_exception_date;
    … …  
    422438            document.getElementById(single_title).style.display = "block";
    423439        }
     440
    424441        // reservation form validation
    425442        function button_disable() {
    426443            var length = $(".wpc_booking_error").length;
    427             if (length == 0) {
     444            if ( length == 0 ) {
    428445                $('.reservation_form_submit').prop('disabled', false);
    429446                $('.reservation_form_submit').removeClass('wpc_reservation_form_disabled');
    … …  
    572589                container.removeClass('cart_icon_active');
    573590            }
    574         });
    575 
    576         //   custom tabs
    577         $(document).on('click', '.wpc-tab-a', function (event) {
    578             event.preventDefault();
    579             $(this).parents(".wpc-food-tab-wrapper").find(".wpc-tab").removeClass('tab-active');
    580             $(this).parents(".wpc-food-tab-wrapper").find(".wpc-tab[data-id='" + $(this).attr('data-id') + "']").addClass("tab-active");
    581             $(this).parents(".wpc-food-tab-wrapper").find(".wpc-tab-a").removeClass('wpc-active');
    582             $(this).parent().find(".wpc-tab-a").addClass('wpc-active');
    583591        });
    584592
  • wp-cafe/trunk/assets/scss/_base.scss

    r2309381 r2387102  
    5858.reservation_form_submit.wpc-btn,
    5959.cancell_form_submit.wpc-btn,
     60body.woocomerce-layout-override-enable.woocommerce button.button.alt,
     61body.woocomerce-layout-override-enable.woocommerce #respond input#submit,
     62body.woocomerce-layout-override-enable .woocommerce button.button.alt,
     63body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button,
    6064.wpc-settings-dashboard .button-primary {
    6165    font-size: 16px;
  • wp-cafe/trunk/assets/scss/wpc-admin.scss

    r2368463 r2387102  
    44        .toplevel_page_cafe_menu {
    55                .dashicons-admin-generic:before {
    6                         content    : "\e900";
     6                        content    : "\e908";
    77                        font-family: 'wpcafe' !important;
    88                }
    … …  
    100100
    101101                                &[data-id="hooks"] {
    102                                         i:before {
    103                                                 content  : "\e909";
     102                                        i.wpcafe-icon5:before {
     103                                                content: "\e911";
    104104                                                font-size: 12px;
    105105                                        }
    … …  
    178178                }
    179179        }
    180 
     180        //   label item
    181181        .wpc-label-item {
    182182
    … …  
    197197                        }
    198198
    199                         .exception_time_clear {
     199                          .exception_time_clear,
     200                          .wpc_all_day_clear,
     201                          .wpc_weekly_clear,
     202                          .wpc_pickup_weekly_clear,
     203                          .wpc_delivery_weekly_clear {
    200204                                display     : flex;
    201205                                align-self  : center;
    … …  
    206210                }
    207211
    208 
     212                //   shcedule block
    209213                .schedule_block,
    210214                .pickup_weekly_block,
    … …  
    226230                        }
    227231                }
    228 
     232                //   esception
    229233                .exception_block,
    230234                .schedule_block,
    … …  
    262266
    263267        }
    264 
     268        //   copy button
    265269        .wpc_copy_button {
    266270                span {
    … …  
    395399                @include border-radius(5px);
    396400        }
    397 
     401        //   list table
    398402        .wp-list-table {
    399403                border: none;
    … …  
    426430  }
    427431
    428 
     432//   reservation meta
    429433  #wpc_reservation_meta {
    430434        h2.hndle {
    … …  
    444448  }
    445449
    446 
     450// doc link
     451.doc-link{
     452        font-weight: 700;
     453        color: $primary-color;
     454}
    447455
    448456  /*------------------------
  • wp-cafe/trunk/assets/scss/wpc-public.scss

    r2378658 r2387102  
    783783        position       : relative;
    784784        list-style-type: none;
     785        margin: 0;
    785786
    786787        li {
    … …  
    791792            padding-top: 15px !important;
    792793            padding-right   : 20px !important;
    793             margin-top      : 10px;
     794            margin: 10px 0 20px !important;;
    794795            padding         : 15px;
    795             margin-bottom   : 20px !important;
    796796            background-color: #F9F9F9;
    797797            @include border-radius(4px);
  • wp-cafe/trunk/core/enqueue/wpc-enqueue.php

    r2371829 r2387102  
    132132        $wpc_one_week  = date( 'Y-m-d', strtotime( date( 'Y-m-d' ) . ' +7 day' ) );
    133133        $wpc_one_month = date( 'Y-m-t', strtotime( date( 'Y-m-d' ) ) );
     134        $wpc_today     = date( 'Y-m-d' );
    134135
    135136        $form_data = [];
    … …  
    169170                'wpc_one_week'                   => $wpc_one_week,
    170171                'wpc_one_month'                  => $wpc_one_month,
     172                'wpc_today'                      => $wpc_today,
    171173            ];
    172174        }
    … …  
    212214     */
    213215    public function frontend_get_styles() {
    214         return [
     216        $enequeue = [
    215217            'wpc-flatpicker' => [
    216218                'src'     => WPC_ASSETS . 'css/flatpickr.min.css',
    … …  
    232234
    233235        ];
     236
     237        if(is_rtl()){
     238            $enequeue['wpc-rtl'] =[
     239                'src'     => WPC_ASSETS . 'css/rtl.css',
     240                'version' => WPC_VERSION,
     241            ];
     242        }
     243
     244        return $enequeue;
    234245    }
    235246
  • wp-cafe/trunk/core/template/wpc-key-options.php

    r2368463 r2387102  
    3131                    $schedule_text  = esc_html__('reservation settings section for reservation schedule of your restaurant.', 'wpcafe');
    3232                    $menu_text      = esc_html__(' for food menu options of your restaurant.', 'wpcafe');
    33                     $sched_doc_link = Wpc_Utilities::wpc_kses( '<a href="https://support.themewinter.com/docs/plugins/docs/general-settings-2/" target="_blank">'. $documentation .'</a> ' );
    34                     $fmenu_doc_link = Wpc_Utilities::wpc_kses( '<a href="https://support.themewinter.com/docs/plugins/docs/food-menu/" target="_blank">'. $documentation .'</a> ' );
     33                    $sched_doc_link = Wpc_Utilities::wpc_kses( '<a href="https://support.themewinter.com/docs/plugins/docs/general-settings-2/" target="_blank" class="doc-link">'. $documentation .'</a> ' );
     34                    $fmenu_doc_link = Wpc_Utilities::wpc_kses( '<a href="https://support.themewinter.com/docs/plugins/docs/food-menu/" target="_blank" class="doc-link"> '. $documentation .'</a> ' );
    3535                    // show tab
    3636                    $settings_tabs = array(
    … …  
    5050                        <?php
    5151                            $filterd_tab = apply_filters('wpcafe/key_options/settings_tab_item', $tab_arr );
    52                             $tabs = $filterd_tab[0];
    53                             $wpc_doc_link = $filterd_tab[1];
     52                            if( isset( $filterd_tab['settings_tab']) ){
     53                                $tabs = $filterd_tab['settings_tab'][0];
     54                                $wpc_doc_link = $filterd_tab['settings_tab'][1];
     55                            }else{
     56                                $tabs = $tab_arr[0];
     57                            }
     58
    5459                            $i=0;
    5560                            foreach ($tabs as $key => $value){
    … …  
    315320                                    // Key options
    316321                                    elseif ( $item == 'key_options' ) {
     322                                        $get_data = apply_filters('wpcafe/key_options/menu_settings', $settings);
     323
    317324                                        ?>
    318325                                            <h3 class="wpc-tab-title"><?php esc_html_e('General Option', $this->textdomain ); ?></h3>
    … …  
    334341                                                </div>
    335342                                            </div>
    336                                            
     343                                            <?php
     344                                                // render key settings
     345                                                if( isset( $get_data['key_options'])){
     346                                                    echo $get_data['key_options'];
     347                                                }
     348                                            ?>
    337349                                            <div class="wpc-label-item">
    338350                                                <div class="wpc-label">
    … …  
    810822                                        </div>
    811823                                        <?php
    812                                         apply_filters('wpcafe/key_options/menu_settings', $settings);
     824                                        // render menu settings
     825                                        if( isset( $get_data['menu_settings'])){
     826                                            echo $get_data['menu_settings'];
     827                                        }
    813828                                    }
    814829                                    //hooks
  • wp-cafe/trunk/core/widgets/hook.php

    r2378658 r2387102  
    3333
    3434        // add minicart to header
     35        add_action('wp_head', [$this, 'wpc_custom_inline_css']);
    3536        add_action('wp_head', [$this, 'wpc_custom_mini_cart']);
    3637
    … …  
    4344
    4445        // menu order action
    45         // add_action('product_cat_add_form_fields', [$this, 'wpc_product_cat_taxonomy_add_new_meta_field'], 10, 1);
     46        add_action('product_cat_add_form_fields', [$this, 'wpc_product_cat_taxonomy_add_new_meta_field'], 10, 1);
    4647        add_action('product_cat_edit_form_fields', [$this, 'wpc_product_cat_taxonomy_edit_meta_field'], 10, 1);
    4748        add_action('edited_product_cat', [$this, 'wpc_product_cat_taxonomy_save_meta_field'], 10, 1);
    … …  
    5253        add_action('manage_product_cat_custom_column', [$this, 'wpc_custom_fields_list_diplay'], 10, 3);
    5354
    54         // update cart counter
    55         add_filter('woocommerce_add_to_cart_fragments', [$this, 'wpc_add_to_cart_count_fragment_refresh'], 30, 1);
    56         add_filter('woocommerce_add_to_cart_fragments', [$this, 'wpc_add_to_cart_content_fragment_refresh']);
    57     }
    58 
     55        if (class_exists('woocommerce')) {
     56            // update cart counter
     57            add_filter('woocommerce_add_to_cart_fragments', [$this, 'wpc_add_to_cart_count_fragment_refresh'], 30, 1);
     58            add_filter('woocommerce_add_to_cart_fragments', [$this, 'wpc_add_to_cart_content_fragment_refresh']);
     59        }
     60    }
    5961
    6062    /**
    … …  
    8385     * @param $content
    8486     */
    85     public function wpc_food_menu_tab( $atts ){
    86         if (!class_exists('Woocommerce')) { return; }
    87        
     87    public function wpc_food_menu_tab($atts)
     88    {
     89        if (!class_exists('Woocommerce')) {
     90            return;
     91        }
     92
    8893        ob_start();
    8994        // show location
    … …  
    117122            }
    118123            ksort($wpc_cat_sort_arr);
    119             ?>
     124?>
    120125            <div class="wpc-food-tab-wrapper wpc-food-menu-wrapper wpc-nav-shortcode">
    121126                <ul class="wpc-nav">
    … …  
    124129                        if ($wpc_cat = get_term_by('id', $value, 'product_cat')) {
    125130                            $active_class = (($key == array_keys($wpc_cat_sort_arr)[0]) ? 'wpc-active' : ' ');
    126                             ?>
     131                    ?>
    127132                            <li>
    128                                 <a href="#" data-id="tab_<?php echo intval( $key ); ?>" class="wpc-tab-a <?php echo esc_attr($active_class); ?>" data-toggle="tab" aria-expanded="true">
     133                                <a href="#" data-id="tab_<?php echo intval($key); ?>" class="wpc-tab-a <?php echo esc_attr($active_class); ?>" data-toggle="tab" aria-expanded="true">
    129134                                    <span><?php echo esc_attr_e($wpc_cat->name, 'wpcafe'); ?></span>
    130135                                </a>
    131136                            </li>
    132                             <?php
     137                    <?php
    133138                        }
    134139                    }
    … …  
    138143                    <?php
    139144                    foreach ($wpc_cat_sort_arr as $current_key => $value) {
    140                         $products = Wpc_Utilities::product_query( "product" , $no_of_product , $value , "DESC" );
     145                        $products = Wpc_Utilities::product_query("product", $no_of_product, [$value], "DESC");
    141146                        $active_class = (($current_key == array_keys($wpc_cat_sort_arr)[0]) ? 'tab-active' : ' ');
    142                         ?>
    143                         <div class='wpc-tab <?php echo esc_attr($active_class); ?>' data-id='tab_<?php echo intval( $current_key ); ?>'>
     147                    ?>
     148                        <div class='wpc-tab <?php echo esc_attr($active_class); ?>' data-id='tab_<?php echo intval($current_key); ?>'>
    144149                            <div class='wpc-row'>
    145                                 <?php if(is_array( $products ) && count( $products )>0 ) :
     150                                <?php if (is_array($products) && count($products) > 0) :
    146151                                    foreach ($products as $product) { ?>
    147152                                        <div class='wpc-col-lg-6'>
    … …  
    202207                                                        echo  Wpc_Utilities::wpc_kses(get_the_excerpt($product->get_id()));
    203208                                                        // cart button
    204                                                         echo  Wpc_Utilities::product_add_to_cart( $product, $wpc_cart_button, "", "", $unique_id );
     209                                                        echo  Wpc_Utilities::product_add_to_cart($product, $wpc_cart_button, "", "", $unique_id);
    205210                                                        ?>
    206211                                                    </div>
    … …  
    208213                                            </div>
    209214                                        </div>
    210                                 <?php } endif; ?>
     215                                <?php }
     216                                endif; ?>
    211217                            </div>
    212218                        </div>
    … …  
    227233     * @param Type $var
    228234     */
    229     public function wpc_food_menu_list( $atts ){
    230         if (!class_exists('Woocommerce')) { return; }
     235    public function wpc_food_menu_list($atts)
     236    {
     237        if (!class_exists('Woocommerce')) {
     238            return;
     239        }
    231240
    232241        ob_start();
    … …  
    248257        $wpc_cat_arr      = explode(',', $wpc_food_categories);
    249258
    250         if (is_array( $wpc_cat_arr ) && count( $wpc_cat_arr ) > 0) {
    251             $products = Wpc_Utilities::product_query( "product" , $no_of_product , $wpc_cat_arr , "DESC" );
    252             ?>
     259        if (is_array($wpc_cat_arr) && count($wpc_cat_arr) > 0) {
     260            $products = Wpc_Utilities::product_query("product", $no_of_product, $wpc_cat_arr, "DESC");
     261        ?>
    253262            <div class='wpc-food-wrapper wpc-nav-shortcode'>
    254263                <div class="wpc-widget-wrapper">
    255                 <?php if(is_array( $products ) && count( $products )>0 ) :
    256                     foreach ($products as $product) { ?>
    257                         <div class="wpc-food-menu-item wpc-row">
    258                             <!-- thumbnail -->
    259                             <?php if ($product->get_image()) { ?>
    260                                 <div class="wpc-col-md-3">
    261                                     <div class="wpc-food-menu-thumb">
    262                                         <a href="<?php echo esc_url(get_permalink($product->get_id())); ?>">
    263                                             <?php echo Wpc_Utilities::wpc_kses($product->get_image()) ?>
    264                                         </a>
     264                    <?php if (is_array($products) && count($products) > 0) :
     265                        foreach ($products as $product) { ?>
     266                            <div class="wpc-food-menu-item wpc-row">
     267                                <!-- thumbnail -->
     268                                <?php if ($product->get_image()) { ?>
     269                                    <div class="wpc-col-md-3">
     270                                        <div class="wpc-food-menu-thumb">
     271                                            <a href="<?php echo esc_url(get_permalink($product->get_id())); ?>">
     272                                                <?php echo Wpc_Utilities::wpc_kses($product->get_image()) ?>
     273                                            </a>
     274                                        </div>
     275                                    </div>
     276                                <?php } ?>
     277                                <div class="wpc-col-md-9">
     278                                    <div class="wpc-food-inner-content">
     279                                        <!-- display tag -->
     280                                        <div class="wpc-menu-tag-wrap">
     281                                            <?php
     282                                            Utils::wpc_tag($product->get_id(), $product->is_in_stock());
     283                                            $price = '';
     284                                            if (wc_get_price_including_tax($product)) {
     285                                                $price      = wc_get_price_including_tax($product);
     286                                            } else {
     287                                                $price = wc_get_price_excluding_tax($product);
     288                                            }
     289                                            ?>
     290                                            <?php if ($product->get_price_suffix() != '') { ?>
     291                                                <ul class="wpc-menu-tag">
     292                                                    <li>
     293                                                        <?php if (wc_get_price_including_tax($product)) {
     294                                                            // get percentage tax
     295                                                            echo Wpc_Utilities::wpc_kses($product->get_price_suffix());
     296                                                        } ?>
     297                                                    </li>
     298                                                </ul>
     299                                            <?php } ?>
     300                                        </div>
     301                                        <h3 class="wpc-post-title">
     302                                            <a href="<?php echo esc_url(get_permalink($product->get_id())); ?>"><?php echo esc_html($product->get_name());  ?> </a>
     303                                            <?php if ($product->get_type() !== 'variable') { ?>
     304                                                <span class="wpc-menu-currency"><?php echo Wpc_Utilities::wpc_render(get_woocommerce_currency_symbol()); ?> <span class="wpc-menu-price"><?php echo esc_html($price); ?></span></span>
     305                                            <?php } else {
     306                                                $variation_price = $product->get_variation_prices(true); // true for getting tax price
     307                                                $var_price = '';
     308                                                if (is_array($variation_price) && isset($variation_price['price'])) {
     309                                                    $var_price = get_woocommerce_currency_symbol() . array_shift($variation_price['price']) . "-" . get_woocommerce_currency_symbol() . array_pop($variation_price['price']);
     310                                                } ?>
     311                                                <span class="wpc-menu-currency"><span class="wpc-menu-price"><?php echo esc_html($var_price); ?></span></span>
     312                                            <?php
     313                                            } ?>
     314                                        </h3>
     315                                        <?php
     316                                        // show product details
     317                                        echo  Wpc_Utilities::wpc_kses(get_the_excerpt($product->get_id()));
     318                                        // cart button
     319                                        echo  Wpc_Utilities::product_add_to_cart($product, $wpc_cart_button);
     320                                        ?>
    265321                                    </div>
    266322                                </div>
    267                             <?php } ?>
    268                             <div class="wpc-col-md-9">
    269                                 <div class="wpc-food-inner-content">
    270                                     <!-- display tag -->
    271                                     <div class="wpc-menu-tag-wrap">
    272                                         <?php
    273                                         Utils::wpc_tag($product->get_id(), $product->is_in_stock());
    274                                         $price = '';
    275                                         if (wc_get_price_including_tax($product)) {
    276                                             $price      = wc_get_price_including_tax($product);
    277                                         } else {
    278                                             $price = wc_get_price_excluding_tax($product);
    279                                         }
    280                                         ?>
    281                                         <?php if ($product->get_price_suffix() != '') { ?>
    282                                             <ul class="wpc-menu-tag">
    283                                                 <li>
    284                                                     <?php if (wc_get_price_including_tax($product)) {
    285                                                         // get percentage tax
    286                                                         echo Wpc_Utilities::wpc_kses($product->get_price_suffix());
    287                                                     } ?>
    288                                                 </li>
    289                                             </ul>
    290                                         <?php } ?>
    291                                     </div>
    292                                     <h3 class="wpc-post-title">
    293                                         <a href="<?php echo esc_url(get_permalink($product->get_id())); ?>"><?php echo esc_html($product->get_name());  ?> </a>
    294                                         <?php if ($product->get_type() !== 'variable') { ?>
    295                                             <span class="wpc-menu-currency"><?php echo Wpc_Utilities::wpc_render(get_woocommerce_currency_symbol()); ?> <span class="wpc-menu-price"><?php echo esc_html($price); ?></span></span>
    296                                         <?php } else {
    297                                             $variation_price = $product->get_variation_prices(true); // true for getting tax price
    298                                             $var_price = '';
    299                                             if (is_array($variation_price) && isset($variation_price['price'])) {
    300                                                 $var_price = get_woocommerce_currency_symbol() . array_shift($variation_price['price']) . "-" . get_woocommerce_currency_symbol() . array_pop($variation_price['price']);
    301                                             } ?>
    302                                             <span class="wpc-menu-currency"><span class="wpc-menu-price"><?php echo esc_html($var_price); ?></span></span>
    303                                         <?php
    304                                         } ?>
    305                                     </h3>
    306                                     <?php
    307                                     // show product details
    308                                     echo  Wpc_Utilities::wpc_kses(get_the_excerpt($product->get_id()));
    309                                     // cart button
    310                                     echo  Wpc_Utilities::product_add_to_cart( $product,$wpc_cart_button );
    311                                     ?>
    312                                 </div>
    313323                            </div>
    314                         </div>
    315                 <?php  } endif;  ?>
     324                    <?php  }
     325                    endif;  ?>
    316326                </div>
    317327            </div>
    … …  
    338348
    339349            $wpc_cart_icon  = '';
    340             $wpc_custom_css = '';
    341 
    342350            // icon
    343351            if (isset($settings['wpc_mini_cart_icon'])) {
    … …  
    347355            }
    348356
    349             // cart bg color
    350             if (isset($settings['wpc_primary_color'])) {
    351                 $bg_color = $settings['wpc_primary_color'] ? $settings['wpc_primary_color'] : "#5D78FF ";
    352                 $wpc_custom_css .= '.wpc_background_color { background-color : ' . esc_attr($bg_color) . '}';
    353                 //button
    354                 $wpc_custom_css .= '
    355                 .wpc_cart_block .wpc_background_color a.button.wc-forward,
    356                 .wpc-food-menu-item .wpc-food-inner-content .wpc-menu-tag li,
    357                 .wpc_cart_block .wpc_cart_icon,
    358                 .picker__holder .picker__box,
    359                 .wpc-food-menu-item .wpc-add-to-cart a,
    360                 .wpc-btn, .attr-btn-primary, .reservation_form_submit.wpc-btn, .cancell_form_submit.wpc-btn, .wpc-settings-dashboard .button-primary {
    361                      background-color : ' . esc_attr($bg_color) . '
    362                     }
    363 
    364                 .wpc-food-menu-item .wpc-food-inner-content .wpc-menu-currency,
    365                 .wpc-food-menu-item .wpc-food-inner-content .wpc-post-title a:hover,
    366                 .wpc_cart_block .woocommerce-mini-cart li a,
    367    
    368                 .wpc-food-tab-wrapper .wpc-nav li a.wpc-active{
    369                     color : ' . esc_attr($bg_color) . '
    370                 }
    371                 .wpc-food-tab-wrapper .wpc-nav li a.wpc-active{
    372                     border-bottom-color : ' . esc_attr($bg_color) . '
    373                 }
    374                 .wpc-food-tab-wrapper .wpc-nav li a:after{
    375                     border-color:' . esc_attr($bg_color) . ' transparent transparent transparent;
    376                 }
    377                    
    378                 ';
    379                 // icon cross
    380                 $wpc_custom_css .= '.wpc_cart_block .woocommerce-mini-cart li .remove.remove_from_cart_button { background-color : ' . esc_attr($bg_color) . '}';
    381             } else {
    382                 $wpc_custom_css .= '.wpc_background_color { background-color : #d5d5d5 }';
    383                 //button
    384                 $wpc_custom_css .= '.wpc_cart_block .wpc_background_color a.button.wc-forward { background-color : ' . esc_attr('#5D78FF') . '}';
    385             }
    386 
    387             // cart icon color
    388             if (isset($settings['wpc_secondary_color'])) {
    389                 $color = $settings['wpc_secondary_color'] ? $settings['wpc_secondary_color'] : "#d5d5d5 ";
    390 
    391                 //button hover
    392                 $wpc_custom_css .= '
    393                 .wpc_cart_block .wpc_background_color a.button.wc-forward:hover,
    394                 .wpc-btn:hover, .wpc-btn:focus, .attr-btn-primary:hover, .attr-btn-primary:focus,
    395                 .reservation_form_submit.wpc-btn:hover, .reservation_form_submit.wpc-btn:focus,
    396                 .cancell_form_submit.wpc-btn:hover, .cancell_form_submit.wpc-btn:focus,
    397                 .wpc-settings-dashboard .button-primary:hover,
    398                  .wpc-settings-dashboard .button-primary:focus,
    399                 #wpc_location_modal .wpc-close {
    400                      background-color : ' . esc_attr($color) . '
    401                     }
    402                 ';
    403                 // icon cross hover
    404                 $wpc_custom_css .= '.wpc_cart_block .woocommerce-mini-cart li .remove.remove_from_cart_button { background-color : ' . esc_attr($color) . '}';
    405                 // count
    406                 $wpc_custom_css .= '.cart-items-count { color : ' . esc_attr($color) . '}';
    407             } else {
    408                 $wpc_custom_css .= 'a.wpc_cart_icon i { color : #000}';
    409                 //button hover
    410                 $wpc_custom_css .= '.wpc_cart_block .wpc_background_color a.button.wc-forward:hover { background-color : ' . esc_attr('#5D78FF') . '}';
    411                 // icon cross hover
    412                 $wpc_custom_css .= '.wpc_cart_block .woocommerce-mini-cart li .remove.remove_from_cart_button:hover { background-color : ' . esc_attr($color) . '}';
    413                 // count
    414                 $wpc_custom_css .= '.cart-items-count { color : ' . esc_attr('#fff') . '}';
    415             }
    416 
    417             // add inline css
    418             wp_register_style('wpc-cart-css', false);
    419             wp_enqueue_style('wpc-cart-css');
    420             wp_add_inline_style('wpc-cart-css', $wpc_custom_css);
    421357        ?>
    422358            <ul class="wpc_cart_block"><a href="#" class="wpc_cart_icon">
    … …  
    606542        return $columns;
    607543    }
     544
     545
     546
     547    /**
     548     * Custom inline css
     549     *
     550     */
     551    public function wpc_custom_inline_css()
     552    {
     553        if (!class_exists('WooCommerce')) {
     554            return;
     555        }
     556        $settings       = $this->settings_obj;
     557
     558        $wpc_custom_css = '';
     559
     560        // cart bg color
     561        if (isset($settings['wpc_primary_color'])) {
     562            $bg_color = $settings['wpc_primary_color'] ? $settings['wpc_primary_color'] : "#5D78FF ";
     563            $wpc_custom_css .= '.wpc_background_color { background-color : ' . esc_attr($bg_color) . '}';
     564            //button
     565            $wpc_custom_css .= '
     566                .wpc_cart_block .wpc_background_color a.button.wc-forward,
     567                .wpc-food-menu-item .wpc-food-inner-content .wpc-menu-tag li,
     568                .wpc_cart_block .wpc_cart_icon,
     569                .picker__holder .picker__box,
     570                .wpc-food-menu-item .wpc-add-to-cart a,
     571                .wpc-reservation-field.date .flatpickr-calendar,
     572                .wpc-category-list-style1 .wpc-category-title a, .wpc-category-list-style3 .wpc-category-title a,
     573                .wpc-reservation-form .wpc_reservation_user_info,
     574                body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button,
     575                body.woocomerce-layout-override-enable .woocommerce button.button.alt,
     576                body.woocomerce-layout-override-enable.archive .products .product .button,
     577                body.woocomerce-layout-override-enable.archive .products .product .added_to_cart,
     578                body.woocomerce-layout-override-enable.single-product .products .product .button,
     579                body.woocomerce-layout-override-enable.single-product .products .product .added_to_cart,
     580                body.woocomerce-layout-override-enable.woocommerce #respond input#submit,
     581                .wpc-food-menu-item .wpc-menu-tag li,
     582                body.woocomerce-layout-override-enable.woocommerce button.button.alt,
     583                body.woocomerce-layout-override-enable.single-product div.product .woocommerce-tabs ul li.active,
     584                body.woocomerce-layout-override-enable.archive .woocommerce-pagination li span.current,
     585                 body.woocomerce-layout-override-enable.archive .woocommerce-pagination li a.current,
     586                body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .shop_table a.remove,
     587                .wpc-btn, .attr-btn-primary, .reservation_form_submit.wpc-btn, .cancell_form_submit.wpc-btn, .wpc-settings-dashboard .button-primary {
     588                     background-color : ' . esc_attr($bg_color) . '
     589                    }
     590
     591                .wpc-food-menu-item .wpc-food-inner-content .wpc-menu-currency,
     592                .wpc-food-menu-item .wpc-food-inner-content .wpc-post-title a:hover,
     593                .wpc_cart_block .woocommerce-mini-cart li a,
     594             
     595                body.woocomerce-layout-override-enable.archive .products .product .price,
     596                body.woocomerce-layout-override-enable.single-product .products .product .price,
     597                body.woocomerce-layout-override-enable.single-product .products .product .woocommerce-loop-product__title:hover,
     598                body.woocomerce-layout-override-enable .products .product .woocommerce-loop-product__title:hover,
     599                body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .shop_table tbody td.product-name a:hover,
     600                .woocomerce-layout-override-enable.woocommerce-checkout .woocommerce table.shop_table.woocommerce-checkout-review-order-table tfoot tr.order-total th,
     601                 .woocomerce-layout-override-enable.woocommerce-checkout .woocommerce table.shop_table.woocommerce-checkout-review-order-table tfoot tr.order-total td,
     602                .wpc-food-tab-wrapper .wpc-nav li a.wpc-active{
     603                    color : ' . esc_attr($bg_color) . '
     604                }
     605                .wpc-food-tab-wrapper .wpc-nav li a.wpc-active{
     606                    border-bottom-color : ' . esc_attr($bg_color) . '
     607                }
     608                body.woocomerce-layout-override-enable.single-product div.product .woocommerce-tabs ul li.active{
     609                    border-right-color : ' . esc_attr($bg_color) . '
     610                }
     611                .wpc-food-tab-wrapper .wpc-nav li a:after{
     612                    border-color:' . esc_attr($bg_color) . ' transparent transparent transparent;
     613                }
     614                   
     615                ';
     616            // icon cross
     617            $wpc_custom_css .= '.wpc_cart_block .woocommerce-mini-cart li .remove.remove_from_cart_button { background-color : ' . esc_attr($bg_color) . '}';
     618        } else {
     619            $wpc_custom_css .= '.wpc_background_color { background-color : #d5d5d5 }';
     620            //button
     621            $wpc_custom_css .= '.wpc_cart_block .wpc_background_color a.button.wc-forward { background-color : ' . esc_attr('#5D78FF') . '}';
     622        }
     623
     624        // cart icon color
     625        if (isset($settings['wpc_secondary_color'])) {
     626            $color = $settings['wpc_secondary_color'] ? $settings['wpc_secondary_color'] : "";
     627
     628            //button hover
     629            $wpc_custom_css .= '
     630                .wpc_cart_block .wpc_background_color a.button.wc-forward:hover,
     631                .wpc-btn:hover, .wpc-btn:focus, .attr-btn-primary:hover, .attr-btn-primary:focus,
     632                .reservation_form_submit.wpc-btn:hover, .reservation_form_submit.wpc-btn:focus,
     633                .cancell_form_submit.wpc-btn:hover, .cancell_form_submit.wpc-btn:focus,
     634                .wpc-settings-dashboard .button-primary:hover,
     635                 .wpc-settings-dashboard .button-primary:focus,
     636                 body.woocomerce-layout-override-enable.woocommerce button.button.alt:hover,
     637                 body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .shop_table a.remove:hover,
     638                 body.woocomerce-layout-override-enable.woocommerce-cart .woocommerce .button:hover,
     639                 .wpc-reservation-form .wpc_reservation_user_info .wpc_log_message,
     640                 body.woocomerce-layout-override-enable.woocommerce #respond input#submit:hover,
     641                 body.woocomerce-layout-override-enable .products .product span.onsale,
     642                 body.woocomerce-layout-override-enable.single-product .products .product span.onsale,
     643                 body.woocomerce-layout-override-enable .woocommerce button.button.alt:hover,
     644                #wpc_location_modal .wpc-close {
     645                     background-color : ' . esc_attr($color) . '
     646                    }
     647                ';
     648            // icon cross hover
     649            $wpc_custom_css .= '.wpc_cart_block .woocommerce-mini-cart li .remove.remove_from_cart_button { background-color : ' . esc_attr($color) . '}';
     650            // count
     651            $wpc_custom_css .= '
     652                .cart-items-count,
     653                .woocomerce-layout-override-enable.woocommerce div.product p.price,
     654                .woocomerce-layout-override-enable.woocommerce div.product span.price
     655                {
     656                    color : ' . esc_attr($color) .
     657                '}';
     658        } else {
     659            $wpc_custom_css .= 'a.wpc_cart_icon i { color : #000}';
     660            //button hover
     661            $wpc_custom_css .= '.wpc_cart_block .wpc_background_color a.button.wc-forward:hover { background-color : ' . esc_attr('#5D78FF') . '}';
     662            // icon cross hover
     663            $wpc_custom_css .= '.wpc_cart_block .woocommerce-mini-cart li .remove.remove_from_cart_button:hover { background-color : ' . esc_attr('#5D78FF') . '}';
     664            // count
     665            $wpc_custom_css .= '.cart-items-count { color : ' . esc_attr('#fff') . '}';
     666        }
     667
     668        // add inline css
     669        wp_register_style('wpc-cart-css', false);
     670        wp_enqueue_style('wpc-cart-css');
     671        wp_add_inline_style('wpc-cart-css', $wpc_custom_css);
     672    }
    608673}
  • wp-cafe/trunk/core/widgets/reservation-form-template.php

    r2358899 r2387102  
    1515if (is_array($result_data) && isset( $result_data['calender_view'])) {
    1616    $view      = $result_data['calender_view'];
    17     $column_lg = $result_data['column_lg'];
    18     $column_md = $result_data['column_md'];
     17    $column_lg = isset($result_data['column_lg']) ? $result_data['column_lg'] : 'wpc-col-lg-6';
     18    $column_md = isset($result_data['column_md']) ? $result_data['column_md'] : 'wpc-col-md-12';
    1919} else {
    2020    $view = 'yes';
    … …  
    2323}
    2424
     25$booking_status = isset( $result_data['booking_status'] ) ? $result_data['booking_status']: '';
     26
    2527$wpc_image_url = WPC_ASSETS . 'images/wpc_reservation_image.jpeg';
    2628if (is_array($atts) && isset($atts['wpc_image_url']) && $atts['wpc_image_url'] !== '') {
    … …  
    2830}
    2931?>
    30 <div class='wpc-reservation-form <?php echo esc_attr($cancellation_option) ?>'>
     32<div class='wpc-reservation-form <?php echo esc_attr($cancellation_option) ?>'
     33data-reservation_status='<?php echo esc_attr( $booking_status ) ?>'>
    3134    <div class='wpc_cancell_log_message'></div>
    3235    <div class='wpc_error_message'></div>
  • wp-cafe/trunk/languages/wpcafe.pot

    r2371829 r2387102  
    44"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
    55"Project-Id-Version: WP Cafe\n"
    6 "POT-Creation-Date: 2020-08-30 15:37+0600\n"
    7 "PO-Revision-Date: 2020-08-30 15:37+0600\n"
     6"POT-Creation-Date: 2020-09-23 18:55+0600\n"
     7"PO-Revision-Date: 2020-09-23 18:55+0600\n"
    88"Last-Translator: \n"
    99"Language-Team: \n"
    … …  
    113113#: core/metaboxes/wpc-reservation-meta.php:37
    114114#: core/report/wpc-reservation-report.php:33
    115 #: core/widgets/reservation-form-template.php:102
     115#: core/widgets/reservation-form-template.php:105
    116116msgid "Name"
    117117msgstr ""
    … …  
    124124#: core/report/wpc-reservation-report.php:34
    125125#: core/widgets/cancellation-form-template.php:14
    126 #: core/widgets/reservation-form-template.php:108
     126#: core/widgets/reservation-form-template.php:111
    127127msgid "Email"
    128128msgstr ""
    … …  
    135135#: core/report/wpc-reservation-report.php:35
    136136#: core/widgets/cancellation-form-template.php:20
    137 #: core/widgets/reservation-form-template.php:116
     137#: core/widgets/reservation-form-template.php:119
    138138msgid "Phone"
    139139msgstr ""
    … …  
    154154#: core/metaboxes/wpc-reservation-meta.php:77
    155155#: core/report/wpc-reservation-report.php:37
    156 #: core/widgets/reservation-form-template.php:125
     156#: core/widgets/reservation-form-template.php:128
    157157msgid "Date"
    158158msgstr ""
    … …  
    163163
    164164#: core/metaboxes/wpc-reservation-meta.php:87
    165 #: core/widgets/reservation-form-template.php:135
     165#: core/widgets/reservation-form-template.php:138
    166166msgid "From"
    167167msgstr ""
    … …  
    172172
    173173#: core/metaboxes/wpc-reservation-meta.php:97
    174 #: core/widgets/reservation-form-template.php:141
     174#: core/widgets/reservation-form-template.php:144
    175175msgid "To"
    176176msgstr ""
    … …  
    258258msgstr ""
    259259
    260 #: core/template/wpc-key-options.php:101
     260#: core/template/wpc-key-options.php:106
    261261msgid ""
    262262"Thank you for  booking. Your booking is confirmed.Please check your email to "
    … …  
    264264msgstr ""
    265265
    266 #: core/template/wpc-key-options.php:103
     266#: core/template/wpc-key-options.php:108
    267267msgid ""
    268268"Thank you for  booking. Your booking is pending. Please check your email to "
    … …  
    270270msgstr ""
    271271
    272 #: core/template/wpc-key-options.php:138
     272#: core/template/wpc-key-options.php:143
    273273msgid "Schedule options"
    274274msgstr ""
    275275
    276 #: core/template/wpc-key-options.php:141
     276#: core/template/wpc-key-options.php:146
    277277msgid "Schedule"
    278278msgstr ""
    279279
    280 #: core/template/wpc-key-options.php:142
     280#: core/template/wpc-key-options.php:147
    281281msgid "Set opening and closing schedule of your restaurant"
    282282msgstr ""
    283283
    284 #: core/template/wpc-key-options.php:147
     284#: core/template/wpc-key-options.php:152
    285285msgid ""
    286286"Weekly (set opening and closing schedule for each day of a week seperately)"
    287287msgstr ""
    288288
    289 #: core/template/wpc-key-options.php:164 core/template/wpc-key-options.php:189
     289#: core/template/wpc-key-options.php:169 core/template/wpc-key-options.php:194
    290290msgid "Sat"
    291291msgstr ""
    292292
    293 #: core/template/wpc-key-options.php:165 core/template/wpc-key-options.php:190
     293#: core/template/wpc-key-options.php:170 core/template/wpc-key-options.php:195
    294294msgid "Sun"
    295295msgstr ""
    296296
    297 #: core/template/wpc-key-options.php:166 core/template/wpc-key-options.php:191
     297#: core/template/wpc-key-options.php:171 core/template/wpc-key-options.php:196
    298298msgid "Mon"
    299299msgstr ""
    300300
    301 #: core/template/wpc-key-options.php:167 core/template/wpc-key-options.php:192
     301#: core/template/wpc-key-options.php:172 core/template/wpc-key-options.php:197
    302302msgid "Tue"
    303303msgstr ""
    304304
    305 #: core/template/wpc-key-options.php:168 core/template/wpc-key-options.php:193
     305#: core/template/wpc-key-options.php:173 core/template/wpc-key-options.php:198
    306306msgid "Wed"
    307307msgstr ""
    308308
    309 #: core/template/wpc-key-options.php:169 core/template/wpc-key-options.php:194
     309#: core/template/wpc-key-options.php:174 core/template/wpc-key-options.php:199
    310310msgid "Thu"
    311311msgstr ""
    312312
    313 #: core/template/wpc-key-options.php:170 core/template/wpc-key-options.php:195
     313#: core/template/wpc-key-options.php:175 core/template/wpc-key-options.php:200
    314314msgid "Fri"
    315315msgstr ""
    316316
    317 #: core/template/wpc-key-options.php:213
     317#: core/template/wpc-key-options.php:218
    318318msgid "All day (set opening and closing schedule for all days of a week)"
    319319msgstr ""
    320320
    321 #: core/template/wpc-key-options.php:227
     321#: core/template/wpc-key-options.php:232
    322322msgid "Exceptions"
    323323msgstr ""
    324324
    325 #: core/template/wpc-key-options.php:228
     325#: core/template/wpc-key-options.php:233
    326326msgid "Set opening and closing schedule for any special day"
    327327msgstr ""
    328328
    329 #: core/template/wpc-key-options.php:273
     329#: core/template/wpc-key-options.php:278
    330330msgid "Early bookings"
    331331msgstr ""
    332332
    333 #: core/template/wpc-key-options.php:274
     333#: core/template/wpc-key-options.php:279
    334334msgid ""
    335335"Set time limit for early booking. user can not pre-book before the defined "
    … …  
    337337msgstr ""
    338338
    339 #: core/template/wpc-key-options.php:280
     339#: core/template/wpc-key-options.php:285
    340340msgid "Any time"
    341341msgstr ""
    342342
    343 #: core/template/wpc-key-options.php:281
     343#: core/template/wpc-key-options.php:286
    344344msgid "From 1 day advance"
    345345msgstr ""
    346346
    347 #: core/template/wpc-key-options.php:282
     347#: core/template/wpc-key-options.php:287
    348348msgid "From 1 week advance"
    349349msgstr ""
    350350
    351 #: core/template/wpc-key-options.php:283
     351#: core/template/wpc-key-options.php:288
    352352msgid "From 1 month advance"
    353353msgstr ""
    354354
    355 #: core/template/wpc-key-options.php:294
     355#: core/template/wpc-key-options.php:299
    356356msgid "Late bookings"
    357357msgstr ""
    358358
    359 #: core/template/wpc-key-options.php:295
     359#: core/template/wpc-key-options.php:300
    360360msgid ""
    361361"Set time limit for late booking. user can not pre-book after the defined time"
    362362msgstr ""
    363363
    364 #: core/template/wpc-key-options.php:301
     364#: core/template/wpc-key-options.php:306
    365365msgid "Up to the last minute"
    366366msgstr ""
    367367
    368 #: core/template/wpc-key-options.php:302
     368#: core/template/wpc-key-options.php:307
    369369msgid "Atleast 15 minutes in advance"
    370370msgstr ""
    371371
    372 #: core/template/wpc-key-options.php:303
     372#: core/template/wpc-key-options.php:308
    373373msgid "Atleast 30 minutes in advance"
    374374msgstr ""
    375375
    376 #: core/template/wpc-key-options.php:304
     376#: core/template/wpc-key-options.php:309
    377377msgid "Atleast 45 minutes in advance"
    378378msgstr ""
    379379
    380 #: core/template/wpc-key-options.php:318
     380#: core/template/wpc-key-options.php:325
    381381msgid "General Option"
    382382msgstr ""
    383383
    384 #: core/template/wpc-key-options.php:321
     384#: core/template/wpc-key-options.php:328
    385385msgid "Display pages"
    386386msgstr ""
    387387
    388 #: core/template/wpc-key-options.php:322
     388#: core/template/wpc-key-options.php:329
    389389msgid "Display reservation form only in the selected page"
    390390msgstr ""
    391391
    392 #: core/template/wpc-key-options.php:326
     392#: core/template/wpc-key-options.php:333
    393393msgid "Select a page"
    394394msgstr ""
    395395
    396 #: core/template/wpc-key-options.php:333 core/template/wpc-key-options.php:520
    397 #: core/template/wpc-key-options.php:535 core/template/wpc-key-options.php:549
    398 #: core/template/wpc-key-options.php:563
     396#: core/template/wpc-key-options.php:340 core/template/wpc-key-options.php:532
     397#: core/template/wpc-key-options.php:547 core/template/wpc-key-options.php:561
     398#: core/template/wpc-key-options.php:575
    399399msgid "pro version only"
    400400msgstr ""
    401401
    402 #: core/template/wpc-key-options.php:339
     402#: core/template/wpc-key-options.php:351
    403403msgid "Automatically confirmed below guest no"
    404404msgstr ""
    405405
    406 #: core/template/wpc-key-options.php:340
     406#: core/template/wpc-key-options.php:352
    407407msgid "Confirmed a reservation if no. of guests is below the selected number"
    408408msgstr ""
    409409
    410 #: core/template/wpc-key-options.php:344 core/template/wpc-key-options.php:362
    411 #: core/template/wpc-key-options.php:380
     410#: core/template/wpc-key-options.php:356 core/template/wpc-key-options.php:374
     411#: core/template/wpc-key-options.php:392
    412412msgid "Select no. of guests"
    413413msgstr ""
    414414
    415 #: core/template/wpc-key-options.php:357
     415#: core/template/wpc-key-options.php:369
    416416msgid "Min guest no."
    417417msgstr ""
    418418
    419 #: core/template/wpc-key-options.php:358
     419#: core/template/wpc-key-options.php:370
    420420msgid "No. of minimum allowed guest for a single reservation"
    421421msgstr ""
    422422
    423 #: core/template/wpc-key-options.php:375
     423#: core/template/wpc-key-options.php:387
    424424msgid "Max guest no."
    425425msgstr ""
    426426
    427 #: core/template/wpc-key-options.php:376
     427#: core/template/wpc-key-options.php:388
    428428msgid "No. of maximum allowed guest for a single reservation"
    429429msgstr ""
    430430
    431 #: core/template/wpc-key-options.php:392
     431#: core/template/wpc-key-options.php:404
    432432msgid "Allow Cancellations"
    433433msgstr ""
    434434
    435 #: core/template/wpc-key-options.php:393
     435#: core/template/wpc-key-options.php:405
    436436msgid "Allow user to cancelled reservation through cancellation form"
    437437msgstr ""
    438438
    439 #: core/template/wpc-key-options.php:403
     439#: core/template/wpc-key-options.php:415
    440440msgid "Require phone"
    441441msgstr ""
    442442
    443 #: core/template/wpc-key-options.php:404
     443#: core/template/wpc-key-options.php:416
    444444msgid "Make phone / contact no. required while placing reservation"
    445445msgstr ""
    446446
    447 #: core/template/wpc-key-options.php:416
     447#: core/template/wpc-key-options.php:428
    448448msgid "Pending message"
    449449msgstr ""
    450450
    451 #: core/template/wpc-key-options.php:417
     451#: core/template/wpc-key-options.php:429
    452452msgid ""
    453453"Message which will be shown when a user successfully places a reservation"
    454454msgstr ""
    455455
    456 #: core/template/wpc-key-options.php:425
     456#: core/template/wpc-key-options.php:437
    457457msgid "Reservation confirmed message"
    458458msgstr ""
    459459
    460 #: core/template/wpc-key-options.php:426
     460#: core/template/wpc-key-options.php:438
    461461msgid "Message which will be shown when a user's reservation is confirmed"
    462462msgstr ""
    463463
    464 #: core/template/wpc-key-options.php:433
     464#: core/template/wpc-key-options.php:445
    465465msgid "Booking Form"
    466466msgstr ""
    467467
    468 #: core/template/wpc-key-options.php:436
     468#: core/template/wpc-key-options.php:448
    469469msgid "Date format"
    470470msgstr ""
    471471
    472 #: core/template/wpc-key-options.php:437
     472#: core/template/wpc-key-options.php:449
    473473msgid "Date format of reservation form"
    474474msgstr ""
    475475
    476 #: core/template/wpc-key-options.php:451
     476#: core/template/wpc-key-options.php:463
    477477msgid "Time format"
    478478msgstr ""
    479479
    480 #: core/template/wpc-key-options.php:452
     480#: core/template/wpc-key-options.php:464
    481481msgid "Time format of reservation form"
    482482msgstr ""
    483483
    484 #: core/template/wpc-key-options.php:456
     484#: core/template/wpc-key-options.php:468
    485485msgid "24h"
    486486msgstr ""
    487487
    488 #: core/template/wpc-key-options.php:457
     488#: core/template/wpc-key-options.php:469
    489489msgid "12h"
    490490msgstr ""
    491491
    492 #: core/template/wpc-key-options.php:466
     492#: core/template/wpc-key-options.php:478
    493493msgid "Notification"
    494494msgstr ""
    495495
    496 #: core/template/wpc-key-options.php:469
     496#: core/template/wpc-key-options.php:481
    497497msgid "Reply-To Name"
    498498msgstr ""
    499499
    500 #: core/template/wpc-key-options.php:470
     500#: core/template/wpc-key-options.php:482
    501501msgid "Set the 'reply-to' name that will be shown on email sent to user"
    502502msgstr ""
    503503
    504 #: core/template/wpc-key-options.php:480
     504#: core/template/wpc-key-options.php:492
    505505msgid "Admin email address"
    506506msgstr ""
    507507
    508 #: core/template/wpc-key-options.php:481
     508#: core/template/wpc-key-options.php:493
    509509msgid "Set the admin-email address to use in email"
    510510msgstr ""
    511511
    512 #: core/template/wpc-key-options.php:491
     512#: core/template/wpc-key-options.php:503
    513513msgid "Admin notification for new booking"
    514514msgstr ""
    515515
    516 #: core/template/wpc-key-options.php:492
     516#: core/template/wpc-key-options.php:504
    517517msgid "Send email to admin when a new reservation arrives"
    518518msgstr ""
    519519
    520 #: core/template/wpc-key-options.php:502
     520#: core/template/wpc-key-options.php:514
    521521msgid "Notify user about new booking request"
    522522msgstr ""
    523523
    524 #: core/template/wpc-key-options.php:503
     524#: core/template/wpc-key-options.php:515
    525525msgid "Send email to user after placing a reservation successfully"
    526526msgstr ""
    527527
    528 #: core/template/wpc-key-options.php:513
     528#: core/template/wpc-key-options.php:525
    529529msgid "Notify user confirmed request"
    530530msgstr ""
    531531
    532 #: core/template/wpc-key-options.php:514
     532#: core/template/wpc-key-options.php:526
    533533msgid "Send email to user when a reservation is confirmed"
    534534msgstr ""
    535535
    536 #: core/template/wpc-key-options.php:525
     536#: core/template/wpc-key-options.php:537
    537537msgid "Notify admin about confirmed request"
    538538msgstr ""
    539539
    540 #: core/template/wpc-key-options.php:526
     540#: core/template/wpc-key-options.php:538
    541541msgid "Send email to admin when a reservation is confirmed"
    542542msgstr ""
    543543
    544 #: core/template/wpc-key-options.php:540
     544#: core/template/wpc-key-options.php:552
    545545msgid "Notify user about cancelled request"
    546546msgstr ""
    547547
    548 #: core/template/wpc-key-options.php:541
     548#: core/template/wpc-key-options.php:553
    549549msgid "Send email to user when a reservation is cancelled"
    550550msgstr ""
    551551
    552 #: core/template/wpc-key-options.php:554
     552#: core/template/wpc-key-options.php:566
    553553msgid "Notify admin about cancelled request"
    554554msgstr ""
    555555
    556 #: core/template/wpc-key-options.php:555
     556#: core/template/wpc-key-options.php:567
    557557msgid "Send email to admin when a reservation is cancelled"
    558558msgstr ""
    559559
    560 #: core/template/wpc-key-options.php:566
     560#: core/template/wpc-key-options.php:578
    561561msgid "Notification Emails"
    562562msgstr ""
    563563
    564 #: core/template/wpc-key-options.php:569
     564#: core/template/wpc-key-options.php:581
    565565msgid "Template tags"
    566566msgstr ""
    567567
    568 #: core/template/wpc-key-options.php:571
     568#: core/template/wpc-key-options.php:583
    569569msgid ""
    570570"Use the following tags to automatically add booking information to the emails"
    571571msgstr ""
    572572
    573 #: core/template/wpc-key-options.php:576
     573#: core/template/wpc-key-options.php:588
    574574msgid "Email of the user who made the booking"
    575575msgstr ""
    576576
    577 #: core/template/wpc-key-options.php:580
     577#: core/template/wpc-key-options.php:592
    578578msgid "* Name of the user who made the booking"
    579579msgstr ""
    580580
    581 #: core/template/wpc-key-options.php:584
     581#: core/template/wpc-key-options.php:596
    582582msgid "* Number of people booked"
    583583msgstr ""
    584584
    585 #: core/template/wpc-key-options.php:588
     585#: core/template/wpc-key-options.php:600
    586586msgid "* Date and time of the booking"
    587587msgstr ""
    588588
    589 #: core/template/wpc-key-options.php:592
     589#: core/template/wpc-key-options.php:604
    590590msgid "Phone number if supplied with the request"
    591591msgstr ""
    592592
    593 #: core/template/wpc-key-options.php:596
     593#: core/template/wpc-key-options.php:608
    594594msgid "Message added to the request"
    595595msgstr ""
    596596
    597 #: core/template/wpc-key-options.php:600
     597#: core/template/wpc-key-options.php:612
    598598msgid "The name of this website"
    599599msgstr ""
    600600
    601 #: core/template/wpc-key-options.php:604
     601#: core/template/wpc-key-options.php:616
    602602msgid "A link to this website"
    603603msgstr ""
    604604
    605 #: core/template/wpc-key-options.php:608
     605#: core/template/wpc-key-options.php:620
    606606msgid "Current date and time"
    607607msgstr ""
    608608
    609 #: core/template/wpc-key-options.php:620
     609#: core/template/wpc-key-options.php:632
    610610msgid "Admin new reservation email subject"
    611611msgstr ""
    612612
    613 #: core/template/wpc-key-options.php:621
     613#: core/template/wpc-key-options.php:633
    614614msgid ""
    615615"Subject of email that will be sent to admin when a new reservation occurs "
    616616msgstr ""
    617617
    618 #: core/template/wpc-key-options.php:631
     618#: core/template/wpc-key-options.php:643
    619619msgid "Admin new reservation email body"
    620620msgstr ""
    621621
    622 #: core/template/wpc-key-options.php:632 core/template/wpc-key-options.php:653
     622#: core/template/wpc-key-options.php:644 core/template/wpc-key-options.php:665
    623623msgid "Body of email that will be sent to admin when a new reservation occurs "
    624624msgstr ""
    625625
    626 #: core/template/wpc-key-options.php:641
     626#: core/template/wpc-key-options.php:653
    627627msgid "New request email subject to user"
    628628msgstr ""
    629629
    630 #: core/template/wpc-key-options.php:642
     630#: core/template/wpc-key-options.php:654
    631631msgid ""
    632632"Subject of email that will be sent to user when a new reservation occurs "
    633633msgstr ""
    634634
    635 #: core/template/wpc-key-options.php:652
     635#: core/template/wpc-key-options.php:664
    636636msgid "User new booking request email body"
    637637msgstr ""
    638638
    639 #: core/template/wpc-key-options.php:662
     639#: core/template/wpc-key-options.php:674
    640640msgid "Admin reservation confirm email subject"
    641641msgstr ""
    642642
    643 #: core/template/wpc-key-options.php:663
     643#: core/template/wpc-key-options.php:675
    644644msgid ""
    645645"Subject of email that will be sent to admin when a reservation is confirmed "
    646646msgstr ""
    647647
    648 #: core/template/wpc-key-options.php:669 core/template/wpc-key-options.php:691
    649 #: core/template/wpc-key-options.php:714 core/template/wpc-key-options.php:736
     648#: core/template/wpc-key-options.php:681 core/template/wpc-key-options.php:703
     649#: core/template/wpc-key-options.php:726 core/template/wpc-key-options.php:748
    650650msgid "Pro version only"
    651651msgstr ""
    652652
    653 #: core/template/wpc-key-options.php:674
     653#: core/template/wpc-key-options.php:686
    654654msgid "Admin reservation confirm email body"
    655655msgstr ""
    656656
    657 #: core/template/wpc-key-options.php:675
     657#: core/template/wpc-key-options.php:687
    658658msgid ""
    659659"Body of email that will be sent to admin when a reservation is confirmed "
    660660msgstr ""
    661661
    662 #: core/template/wpc-key-options.php:684
     662#: core/template/wpc-key-options.php:696
    663663msgid "Admin booking cancelled Subject"
    664664msgstr ""
    665665
    666 #: core/template/wpc-key-options.php:685
     666#: core/template/wpc-key-options.php:697
    667667msgid ""
    668668"Subject of email that will be sent to admin when a reservation is cancelled "
    669669msgstr ""
    670670
    671 #: core/template/wpc-key-options.php:696
     671#: core/template/wpc-key-options.php:708
    672672msgid "Admin booking cancelled email"
    673673msgstr ""
    674674
    675 #: core/template/wpc-key-options.php:697
     675#: core/template/wpc-key-options.php:709
    676676msgid ""
    677677"Body of email that will be sent to admin when a reservation is cancelled "
    678678msgstr ""
    679679
    680 #: core/template/wpc-key-options.php:707
     680#: core/template/wpc-key-options.php:719
    681681msgid "User confirmed email subject"
    682682msgstr ""
    683683
    684 #: core/template/wpc-key-options.php:708
     684#: core/template/wpc-key-options.php:720
    685685msgid ""
    686686"Subject of email that will be sent to user when reservation is confirmed "
    687687msgstr ""
    688688
    689 #: core/template/wpc-key-options.php:719
     689#: core/template/wpc-key-options.php:731
    690690msgid "User confirmed email"
    691691msgstr ""
    692692
    693 #: core/template/wpc-key-options.php:720
     693#: core/template/wpc-key-options.php:732
    694694msgid "Body of email that will be sent to user when reservation is confirmed "
    695695msgstr ""
    696696
    697 #: core/template/wpc-key-options.php:729
     697#: core/template/wpc-key-options.php:741
    698698msgid "User cancelled email subject"
    699699msgstr ""
    700700
    701 #: core/template/wpc-key-options.php:730
     701#: core/template/wpc-key-options.php:742
    702702msgid ""
    703703"Subject of email that will be sent to user when a reservation is Cancelled "
    704704msgstr ""
    705705
    706 #: core/template/wpc-key-options.php:741
     706#: core/template/wpc-key-options.php:753
    707707msgid "User cancelled email"
    708708msgstr ""
    709709
    710 #: core/template/wpc-key-options.php:742
     710#: core/template/wpc-key-options.php:754
    711711msgid ""
    712712"Body of email that will be sent to user when a reservation is Cancelled "
    713713msgstr ""
    714714
    715 #: core/template/wpc-key-options.php:754
     715#: core/template/wpc-key-options.php:766
    716716msgid "Food Menu Options"
    717717msgstr ""
    718718
    719 #: core/template/wpc-key-options.php:757
     719#: core/template/wpc-key-options.php:769
    720720msgid "Allow location"
    721721msgstr ""
    722722
    723 #: core/template/wpc-key-options.php:758
     723#: core/template/wpc-key-options.php:770
    724724msgid ""
    725725"Show location dropdown on front-end menu (only in front page) and checkout"
    726726msgstr ""
    727727
    728 #: core/template/wpc-key-options.php:768
     728#: core/template/wpc-key-options.php:780
    729729msgid "Allow Cart"
    730730msgstr ""
    731731
    732 #: core/template/wpc-key-options.php:769
     732#: core/template/wpc-key-options.php:781
    733733msgid "Show cart on the frontend"
    734734msgstr ""
    735735
    736 #: core/template/wpc-key-options.php:779
     736#: core/template/wpc-key-options.php:791
    737737msgid "Minicart icon"
    738738msgstr ""
    739739
    740 #: core/template/wpc-key-options.php:780
     740#: core/template/wpc-key-options.php:792
    741741msgid "Icon class for mini cart"
    742742msgstr ""
    743743
    744 #: core/template/wpc-key-options.php:786
     744#: core/template/wpc-key-options.php:798
    745745msgid "For instance : fa fa-shopping-cart"
    746746msgstr ""
    747747
    748 #: core/template/wpc-key-options.php:791
     748#: core/template/wpc-key-options.php:803
    749749msgid "Primary color"
    750750msgstr ""
    751751
    752 #: core/template/wpc-key-options.php:792
     752#: core/template/wpc-key-options.php:804
    753753msgid "Choose primary color for menu"
    754754msgstr ""
    755755
    756 #: core/template/wpc-key-options.php:802
     756#: core/template/wpc-key-options.php:814
    757757msgid "Secondary color"
    758758msgstr ""
    759759
    760 #: core/template/wpc-key-options.php:803
     760#: core/template/wpc-key-options.php:815
    761761msgid "Choose secondary color for menu"
    762762msgstr ""
    763763
    764 #: core/template/wpc-key-options.php:817
     764#: core/template/wpc-key-options.php:832
    765765msgid "Shortcode"
    766766msgstr ""
    767767
    768 #: core/template/wpc-key-options.php:821
     768#: core/template/wpc-key-options.php:836
    769769msgid "Reservation Form"
    770770msgstr ""
    771771
    772 #: core/template/wpc-key-options.php:822
     772#: core/template/wpc-key-options.php:837
    773773msgid ""
    774774"Use this [wpc_reservation_form wpc_image_url=''] shortcode anywhere you want "
    … …  
    776776msgstr ""
    777777
    778 #: core/template/wpc-key-options.php:836
     778#: core/template/wpc-key-options.php:851
    779779msgid "Show Food Menu tab"
    780780msgstr ""
    781781
    782 #: core/template/wpc-key-options.php:837
     782#: core/template/wpc-key-options.php:852
    783783msgid ""
    784784"You can use [wpc_food_menu_tab wpc_food_categories='16,21,18,17,20'  "
    … …  
    786786msgstr ""
    787787
    788 #: core/template/wpc-key-options.php:848
     788#: core/template/wpc-key-options.php:863
    789789msgid "Show Food Menu List"
    790790msgstr ""
    791791
    792 #: core/template/wpc-key-options.php:849
     792#: core/template/wpc-key-options.php:864
    793793msgid ""
    794794"You can use [wpc_food_menu_list wpc_food_categories='16,21,18,17,20'  "
    … …  
    796796msgstr ""
    797797
    798 #: core/template/wpc-key-options.php:867
     798#: core/template/wpc-key-options.php:882
    799799msgid "Save Changes"
    800800msgstr ""
    … …  
    812812msgstr ""
    813813
     814#: core/widgets/hook.php:426
     815msgid "Select a loctaion"
     816msgstr ""
     817
     818#: core/widgets/hook.php:434
     819msgid "Order location"
     820msgstr ""
     821
     822#: core/widgets/hook.php:435
     823msgid "Enter location"
     824msgstr ""
     825
     826#: core/widgets/hook.php:451
     827msgid "Please select a location"
     828msgstr ""
     829
     830#: core/widgets/hook.php:476 core/widgets/hook.php:495
    814831#: core/widgets/hook.php:521
    815 msgid "Select a loctaion"
    816 msgstr ""
    817 
    818 #: core/widgets/hook.php:529
    819 msgid "Order location"
    820 msgstr ""
    821 
    822 #: core/widgets/hook.php:530
    823 msgid "Enter location"
    824 msgstr ""
    825 
    826 #: core/widgets/hook.php:546
    827 msgid "Please select a location"
    828 msgstr ""
    829 
    830 #: core/widgets/hook.php:571 core/widgets/hook.php:590
    831 #: core/widgets/hook.php:616
    832832msgid "Order menu"
    833833msgstr ""
    834834
    835 #: core/widgets/hook.php:617
     835#: core/widgets/hook.php:522
    836836msgid "ID"
    837837msgstr ""
    838838
    839 #: core/widgets/reservation-form-template.php:49
     839#: core/widgets/reservation-form-template.php:52
    840840msgid "Name :"
    841841msgstr ""
    842842
    843 #: core/widgets/reservation-form-template.php:53
     843#: core/widgets/reservation-form-template.php:56
    844844msgid "Email :"
    845845msgstr ""
    846846
    847 #: core/widgets/reservation-form-template.php:57
     847#: core/widgets/reservation-form-template.php:60
    848848msgid "Phone :"
    849849msgstr ""
    850850
    851 #: core/widgets/reservation-form-template.php:61
     851#: core/widgets/reservation-form-template.php:64
    852852msgid "Guest :"
    853853msgstr ""
    854854
    855 #: core/widgets/reservation-form-template.php:65
     855#: core/widgets/reservation-form-template.php:68
    856856msgid " Time : "
    857857msgstr ""
    858858
    859 #: core/widgets/reservation-form-template.php:70
     859#: core/widgets/reservation-form-template.php:73
    860860msgid " Date : "
    861861msgstr ""
    862862
    863 #: core/widgets/reservation-form-template.php:76
     863#: core/widgets/reservation-form-template.php:79
    864864msgid "Confirm Booking"
    865865msgstr ""
    866866
    867 #: core/widgets/reservation-form-template.php:77
     867#: core/widgets/reservation-form-template.php:80
    868868msgid "Edit Booking"
    869869msgstr ""
    870870
    871 #: core/widgets/reservation-form-template.php:147
     871#: core/widgets/reservation-form-template.php:150
    872872msgid "Total Guest "
    873873msgstr ""
    874874
    875 #: core/widgets/reservation-form-template.php:149
     875#: core/widgets/reservation-form-template.php:152
    876876msgid "Select no of geuests"
    877877msgstr ""
    878878
    879 #: core/widgets/reservation-form-template.php:158
     879#: core/widgets/reservation-form-template.php:161
    880880msgid "Note"
    881881msgstr ""
    882882
    883 #: core/widgets/reservation-form-template.php:162
     883#: core/widgets/reservation-form-template.php:165
    884884msgid "Book a Table"
    885885msgstr ""
    886886
    887 #: core/widgets/reservation-form-template.php:163
     887#: core/widgets/reservation-form-template.php:166
    888888msgid "Request Cancellation"
    889889msgstr ""
    890890
    891 #: plugin.php:131
     891#: plugin.php:136
    892892msgid "Activate WooCommerce"
    893893msgstr ""
    894894
    895 #: plugin.php:134
     895#: plugin.php:139
    896896msgid "Install WooCommerce"
    897897msgstr ""
    898898
    899 #: plugin.php:144
     899#: plugin.php:149
    900900msgid "WpCafe requires WooCommerce , which is currently NOT RUNNING."
    901901msgstr ""
    902902
    903 #: utils/wpc-utilities.php:472
     903#: utils/wpc-utilities.php:460
    904904msgid "No location set"
    905905msgstr ""
    906906
    907 #: utils/wpc-utilities.php:477
     907#: utils/wpc-utilities.php:465
    908908msgid "Ok"
    909909msgstr ""
    910910
    911 #: utils/wpc-utilities.php:528
     911#: utils/wpc-utilities.php:498
    912912msgid "Out of stock"
    913913msgstr ""
  • wp-cafe/trunk/plugin.php

    r2371829 r2387102  
    112112        $this->register_widgets();
    113113
    114         if ( is_admin() ):
     114        if ( is_admin() ){
    115115            \WpCafe\Core::instance()->init();
    116         endif;
     116        }
     117       
     118        //fire-up all woocommerce related hooks
     119        if( file_exists( WPC_DIR . '/core/woocommerce/hooks.php' )){
     120            include_once WPC_DIR . '/core/woocommerce/hooks.php';
     121        }
    117122    }
    118123
  • wp-cafe/trunk/readme.txt

    r2378658 r2387102  
    44Requires at least: 5.2
    55Tested up to: 5.5.1
    6 Stable tag: 1.1.2
     6Stable tag: 1.1.3
    77Requires PHP: 5.6
    88License: GPLv2 or later
    … …  
    7979== Changelog ==
    8080
     81= 1.1.3 =
     82Fix          :  Design issue fixes
     83Tweak        :  Code optimized in Shortcode and widget
     84Tweak        :  Preset color update
     85Tweak        :  iconfont update
     86New          :  RTL layout support
     87
     88
    8189= 1.1.2 =
    8290Fix          :  Reservation default date time updated
    … …  
    95103= 1.1.0 =
    96104Fix          :  Settings bug fixes
    97 Added        :  External product add to cart   
     105New        :  External product add to cart   
    98106Tweak        :  Optimization and performance update
    99107
    100108= 1.0.9 =
    101 Fix    : Settings field validation fixes
    102 Fix    : Shortcode and Elementor widgets design fixes
    103 Tweak  : Dynamic variable product price on shortcode and Elementor widgets
    104 Tweak  : Optimization and performance update for shortcodes and Elementor widgets
    105 Tweak  : Optimization for time comparison functionality.
     109Fix         : Settings field validation fixes
     110Fix         : Shortcode and Elementor widgets design fixes
     111Tweak       : Dynamic variable product price on shortcode and Elementor widgets
     112Tweak       : Optimization and performance update for shortcodes and Elementor widgets
     113Tweak       : Optimization for time comparison functionality.
    106114
    107115= 1.0.8 =
    108 Fix    : Update all translatable strings with Escaping
     116Fix         : Update all translatable strings with Escaping
    109117
    110118= 1.0.7 =
    111 
    112 Fix    : Time Picker JS issue
     119Fix         : Time Picker JS issue
    113120
    114121= 1.0.6 =
    115 
    116122Fix    : Food menu stock status checking
    117123Fix    : Remove html tag from product description
    … …  
    124130
    125131= 1.0.5 =
    126 
    127132* Fix   : Price showing both from including and excluding tax in shortcode and widget
    128133* Fix   : Mini cart price showing including and excluding tax
    … …  
    132137
    133138= 1.0.4 =
    134 
    135139* Fix : Language Issues
    136140
    137141= 1.0.3 =
    138 
    139 * Added : Description limit option added in elementor widget
    140 * Added: Added pot file for language translation 
    141 * Fix : Reservation form and admin settings page css update
    142 * Fix : Popup datepicker in saving field
    143 * Fix : Added CSS for calendar year issue in reservation form
     142* New   : Description limit option added in elementor widget
     143* New   : Added pot file for language translation 
     144* Fix   : Reservation form and admin settings page css update
     145* Fix   : Popup datepicker in saving field
     146* Fix   : Added CSS for calendar year issue in reservation form
    144147* Tweak : Iconfont updated
    145148* Tweak : Improve add to cart button CSS
    … …  
    147150
    148151= 1.0.2 =
    149 
    150152* Fix : Compatibility for PHP version 5.6.
    151153* Check : Compatibility for PHP version 7.1,7.2,7.3
    152 * New  : Added ajax add to cart in Widget, Shortcode, Product single page.
    153 * New  : Added title link option to widget.
     154* New   : Added ajax add to cart in Widget, Shortcode, Product single page.
     155* New   : Added title link option to widget.
    154156* Tweak : Added icon in cart button.
    155157* Tweak : Update css in food menu shortcode, minicart and widget.
    … …  
    158160
    159161= 1.0.1 =
    160 
    161162* Fix an error notice on php version below 7.3
    162163
    163164= 1.0.0 =
    164 
    165165* initial release
    166166
  • wp-cafe/trunk/utils/wpc-utilities.php

    r2378658 r2387102  
    471471    }
    472472
    473     public static function food_customization_popup( $product , $cart_button , $price ){
    474         ?>
    475         <?php
    476         // \WpCafe\Utils\Wpc_Utilities::woo_display_variation_dropdown_on_shop_page( $product );
    477         ?>
    478         <div id="wpc_customize_modal" class="food_customize_modal">
    479             <!-- Modal content -->
    480             <div class="modal-content">
    481 
    482             </div>
    483         </div>
    484         <?php
    485     }
    486 
    487     public static function woo_display_variation_dropdown_on_shop_page(  $product ) {
    488 
    489     }
    490    
    491473    /**
    492474     * Show tag function
    … …  
    524506     * Product query
    525507     */
    526     public static function product_query( $post_type="product" , $no_of_product , $wpc_cat , $order="DESC" ){
    527         $args    = [
    528             'post_type'      =>  $post_type,
    529             'orderby'        =>  'post_date',
    530             'order'          =>  $order,
    531             'posts_per_page' =>  $no_of_product,
    532             'post_status'    =>  'publish',
    533 
    534             'tax_query' => array(
    535                 array(
    536                     'taxonomy'          => 'product_cat',
    537                     'terms'             =>  $wpc_cat,
    538                     'field'             => 'id',
    539                     'include_children'  => true,
    540                     'operator'          => 'IN'
    541                 ),
    542             )
    543         ];
     508    public static function product_query( $post_type="product" , $no_of_product , $wpc_cat , $order="DESC" , $page = null , $total_count = false , $search_value = false ){
     509        $args = [];
     510        $args['post_type']      = $post_type;
     511        $args['post_status']    = 'publish';
     512        $args['orderby']        = 'post_date';
     513        $args['order']          = $order;
     514        if ( $total_count ) {
     515            $args    = [ 'posts_per_page' =>  -1 ];
     516        }
     517        elseif( $search_value ){
     518            $args['posts_per_page']  = $no_of_product;
     519            $args['post_title_like'] = $search_value;
     520        }
     521        elseif( $page ){
     522            $args    = [
     523                'posts_per_page' =>  $no_of_product,
     524                'paged'          =>  $page,
     525            ];
     526        }
     527        else{
     528            $args    = [ 'posts_per_page' =>  $no_of_product ];
     529        }
     530
     531        if( is_array( $wpc_cat ) && count( $wpc_cat )>0 ){
     532            $tax_query = array(  array(
     533                'taxonomy'          => 'product_cat',
     534                'terms'             =>  $wpc_cat,
     535                'field'             => 'id',
     536                'include_children'  => true,
     537                'operator'          => 'IN'
     538            ));
     539            $args['tax_query'] = $tax_query;
     540        }
     541
    544542        return wc_get_products($args);
    545543    }
    … …  
    551549        switch ( $product->get_type() ) {
    552550            case $product->get_type() == 'variable' && $product->is_in_stock() == true :
    553                 apply_filters("wpcafe/shortcode/variation", $product, $customize_btn, $widget_id);
     551                if( $cart_button=='on' || $cart_button =='yes' ){
     552                    apply_filters("wpcafe/shortcode/variation", $product, $customize_btn, $widget_id);
     553                }
    554554                break;
    555555            case ($product->get_type() == 'simple' || $product->get_type() == 'grouped' ) &&
  • wp-cafe/trunk/widgets/wpc-food-menu-tab/style/style-1.php

    r2378658 r2387102  
    5555                        $products = Utilities::product_query( "product", $wpc_menu_count , $value['post_cats'], $wpc_menu_order );
    5656
    57                         if ( is_array( $products ) && !empty( $products ) ) {
     57                        if ( is_array( $products ) && count( $products )>0 ) {
    5858                            ?>
    5959                            <div class="wpc-food-block-tab-item">
    … …  
    136136                                                            <?php
    137137                                                            if ($wpc_show_desc == 'yes') {
    138                                                                 echo  Utilities::wpcafe_trim_words( get_the_excerpt($product->get_id()) , $wpc_desc_limit);
     138                                                                echo  Utilities::wpcafe_trim_words( get_the_excerpt( $product->get_id() ) , $wpc_desc_limit);
    139139                                                            }
    140140                                                            ?>
  • wp-cafe/trunk/wpcafe.php

    r2378658 r2387102  
    99 * Plugin URI:         https://product.themewinter.com/wpcafe
    1010 * Description:        WordPress Restaurant solution plugin to launch Restaurant Websites.
    11  * Version:            1.1.2
     11 * Version:            1.1.3
    1212 * Author:             Themewinter
    1313 * Author URI:         http://themewinter.com/
Note: See TracChangeset for help on using the changeset viewer.