Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bangnokia committed Nov 7, 2023
1 parent 5bd6482 commit 03b875e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion public/class-not-customily-public.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ protected function injectPersonalize()

$warehouse_product_id = $_GET['warehouse_product_id'] ?? get_post_meta($product->get_id(), 'warehouse_product_id', true);

echo <<<HTML
if ($warehouse_product_id) {
echo <<<HTML
<div id="tda-customedge" class="tda-peronalized-section">Loading personalization...</div>
<script type="text/javascript">
if (window.customily === undefined) {
Expand All @@ -94,5 +95,6 @@ protected function injectPersonalize()
}
</script>
HTML;
}
}
}

0 comments on commit 03b875e

Please sign in to comment.