This file contains hidden or 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
SELECT | |
order_item_name, | |
SUM(meta.meta_value) as total_quantity | |
FROM wp_woocommerce_order_items items | |
JOIN wp_woocommerce_order_itemmeta meta ON items.order_item_id = meta.order_item_id | |
WHERE | |
items.order_item_type = 'line_item' | |
AND meta.meta_key = '_qty' | |
AND items.order_id IN ( | |
SELECT ID FROM wp_posts |
This file contains hidden or 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
type Warning = { | |
Id: string; | |
Type: string; | |
Content: string; | |
Active: boolean; | |
}; | |
type Genus = { | |
Id: string; | |
Latin: string; |
This file contains hidden or 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
var touchstartX = 0; | |
var touchstartY = 0; | |
var touchendX = 0; | |
var touchendY = 0; | |
var gesuredZone = document.getElementById('gesuredZone'); | |
gesuredZone.addEventListener('touchstart', function(event) { | |
touchstartX = event.changedTouches[0].pageX; | |
touchstartY = event.changedTouches[0].pageY; |