Shipping | Country | Link | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Royal Mail | UK | http://track2.royalmail.com/portal/rm/track?trackNumber=#TRACKNUM# | ||||||||
Parcel2Go | UK | http://www.parcel2go.com/tracking/#TRACKNUM# |
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
require([ | |
'jquery', | |
'Magento_Catalog/product/view/validation' | |
], function($){ | |
$('#qty').on('input', function () { | |
$('#product_addtocart_form').validation('isValid'); | |
}); | |
}); |
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
redis-cli -p 6372 #To find the port look inside of app/etc/env.php file |
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 e.entity_id, | |
e.sku, | |
v.value as url_key | |
FROM catalog_product_entity e | |
INNER JOIN catalog_product_entity_varchar v | |
ON e.entity_id = v.entity_id | |
AND attribute_id = (SELECT attribute_id FROM eav_attribute WHERE attribute_code = 'url_key' AND entity_type_id = 4); |
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
sed -i '' 's/utf8mb4_0900_ai_ci/utf8mb4_unicode_ci/g' |
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
import Vue from 'vue'; | |
import VeeValidate from 'vee-validate'; | |
import messagesPtBR from 'vee-validate/dist/locale/pt_BR'; | |
import './bootstrap'; | |
window.Vue = Vue; | |
window.VeeValidate = VeeValidate; | |
Vue.use(VeeValidate, { |
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
# @look: https://github.com/microsoft/WSL/issues/3438#issuecomment-410990504 | |
netsh winsock reset | |
netsh int ip reset all | |
netsh winhttp reset proxy | |
ipconfig /flushdns |
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
########################################################## | |
# PRODUCTS | |
########################################################## | |
DELETE FROM `catalog_product_bundle_option`; | |
DELETE FROM `catalog_product_bundle_option_value`; | |
DELETE FROM `catalog_product_bundle_selection`; | |
DELETE FROM `catalog_product_entity_datetime`; | |
DELETE FROM `catalog_product_entity_decimal`; | |
DELETE FROM `catalog_product_entity_gallery`; | |
DELETE FROM `catalog_product_entity_int`; |
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
#!/bin/sh | |
set -e | |
vendor/bin/phpunit | |
(git push) || true | |
git checkout production | |
git merge master |
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
<?php | |
// File: app/Http/Controllers/CreateProductController.php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use Webkul\Attribute\Models\Attribute; | |
use Webkul\Attribute\Models\AttributeOption; | |
use Webkul\Attribute\Repositories\AttributeFamilyRepository; | |
use Webkul\Product\Repositories\ProductRepository; |