Skip to content
Public Ticket #26659

Syntax Error Soledad

Conversation thread

LillaGreen replied

Customer Reply

hello, do you have any update?

LillaGreen replied

Customer Reply

Update?!!?!

LillaGreen replied

Customer Reply

Hi, if you change /delete/deactivate something - please make a protocol and share it with me. I have to follow up on all the changes. thank you

LillaGreen replied

Customer Reply

Do you have any update for this ticket? Thank you

LillaGreen replied

Customer Reply

Thank you. Please send me an update today when you have solved it :)

PenciDesign Supporter replied

Staff Reply

Hi,

I will work on updating and resolving this issue for your site today. Thank you for your patience, and I'll keep you updated on the progress.

Regards,
PenciDesign.


LillaGreen replied

Customer Reply

do you have any Update?

LillaGreen replied

Customer Reply

Thank you so much!  Please let me know what you have changed if you change something in the settings ...

PenciDesign Supporter replied

Staff Reply

Hi,

I still checking your site settings.

Regards,
PenciDesign.


LillaGreen replied

Customer Reply

Hi, is there any update on this ticket? Thank you!

PenciDesign Supporter replied

Staff Reply

Hi,

Please re-send me the WordPress admin account, I'll help you check it.

Regards,
PenciDesign.


LillaGreen replied

Customer Reply

All the css codes I have inserted in Customize are from Soledad support. And only one for the PHP also from Soledad. Nothing else was edited or added. Which one may cause Syntax errors in the lazy load? Here there are the css codes from Customize and the one PHP code for the snippet extension:

.penci-toc-container-wrapper.penci-sticky-toc {
    display: none !important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details {
    width: 100%;
}

.penci-megamenu,
.penci-megamenu span,
.penci-megamenu p,
.penci-megamenu h3,
.penci-megamenu h3 a {
    font-family: 'BebasNeue' !important;
}

#navigation .penci-megamenu .penci-mega-child-categories a,
.pc-builder-element.pc-main-menu .navigation .menu li .penci-mega-child-categories a {
    font-size: 18px;
}

@media only screen and (max-width:479px) {
    body.elementor-page .penci-single-smore .container,
    body.elementor-page .penci-post-image-wrapper > .container,
    body.elementor-page .wrapper-boxed > .container,
    body.elementor-page .wrapper-boxed > .penci-single-wrapper > .penci-single-block > .container,
    body.elementor-page #widget-area > .container,
    body.elementor-page #footer-section > .container,
    body.elementor-page .penci-two-sidebar .container.penci-breadcrumb,
    body.elementor-page .penci-page-header-wrap .penci-page-header-inner.container,
    body.elementor-page .penci-page-header-wrap {
        padding-left: 5px;
        padding-right: 5px;
    }
}
.woocommerce #content table.cart .product-thumbnail,
.woocommerce table.cart .product-thumbnail,
.woocommerce-page #content table.cart .product-thumbnail,
.woocommerce-page table.cart .product-thumbnail {
  display: block;
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (max-width:767px) {
    .woocommerce table.shop_table_responsive tr td:before,
    .woocommerce-page table.shop_table_responsive tr td:before {
        display: none !important;
    }
    .woocommerce-cart table.cart img {
        width: 120px;
        height: auto;
    }
}

@media only screen and (max-width: 767px) {
    .penci-top-bar .penci-login-popup-btn a {
      font-size: inherit;
      margin: 0;
      vertical-align: top;
      line-height: 14px;
    }
    .penci-top-bar .pclogin-item {
        vertical-align: top;
    }
}

@media only screen and (max-width:767px) {
  .woocommerce .thumbnail-left .penci-single-product-top-container .product-labels {
    left: auto;
    right: 10px;
    top: 10px;
  }
}

@media only screen and (max-width:767px) {
  .woocommerce table.shop_table_responsive tr td,
  .woocommerce-page table.shop_table_responsive tr td {
    padding-right: 10px;
    padding-left: 10px;
    padding: 5px;
  }
  .woocommerce-cart table.cart img {
    width: 100px;
    height: auto;
  }
}

body.woocommerce-checkout {
    padding: 60px 0 0;
}
body.woocommerce-checkout .penci-header-wrap,
body.woocommerce-checkout .footer-instagram,
body.woocommerce-checkout #footer-section {
    display: none;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout #customer_details {
    width: 100%;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review {
    width: 100%;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout #payment {
    width: 100%;
}

body.woocommerce-cart {
    padding: 60px 0 0;
}
body.woocommerce-cart .footer-instagram,
body.woocommerce-cart #footer-section {
    display: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #000 transparent transparent transparent !important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review,
body.woocommerce-checkout form.checkout.woocommerce-checkout .woocommerce-checkout-review-order-inner {
  padding: 0;

}
.e-checkout__order_review-2 {
  margin-top: 10px;
}

#wcj-currency-select {
    border: 0;
    padding: 20px 30px;
}

@media only screen and (min-width:961px) {
    .woocommerce #content table.cart .product-thumbnail,
    .woocommerce table.cart .product-thumbnail,
    .woocommerce-page #content table.cart .product-thumbnail,
    .woocommerce-page table.cart .product-thumbnail {
        display: table-cell;
    }
}

PHP Snippet:

add_filter( 'woocommerce_continue_shopping_redirect', 'wc_custom_redirect_continue_shopping' );
function wc_custom_redirect_continue_shopping() {
//return your desired link here.
return 'https://lillagreen.com/shop/';
}

9008546524.png4722360249.png

7520995772.png

PenciDesign Supporter replied

Staff Reply

Hi,

Please check all the custom JS codes you've entered, this error only shows when you've inserted the wrong JS code.

Regards,
PenciDesign.


LillaGreen started the conversation

Conversation Start

Hi, it looks like the lazy load from Soledad has a Syntax Error "unexpected token". Please check the attachment. How can this issue be solved? This syntax error is everywhere - blog posts, pages, categories, etc. Thank you in advance.

Want to join this conversation or access attachments? Sign in first.