Online shopSep 2020

Lavmag Online Shop

Prestashop online shop with over 4000 products, kept in sync with another store through custom PHP feed scripts.

Platform
Prestashop
Scope
Online shop
Status
Delivered
Lavmag Online Shop
Lavmag Online Shop - desktop
Lavmag Online Shop - mobile Desktop + mobile
Overview

The project.

Online shop, Cron application, Feed application · Jul 2020 — Sep 2020

Lavmag Online Shop

Online shop made in Prestashop 1.7, with products imported and updated from another store's CSV feed. I wrote custom PHP scripts, run as cron jobs, that create categories, brands and products, upload images, update stock and prices with an added percentage, and disable products missing from the feed. At the last update the shop handled over 4000 products. Payments go through MobilPay, and the contact form uses Contact Form 7 from an embedded WordPress page.

Client
Lavplast
Collaboration
Individual
Platform
Prestashop
Technology
HTML, CSS, JS, SQL, PHP, TPL
Modules
Cron Jobs, MobilPay, Facebook Pixel Products Feed
Tools
Xara Photo & Graphic Designer, Paint.net
Timeline
Jul 2020 — Sep 2020
Screens

Website showcase

13 desktop and 12 mobile views, shown in pairs. Pick a screen from the rail; open the stage for the full capture.

25 views
Website preview
Laptop frame
Website preview mobile
Phone frame
01 / 25

Desktop 01

Import Products From Feed - Prestashop
Case study

Import Products From Feed - Prestashop

Add products to the Prestashop 1.7 website from a CSV feed, create products, set stock, create categories, brand, disable if the scripts can not find the products in CSV anymore. This import is made with 2 PHP scripts that are used as cron jobs in cPanel, but can be use with a cron module to.

These 2 scripts make stock synchronization possible of 2 stores, in other words it takes the data from feed, feed provided from the globiz.ro store and is used at the lavmag.ro store.

  • PHP
  • Prestashop 1.7
  • CSV Import
  • Cron Job
  • Stock Sync