Simple Background image formatter

This module provides an image formatter that allows you to display the image in a div as background image. The module extends Drupal's images field.

https://www.drupal.org/project/background_image_formatter

Background Image

If your site is designed around utilizing background images, then this module is for you! Whether you need a surgical implementation that only administrators/developers can implement or provide the ability to allow users to attach their own background images to entities, this module has you covered.

https://www.drupal.org/project/background_image

Drupal - PHP version compatibility check

When we are upgrading PHP version or switching from one hosting to another hosting provider, we may need to check the PHP version compatibility. We can check the compatibility with PHP codesniffer. It will provide you the warnings or errors while checking the compatibility. Below document will help us to do the compatibility check.

Pre requisites:

Drupal Commerce order quantity limitations with Rules

I needed a while to set up some order quantity restrictions in Drupal Commerce and I've seen many different questions and issues on how to do such things. So here's what I did:

Tasks

  1. Set a line items order limit (quantity of same product)
  2. Set a product order limit (quantity of different products)

Requirements

Services Log - Services Module Requests and Responses Logging

An additional contributed module, Services Log, provides extensive logging and an administrative interface to easily analyze logged activity: Find Services events by API endpoint, values sent or receive, or partial string match on the json/xml as raw text.

How to programmatically add a product variation to the cart in Drupal commerce 2.x (Drupal 8)

Playing a bit with Drupal commerce in Drupal 8, we notice that several functions that we used to use in the past with D7 are gone in D8, or they've had several changes, dued to the new API.

Drupal commerce has lots of changes. The new concept give us more flexibility and features (for example, we don't need a content type to display our products, because they have now their own display page, the product variations are now in commerce core, or the Store concept.).

Pages

Subscribe with RSS Subscribe to RSS - No known problems