This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export async function getServerSideProps(context) { | |
// @ts-ignore | |
let postsFinal = [] | |
const locale = context.locale; | |
const seourl = context.params.seourl; | |
let url = `${process.env.SITE_URL_API}/detail`; | |
axios.get(url, { | |
params: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 1 | |
frontend: | |
phases: | |
preBuild: | |
commands: | |
- npm ci --cache .npm --prefer-offline | |
build: | |
commands: | |
- npm run build | |
artifacts: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<style> | |
#myHeader { | |
background-color: lightblue; | |
color: black; | |
padding: 40px; | |
text-align: center; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
# X ve Y değerlerini oluştur | |
integer = 3 | |
array1 = [2,3,4,9,9,9] | |
array2 = [1,2,3,4,5,6] | |
# X array tanımlıyoruz | |
X = np.random.randn(5, 6) | |
# X in mutlak değeri |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
event: "purchase", | |
gtm: {uniqueEventId: 117, start: 1687437603583}, | |
ecommerce: { | |
transaction_id: 4810423599147, | |
shipping: 0, | |
value: 0, | |
tax: 0, | |
currency: "GBP", | |
items: [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
window.dataLayer = window.dataLayer || []; | |
dataLayer.push({ ecommerce: null }); | |
setTimeout(function (){ | |
dataLayer.push({ | |
event: "purchase", | |
ecommerce: { | |
transaction_id: {{ order.id }}, | |
shipping: {{ order.shipping_price | money_without_currency }}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Order Detail | |
curl -X GET "https://test-tr-nudeglass-com.myshopify.com/admin/api/2023-01/orders/4398381891717.json?fields=line_items" \ | |
-H "X-Shopify-Access-Token: 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" | |
//Order Fulfilment Detail | |
curl -X GET "https://test-tr-nudeglass-com.myshopify.com/admin/api/2023-01/orders/4621831372933/fulfillments.json" \ | |
-H "X-Shopify-Access-Token: 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" | |
//Order fullfilment detail to take fulfillment_order_id | |
curl -X GET "https://test-tr-nudeglass-com.myshopify.com/admin/api/2023-01/orders/4398381891717/fulfillment_orders.json" \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"point_campaign_prefix":"CMP-23187-Y5T8R7","urls":{"offers_url":"http://apipreprod.qclub.com/api/Retailer/GetCustomerByCode","cancel_url":"http://apipreprod.qclub.com/api/Retailer/CancelByProduct","pay_url":"https://api.zubizu.com/api/Retailer/RegisterPaidCheck"},"auth":{"merchant_id":"kikomilanoweb","api_key":"DMSEntegrasyon","station_id":"1"},"klass":"omnishop.promotions.backend.zubizu.service.ZubizuProvider","use_misc_product":true,"misc_product_sku":"ZBZ01" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function colorFull (data, type = '') { | |
if (type === 'table') { | |
console.table(data); | |
} else { | |
console.log("\x1b[33m data", data + " \x1b[0m"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% capture email_title %}Thank you for your purchase! {% endcapture %} | |
{% capture email_body %} | |
{% if requires_shipping %} | |
{% case delivery_method %} | |
{% when 'pick-up' %} | |
You’ll receive an email when your order is ready for pickup. | |
{% when 'local' %} | |
Hi {{ customer.first_name }}, we're getting your order ready for delivery. | |
{% else %} | |
Hi {{ customer.first_name }}, we're getting your order ready to be shipped. We will notify you when it has been sent. |
NewerOlder