Download the PHP package infrangible/m2-retail-store without Composer

On this page you can find all versions of the php package infrangible/m2-retail-store. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package m2-retail-store

Infrangible Retail Store

Store locator for shops with physical branches: retail stores managed in the admin, shown on Google Maps, a search for the nearest store and a page for every store. The pages and search results are CMS blocks, so their layout can be changed without a theme. Uses Infrangible Google Maps for the maps and the Geocoding API, and Infrangible CMS Filter for the template syntax.

Admin

Infrangible > Retail Store:

Images are saved in pub/media/retail_store (JPG, GIF, PNG or WebP).

Store pages

Every active store has a page under its URL key with the URL suffix of categories, for example munich.html. The page shows the CMS block of the store, or the CMS block of the configuration, filtered with the data of the store:

Variable Value
name, street, city, … the attributes of the store
has_<attribute> whether the attribute has a value, for {{if}}
url the URL of the store page
features the features of the store (name, image)
nearby_stores the three nearest other stores, with these variables and distance

Widgets

Widget Content
Retail Stores Search a location with suggestions of Google Maps (countries of the widget, Germany by default), a radius and the buttons to search and to determine the location
Retail Stores Map a map with all active stores as markers
Retail Stores Map within Radius a map with the active stores within a distance of a center, with header, result and footer CMS blocks

The search shows the result CMS block of the widget with the found stores, sorted by distance, or the CMS block for no result. The result blocks get the stores as variable retail_stores (with distance in kilometers) and their markers as variable marker_json, for the widget "Google Maps Json Marker":

Only active CMS blocks of all store views or the current one are shown.

Configuration

Stores > Configuration > Infrangible Solutions > Retail Store:

The API key of Google Maps is set in Infrangible Google Maps.

Demo

The first command creates 18 stores, the second the CMS blocks, the page retail-stores and the configuration.

Requirements

For the Hyvä theme: Infrangible Retail Store Hyvä. The store pages in the XML sitemap: Infrangible Retail Store Sitemap.

Installation

In production mode, also run bin/magento setup:di:compile and bin/magento setup:static-content:deploy.

License

Infrangible Retail Store is licensed under the MIT License - see the LICENSE file for details.


All versions of m2-retail-store with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
fewedev/base Version ~2.4.1
infrangible/m2-backend-widget Version ~4.0.4
infrangible/m2-cms-filter Version ~2.0.0
infrangible/m2-core Version ~5.0.4
infrangible/m2-foundation Version ~3.0.1
infrangible/m2-google-maps Version ~2.0.0
magento/framework Version ~103.0.6
magento/module-backend Version ~102.0.0
magento/module-cms Version ~104.0.0
magento/module-config Version ~101.2.0
magento/module-customer Version ~103.0.0
magento/module-eav Version ~102.1.0
magento/module-media-storage Version ~100.4.0
magento/module-quote Version ~101.2.0
magento/module-sales Version ~103.0.0
magento/module-store Version ~101.1.0
magento/module-theme Version ~101.1.0
magento/module-widget Version ~101.2.0
psr/log Version ~2.0.0||~3.0.0
symfony/console Version ~5.4.0||~6.4.0||~7.4.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package infrangible/m2-retail-store contains the following files

Loading the files please wait ...