SOFT
SPRINT

softsprint.net Shop

Amazon AWS S3 CDN media server cloud v8 – PrestaShop module

55$

Buy it now!

Buy on PrestaShop.com

 

Compatibility
PrestaShop 8.x

 

Download documentation
readme_en.pdf

Goal
Amazon AWS S3 CDN media server cloud v8 is PrestaShop module which speeds up your online store by transferring most of your store files to CDN and keep loading them from Amazon AWS S3 cloud. Module replaces standard media server and provides much more flexible system of settings and file control.

Benefits for Merchants

  • admin can determine which files need to be placed in the cloud: by category (theme, modules, etc), by type, by extension;
  • finely manage files that need to be loaded from server or cloud;
  • admin can upload any file from cloud back to the server if necessary;
  • admin can use AWS S3 Bucket or AWS Cloud Form;
  • use for FRONT-END files only without any risks for back-end functionality;
  • budget-reduction for store comparatively with regular hosting, high scalability, security and durability of AWS.
  • NEW! Option to set an automatic upload of the new images to AWS without duplicating them in PrestaShop

Benefits for customers

  • customer will get parallel content loading streams while opening the site, so the speed will be higher comparatively with pure hosting-located files of the site;
  • security and accessibility of files, located on AWS – content will be available 100% of time even if hosting could not respond due to high load, etc;
  • speed of store loading is the benefit for any customer;
  • NEW! Option to set an automatic upload of the new images to AWS without duplicating them in PrestaShop

Features

  • admin can upload all or selected files to AWS cloud. It’s possible to determine which files need to be uploaded there (by extension or type, etc). Admin is allowed to upload theme files to cloud, but keep modules files on hosting, so the settings are very flexible;
  • admin can return any selected file from cloud so that this file will be loaded from hosting. It’s possible to get this file back to cloud anytime;
  • files source links in HTML code will be automatically updated according to location of the files: cloud or own hosting. In case admin changes settings (replaces source from cloud to hosting or vice versa), source links will be updated accordingly, so no broken images, links, etc. will occur;
  • NEW! Option to set an automatic upload of the new images to AWS without duplicating them in PrestaShop

Module settings

1. “Configuration” tab

Amazon AWS connection settings:

PrestaShop Amazon AWS test

  • Bucket name – your Bucket name of Amazon S3 service
  • Access key – access key of your Amazon account
  • Secret key – secret key of your Amazon account
  • Location – AWS server location
  • Use Cloudfront – (Yes/No) use Cloudfront. All links to files in Bucket will go through Cloudfront then
  • Cloudfront ID – your Cloudfront ID
  • Button Test link to AWS – button to validate data and test AWS connection

Selecting files to upload to AWS and use on the site:

PrestaShop Amazon AWS config

    • Synchronize Images – upload style files to AWS
      • Product Images – all product images
      • Category Images – all category images
      • Manufacturer Images – images (logos) of manufacturers
      • Modules Images – images of modules on the site (sliders, banners, etc.) *
    • Synchronize CSS – upload style files to AWS
      • Main Files CSS – core files (located in /css)
      • Theme Files CSS – your Theme Files
      • Modules Files CSS – your Modules files
    • Synchronize JS – upload JavaScript files to AWS:
      • Main Files JS – main files (located in /js)
      • Theme Files JS – your theme JS files
      • Modules Files JS – JS files for your modules
    • New uploaded files management:

PrestaShop Amazon AWS files management

Added a switcher to automatically delete new files from the Prestashop server after uploading to Amazon AWS S3 for images of:

  • Products
  • Categories
  • Manufacturers

AWS S3 Cloud PrestaShop

You can change or add file extensions that will be uploaded to the AWS server.

2. “General” tab

PrestaShop AWS S3 Cloud

Buttons functionality:

      • Upload files to S3 – upload all files that match the settings on the Configuration tab
      • Upload new/edit files – upload only files that have been created and/or modified
      • Update Date Edit – check and show modification date of files to control what and where was edited/created on server
      • Delete inactive files – delete deactivated files from the cloud
      • Clear bucket – clear the entire cloud

Files table taking into account the specified settings:

