Wordpress pre_get_posts category filter removes custom menu items

So I have this site where you can see there are two menus, one next to the logo the other on top right; http://www.ducklingfarm.com They are created using this code in functions.php; function...

Woocommerce custom checkout field based on country

I have an ecommerce webiste using woocommerce In the checkout page I need to activate a custom required field "Codice Fiscale" if the billing country is set to "Italy", otherwise that extra field...

How to track multiple coupons?

Is is possible to track multiple coupons for a single order/transaction in Google Analytics? According to the documentation, the key 'coupon' should be an text... In our store, customers can fill...

Composer not resolving dependency for private repositories

This question is basically regarding the correctness of composer.json and validation of the setup that we have. I have a private composer repository host with Packages I have my PHP...

How to properly install Open edX e-commerce service?

I am trying to install the e-commerce service on my Ubuntu 14.04 server, where OpenEDX is already running. I am stuck there. I cloned this project (https://github.com/edx/ecommerce) into...

Magento2 extensions installation from gitHub

I want to modify one extension from public Github repository (fork) and install it to my Magento2 via composer. Extensions stored here GitHub. Really, i need only one sample-external-links. I...

How to support iPhone X Resolution or screen size for Apps?

After 2017 keynote today and iPhone X launch i am equally worried as excited about new iphone. This question is more about user interface, design guidelines or approach on interface designs than...

How to change Text of the TextView on sliding of images using daimajia/AndroidImageSlider Library?

I am trying to use daimajia/AndroidImageSlider library for imageslider in my app. I am trying to change the text of a TextView with the change of the image in slider but i am not able to see any...

SonataProductBundle (symfony 2.8) instead of showing product create form there is "No object types available" button appearing

There are Sonata Admin with enabled SonataProductBundle. Product entity configured accordingly to documentation. But, upon attempting to create new "Product" in admin panel, "No object types...

Preload Ecto Association on Insert

For a multi tenancy eCommerce application, I have given the following ER schema: Order has_many OrderProduct belongs_to Product belongs_to Price With Ecto, it would be easy to insert an Order...

MySQL conditional insert with insert .. select

I have an ecommerce site wherby customers login and see prices for various products. Each customer has their own pricelist and the the prices can be set a number of ways (sources). The table is...

Laravel - Subscription System (Premium user) + eCommerce system

I have completed a project on Laravel 5.6 with roles (i have a roles table). I would like to implement payment system in the project. I want to achieve two functionalities. Professionals (role)...

Composer Failed to execute git clone --no-checkout ''

I am running composer install to set up Magento 2. Through the process I got the following error: [RuntimeException] Failed to...

The requested amz/amazon-pay-module could not be found in any version, there may be a typo in the package name

I am trying to install a website from server to localhost. When I run the command composer update in git-bash then I get the following error. Please check the screenshot.enter image description...

creating product in sonata e-commerce - no object types available

I have a problem with Sonata e-commerce, with creating a Product. I follow sonata documentation and other posts related with that and I constantly get message "No object types available" My files...

Disable JS Popup Script On Specific Page

[!Newbie alert!] I'm using a ecommerce platform that doesn't allow me to edit the source code. I can only add new codes (html, js or css) to try to do the modifications I want. And what I want to...

Can't install Data Migration Tool on Magento 2.1.7 with PHP 7.1.17

I need to migrate data from Magento 1.9.2.4 to 2.1.7 exactly using php7.1 I have Ubuntu 17.10 Php 7.1.17 I've installed Magento 2.1.7 already on php7.1.17, but i can't install Data Migration...

Angular not fetching all modules

I am trying to run an angular application but after doing ng serve i am getting the below error. Is there a way to automatically install all these modules without manually installing them? I ran...

How can we avoid splitting the ecommerce_purchase event in firebase and send extra custom dimensions on product scope from gtm to GA?

how can we avoid splitting the ecommerce_purchase event in firebase and send extra custom dimensions on product scope from gtm to GA? We have used option 2 in this guide, and send events to both...

Fatal error: Uncaught Error: Call to undefined function is_product()

After importing my production WordPress-associated website to my local Xampp environment, I get this error: Fatal error: Uncaught Error: Call to undefined function...

Modular Angular architecture for maximize code-reuse, but still provide enough flexibility

As a development company, it is quite common that different projects require (almost) equal code. The need for a modular system becomes more and more a requirement so that I maximize code-reuse on...

Your requirements could not be resolved to an installable set of packages in laravel 5.7

Unable to install package from laravel 5.7 Using version ^0.8.4 for barryvdh/laravel-dompdf ./composer.json has been updated Loading composer repositories with package information Updating...

How to solve "We found conflicting component dependencies." for paypal update?

When updating the paypal/module-braintree extension on Magento V2.3 Community edition from version 3.0.6 to 3.1.0, I'm getting the following error: We found conflicting component dependencies....

How to fix laravel composer update issue ( Illuminate\Foundation\ComposerScripts::postAutoloadDump failed to open stream: No such file or directory)

I'm currently working on a laravel project using an existing package for e-commerce functionality called Bagisto. I already downloaded the package files from the repository on GitHub and dopped...

Updating from Magento 2.2.5 to 2.3.1 fails with errors

When trying to update Magento 2.2.5 to 2.3.1 either in the System upgrade panel, or from the command line we get composer errors. We suspect it's a composer.json issue, but it's for a site that is...

How to fix "Your requirements could not be resolved to an installable set of packages" for installing Avalara?

I am trying to install Avalara for Magento 2 by following these documents- https://github.com/avadev/Avalara-AvaTax-for-Magento2/blob/master/docs/getting-started.md Following what they have step...

Facing issues on updating magento in magento cloud, updating magento to latest version of magento 2.3.2

Right now we are working on updating magento to latest version of magento 2.3.2 right now we are runing 2.2.7. I following the guide for 2.3 branch found...

How do I pass PHP variables to multiple GA product arrays in datalayer

I'm trying to set up Google Analytics on a stores 'thank you' page to track purchases but I'm struggling with getting each of the items bought through to Google Analytics. The current code I have...

Email template variable, image src attribute issue with gmail (in Django)

I am having this problem and I have seen similar questions but I can't find an exact solution to this. I have an ecommerce site (written in Django) and I am sending out the order confirmation...

How can I solve Flutter Problem in release mode?

My app is working normally in debug mode but when I release it shows nothing on the screen. I am using woocommerce plugin to get data. I tried a different version of different packages, I don't...