Categories
CMS Magento Mastering Development

Checkout custom shipping address field – set as required

I have created a custom module that adds a text field in shipping address. It’s workin ok but I’d like to make it required. How can I do that? I tried adding ‘required-entry’ => true at validation parameter, in file Plugin/Checkout/LayoutProcessor.php but it didn’t work. Here are the module files: Mymodules/FieldCheckout/registration.php <?php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, ‘Mymodules_FieldCheckout’, […]

Categories
Mastering Development

Firebase Hosting Deploy Error: Task 5fc… failed: retries exhausted after 6 attempts

I am trying to setup a 2 brand new Firebase projects with Firestore, Functions, Storage, and Hosting for both Production and Development environments. I started with deleting the references to the old firebase project: both firebase.json & .firebaserc. I then ran $ firebase init to setup Hosting, Functions, Storage, and Firestore using the test Firebase […]

Categories
Mastering Development

Firbease Hosting Deploy Error: Task 5fc… failed: retries exhausted after 6 attempts

I am trying to setup a 2 brand new Firebase projects with Firestore, Functions, Storage, and Hosting for both Production and Development environments. I started with deleting the references to the old firebase project: both firebase.json & .firebaserc. I then ran $ firebase init to setup Hosting, Functions, Storage, and Firestore using the test Firebase […]

Categories
Mastering Development

How to add additional javascript in chrome extension

I have chrome extension which opens camera when i click extension icon. I want that after reload page show camera again. I use additional javascript to ckeck page shows camera or not. I am interested in how can i send message from this script to content script and how can i add this script. Need […]

Categories
Mastering Development User Help

RAM incompatibility issues between T-Force Team Vulcan and Corsair Vengeance

In my system, I decided to get a 2-pack of T-Force Team Vulcan 8GB DDR4 3000MHz (something like this), but, as a result of a discount I found, I also added in 2 sticks Corsair Vengeance DDR4 (also 8GB, 3000MHz) – 2 sets of these (I purchased the two sticks separately; am unsure if this […]

Categories
CMS Development Magento

Session not set in PHPSESSID Cookie when FPC is enabled

I am trying to pro-grammatically log in using the SID. The front-end already shows me that I am logged in, but as soon as I go to a page that needs a logged in user (ex. account page) I am not actually logged in. I figured out it’s because the PHPSESSID cookie is not matching […]

Categories
Development

Refreshing PHP file through jQuery in chrome extension

I am trying to make a chrome extension that takes data from my PHP file and displays it, it shows data correctly but whenever i do changes in my PHP file it does not show it in the extension i have to open localhost and reload PHP file every time to see changes in extension. […]

Categories
Development

Ionic 3 Error: Can’t resolve all parameters for ChatNotificationServiceProvider: (?, ?) when injecting a provider in another provider

I am trying to inject a provider (ChatNotificationServiceProvider) into my AuthService (Another provider), however when I inject the ChatNotificationServiceProvider into my AuthService provider (via the constructor), the error ‘Can’t resolve all parameters for ChatNotificationServiceProvider: (?, ?)‘ appeared. I have read other solutions and they all said to put the @Injectable in the ChatNotificationServiceProvider and it […]

Categories
Development

Filter Items In GridView With Tab Bar

I have a Listview that contains a Gridview and I’m trying to filter the results based on the list headers in the list view but can’t seems to make it work. When I tap a tab button, I want the grid view to only show products that has the matching attribute. This is what my […]

Categories
Development

Error: Could not establish connection. Receiving end does not exist. when try to send data to another script? Mozilla extension

I need to send data from one script to another, but Mozilla doesn’t work for me. It works on google chrome but it doesn’t do Mozilla. When I load extension over Mozilla edition developers i see error “Error: Could not establish connection. Receiving end does not exist.” This is tabs.js and line when i write […]