alex 2024-05-04 15:36:39 +02:00
parent d23b579246
commit dcddfd9b24
5 changed files with 171 additions and 201 deletions

View File

@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="de"> <html lang="de">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
@ -125,18 +126,12 @@
<div class="social_media_area"> <div class="social_media_area">
<div class="social_media"> <div class="social_media">
<p>Folge uns</p> <p>Folge uns</p>
<img <img class="insta_logo" src="../../groupsData/shx-order-package-label/instagram-logo.png" />
class="insta_logo"
src="../../groupsData/shx-order-package-label/instagram-logo.png"
/>
<p>SHINNEX</p> <p>SHINNEX</p>
</div> </div>
<div class="social_media"> <div class="social_media">
<p>Folge uns</p> <p>Folge uns</p>
<img <img class="tiktok_logo" src="../../groupsData/shx-order-package-label/tiktok-logo.png" />
class="tiktok_logo"
src="../../groupsData/shx-order-package-label/tiktok-logo.png"
/>
<p>SHINNEX</p> <p>SHINNEX</p>
</div> </div>
</div> </div>
@ -146,18 +141,12 @@
<div class="social_media_area"> <div class="social_media_area">
<div class="social_media"> <div class="social_media">
<p>Folge uns</p> <p>Folge uns</p>
<img <img class="tiktok_logo" src="../../groupsData/shx-order-package-label/tiktok-logo.png" />
class="tiktok_logo"
src="../../groupsData/shx-order-package-label/tiktok-logo.png"
/>
<p>SHINNEX</p> <p>SHINNEX</p>
</div> </div>
<div class="social_media"> <div class="social_media">
<p>Folge uns</p> <p>Folge uns</p>
<img <img class="insta_logo" src="../../groupsData/shx-order-package-label/instagram-logo.png" />
class="insta_logo"
src="../../groupsData/shx-order-package-label/instagram-logo.png"
/>
<p>SHINNEX</p> <p>SHINNEX</p>
</div> </div>
</div> </div>
@ -165,58 +154,36 @@
</div> </div>
</div> </div>
<div class="large-container"> <div class="large-container">
<div <div class="container" style="width: 20mm; background-color: rgba(255, 166, 0, 0)"></div>
class="container"
style="width: 20mm; background-color: rgba(255, 166, 0, 0)"
></div>
<img src="../../groupsData/shx-order-package-label/scissors.svg" /> <img src="../../groupsData/shx-order-package-label/scissors.svg" />
<div <div class="container" style="
class="container"
style="
width: 240mm; width: 240mm;
background-color: rgba(0, 0, 255, 0); background-color: rgba(0, 0, 255, 0);
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
" ">
> <img src="../../groupsData/shx-order-package-label/stempel.png" width="400"
<img style="filter: drop-shadow(0 0 2mm #fff)" />
src="../../groupsData/shx-order-package-label/stempel.png"
width="400"
style="filter: drop-shadow(0 0 2mm #fff)"
/>
</div> </div>
<img src="../../groupsData/shx-order-package-label/scissors.svg" /> <img src="../../groupsData/shx-order-package-label/scissors.svg" />
<div <div class="container" style="width: 40mm; background-color: rgba(255, 192, 203, 0)"></div>
class="container"
style="width: 40mm; background-color: rgba(255, 192, 203, 0)"
></div>
<div <div class="container" style="
class="container"
style="
width: 240mm; width: 240mm;
background-color: rgba(128, 0, 128, 0); background-color: rgba(128, 0, 128, 0);
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
" ">
> <img src="label.png" style="height: 100%; box-shadow: 0 0 15mm 15mm #fff" />
<img
src="label.png"
width="760"
style="box-shadow: 0 0 15mm 15mm #fff"
/>
</div> </div>
<div <div class="container" style="width: 40mm; background-color: rgba(255, 255, 0, 0)"></div>
class="container"
style="width: 40mm; background-color: rgba(255, 255, 0, 0)"
></div>
</div> </div>
<script> <script>
@ -236,4 +203,5 @@
} }
</script> </script>
</body> </body>
</html> </html>

View File

@ -91,6 +91,6 @@ if __name__ == "__main__":
replacePlaceholder() replacePlaceholder()
createHighDpiPng("index.html", "output.png") createHighDpiPng("index.html", "Versandlabel.png")
utils.clear_workspace(["index.html", "label.png"]) utils.clear_workspace(["index.html", "label.png"])

View File

@ -28,7 +28,7 @@
{ {
"parameterName": "productUrl", "parameterName": "productUrl",
"type": "text", "type": "text",
"displayName": "URL vom Produkt (Shopify) (z. B. https://shinnex.de/products/lizard) (für Direktweiterleitung 5 € Gutschein QR-Code)" "displayName": "URL vom Produkt (Shopify) (z. B. https://shinnex.de/products/gizmo) (für Direktweiterleitung 5 € Gutschein QR-Code)"
}, },
{ {
"parameterName": "discountCode", "parameterName": "discountCode",

View File

@ -114,8 +114,10 @@ def CreateCrmActivityLink(customerId):
print(f"CreateCrmActivityLink req error {response.status_code}") print(f"CreateCrmActivityLink req error {response.status_code}")
sys.exit(1) sys.exit(1)
req("10 % Gutschein", "https://shinnex.de") utm = "?utm_source=order&utm_medium=qrcode&utm_campaign=ordervouchercodes&utm_content=reedemvouchercode"
req("5 € Gutschein", productUrl)
req("10 % Gutschein", f"https://shinnex.de/discount/{discountCode}{utm}")
req("5 € Gutschein", f"{productUrl}{utm}")
req("10 € Gutschein", f"https://docs.google.com/forms/d/e/1FAIpQLSd2GXFbidzazuQnh_Lf2mgeA1npuwHkWjsdmjrxDmSkDQTfew/viewform?entry.347359844={orderId}") req("10 € Gutschein", f"https://docs.google.com/forms/d/e/1FAIpQLSd2GXFbidzazuQnh_Lf2mgeA1npuwHkWjsdmjrxDmSkDQTfew/viewform?entry.347359844={orderId}")

View File

@ -15,7 +15,7 @@
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
background-size: 55%; background-size: 55%;
opacity: 0.05; opacity: 0.1;
} }
.content { .content {