Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bangnokia committed Oct 12, 2023
1 parent 5f61121 commit 1040085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/class-not-customily-public.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ protected function injectPersonalize()
$warehouse_product_id = $_GET['warehouse_product_id'] ?? get_post_meta($product->get_id(), 'warehouse_product_id', true);

echo <<<HTML
<div id="tda-not-customily" class="tda-peronalized-section">Loading personalization...</div>
<div id="tda-customedge" class="tda-peronalized-section">Loading personalization...</div>
<script type="text/javascript">
if (window.customily === undefined) {
window.customily = {
target: '#tda-not-customily',
target: '#tda-customedge',
productId: $warehouse_product_id,
previewWrapper: document.querySelector('.product-gallery'),
formWrapper: document.querySelector('.product-info form.cart'),
Expand Down

0 comments on commit 1040085

Please sign in to comment.