1. Folder Setup on Hosting (do once)
In cPanel > File Manager, make sure these folders exist:
/public_html/nasluxe-units/– shortlet photos (Luxe 1–6, Prime 1–7)./public_html/commodities-images/– all product photos (rice, oil, chairs, electronics etc.).
Anything you upload into commodities-images/ can be used inside admin-products.php and will show on commodities.html.
2. Download Product Photos from Amazon (Laptop – Chrome)
This is Method A – Auto Import. It lets you grab all images from an Amazon product page in a few seconds.
- Open Chrome on your laptop.
- Go to the Chrome Web Store and search for “Amazon Product Image Downloader” (or similar).
- Install the extension.
- Open any Amazon product page (e.g. rice, blender, chair).
- Click the new extension icon or button like “Download all images”.
- All the images will be saved to your Downloads folder.
After download, move them into a named folder on your laptop, for example:
rice-50kg/garri-ijebu/compressed-chair-3plus2/
3. Clean & Prepare Photos (Phone – CapCut / Remini)
This is Method B – Phone Fast Upload. It makes the pictures look TikTok / Amazon standard.
- Send the downloaded images from your laptop to your phone (AirDrop, WhatsApp, Google Drive, etc.).
- On your phone, open CapCut.
- Create a new project and import all the product images.
- Use AI Background Remove or simple cropping so the product is clear.
- Export the images back to your phone gallery.
- Optional: Use Remini to sharpen / HD-upscale if needed.
4. Upload Photos to Server (cPanel)
- Log into cPanel → File Manager.
- Open
public_html/commodities-images/. - Click Upload and select the cleaned images from your laptop or from a synced folder.
Example filenames after upload:
commodities-images/rice-50kg-main.jpgcommodities-images/rice-50kg-2.jpgcommodities-images/rice-50kg-3.jpg
Copy these full paths – you will paste them inside admin-products.php.
5. Add Product in Admin Panel (admin-products.php)
Open in your browser:
https://budget-friendly.ng/admin-products.php
5.1 Fill main product details
- Product ID – leave blank for new product.
- Name – e.g. Premium Long Grain Rice.
- Unit / Size – e.g. 50kg bag.
- Price (₦) – e.g. 85000.
- Category – food, household, clothing etc.
- Availability – e.g. In stock.
- Notes – e.g. Discount for 5 bags and above.
5.2 Add images (connect A+B → website)
- Main image URL
commodities-images/rice-50kg-main.jpg - Extra image URLs (comma-separated)
commodities-images/rice-50kg-main.jpg, commodities-images/rice-50kg-2.jpg, commodities-images/rice-50kg-3.jpg - Video URL (optional) – if you have a hosted MP4 or link, e.g.
commodities-images/rice-50kg-video.mp4
Click Save product. This updates products.json automatically.
commodities.html for each product.
Once saved in admin-products.php, products appear automatically on the shop page.
6. How it shows on the website
On commodities.html (Budget Shop – Commodities):
- Main card image uses
mainImage. - Small thumbnail row uses the
images[]array (up to 4 thumbnails shown). - When you click a thumbnail, the big image on the card changes (like Amazon gallery).
- If you set
videoUrl, a “Watch product video” link appears.
You also get:
- Search bar (search by name, unit, category).
- Category filter (food / clothing / household).
- Basket on the right (cart) + Paystack checkout.
7. Fast Workflow – 50 Products in One Session
| Step | Task | Approx. Time |
|---|---|---|
| 1 | Download all images from Amazon using Chrome extension | 1–2 min for 10–20 products |
| 2 | Clean / crop in CapCut (phone) | 10–15 min |
| 3 | Upload to commodities-images/ in cPanel |
5–10 min (bulk upload) |
| 4 | Fill admin-products.php for each product |
15–20 min for 50 products |
Once you get used to it, you can comfortably upload 50+ products in less than an hour.
8. Shortlets (index.html) – Photo Updates
For your apartments (Prime 1–7, Luxe 1–6):
- Upload new apartment images into
/nasluxe-units/. - Update the
src="nasluxe-units/..."paths inindex.htmlwhere each unit’s gallery is defined. - The lightbox gallery on the homepage is already wired – it just needs correct image paths.
This keeps the shortlet side looking like Booking.com / Airbnb quality.
Internal note: if anything breaks, check products.json for commas or missing quotes, and test email using email_test.php.