PrestaShop Amazon AWS files table

      • Files site – path to file from the root of the site
      • AWS – (YES/NO) whether AWS is used to load the file
      • Type – file type (image, css, js)
      • Category – category of the file (product, category, manufacturer, modules, theme, main)
      • Date upload – date the file was uploaded to AWS server
      • Date edit – date the file was modified on server
      • Prestashop – whether the file is physically present on the Prestashop server

File management buttons:

      • upload file to AWS
      • uploading file to server from AWS
      • deactivate file
      • activate file
      • delete file from Prestashop server

PrestaShop Amazon AWS files buttons

Advanced settings in Configuration:

PrestaShop Amazon AWS file types

You can change or add file extensions that will be uploaded to the AWS server.

3. Product page:

PrestaShop Amazon AWS product page

  • Upload new files immediately to Amazon AWS Cloud – upload picture immediately to AWS
  • Delete new files from PrestaShop and keep exclusively on Amazon AWS Cloud – delete image from PrestaShop server after upload to AWS S3

New product page design is supported:
PrestaShop Amazon AWS product page new design

4. Category page:
PrestaShop Amazon AWS category page

  • Upload new files immediately to Amazon AWS Cloud – upload picture immediately to AWS
  • Delete new files from PrestaShop and keep exclusively on Amazon AWS Cloud – remove image from PrestaShop server after upload to AWS S3

6. Brand page:

PrestaShop Amazon AWS brand page

  • Upload new files immediately to Amazon AWS Cloud – upload picture immediately to AWS
  • Delete new files from PrestaShop and keep exclusively on Amazon AWS Cloud – remove image from PrestaShop server after upload to AWS S3

Attention! Keep in mind that if you select the ‘Yes’ option, all new media files will only be stored in the Amazon AWS Cloud and not on your PrestaShop store hosting! You must be aware of the implications of this setting and the risk of file loss.

7. “CRON jobs” tab:

Cron job AWS Amazon S3 PrestaShop

List of CRON tasks that you can add to your server for automatic execution of tasks.

Update And Upload Files – Search for new files or files that have been changed. Uploading them to the cloud and activating their synchronization.

Setting up AWS S3

AWS S3 registration

        1. Create your Bucket (Create bucket)
        2. Be sure to clear the checkbox when creating Block all public access

AWS S3 account registration

Amazon AWS S3 account registration

      1. After creating a Bucket, please open it and go to the tab Permissions > section Cross-origin resource sharing (CORS)

Amazon AWS S3 new account registration

Click the Edit button and set up CORS (JSON format):

[

{

“AllowedHeaders”: [],

“AllowedMethods”: [

“POST”,

“GET”,

“PUT”,

“DELETE”,

“HEAD”

],

“AllowedOrigins”: [

“https://mypresta.loc”

],

“ExposeHeaders”: []

}

]

Where AllowedOrigins is your site URL.

Obtaining access keys:

Amazon AWS S3 account key

      • Go to Security credentials ->Acces Keys
      • Click on Create New Access Key
      • Modal window will appear with a suggestion to save the key in a CSV file. Keep this file in a safe place. You will find Access key, Secret key in the file needed to configure the module.

 

Installation

– Upload the module through the Backoffice (Modules > Add New Module) or using FTP client

– Hit Install it and enter the configuration

Other remarks

Replacing styles and scripts URLs on the site:

PrestaShop Amazon AWS other notes

Replacing the url of images on the site:

PrestaShop Amazon AWS replacing image

PrestaShop Amazon AWS replace image URL

Attention! Module has console command to push on AWS. You can start updating the modification date of files, searching for new files (according to the module settings) and uploading them to the AWS cloud through the command line by running the file:
amazonawss3cdnmediaserver/update-edit-and-new-files.php

Besides there are useful filters on module setting page to list files:

PrestaShop Amazon AWS product images management

Prestashop Multishop

      • Physical URL: supports
      • Virtual URL: supports

Each store needs to set its own settings.

 

Buy it now:

Buy it now!

Buy on PrestaShop.com

 

CONTACT US
Cookies | Privacy Policy | Terms and ConditionsSoftSprint ©