The HashAmazonify Theme is a powerful, event-based theme build script designed to give your Sales 360 store a modern, Amazon-like header and design aesthetic.
The HashAmazonify Theme is just one of many premium themes available for Sales 360. If you are looking for more options to enhance your store's look and functionality, please connect with us!
| Detail | Value | Source |
| Theme Name | HashAmazonify (formerly HashPal Theme) | |
| Version | 1.0.0 | |
| Author | HashPalLabs | |
| Contact for More Themes | https://www.hashpallabs.com | |
| Style | Amazon-like Header Design | |
| Technology | Event-Based Template Overrides, Bootstrap 5, Font Awesome 6, jQuery 3.7.1 |
The theme is packaged as a Sales 360 modification file, typically named hashpal.ocmod.zip.
Navigate to Extensions -> Installer in your Sales 360 admin panel.
Click the Upload button and select the hashpal.ocmod.zip file.
The installation script will run, registering a Startup Event necessary for the theme's event-based template overrides.
Go to Extensions -> Extensions -> select Themes from the filter drop-down.
Locate the HashAmazonify Theme and click the Edit button.
On the theme settings page, set the Status entry to Enabled.
Click the Save button.
Navigate to System -> Settings.
Click the Edit button for the store you wish to modify.
Go to the General tab.
In the Theme setting, select or enter the directory name hashpal.
Save your store settings.
To ensure the new theme is fully loaded, clear the system caches:
Go to Designer -> Theme Editor (or equivalent) and refresh the theme cache.
Go to Maintenance -> Clear Cache and clear all relevant caches (especially Sass and Image caches).
The HashAmazonify theme uses a modern, event-based template override system for maximum compatibility and minimal core file modification in Sales 360.
A dedicated Catalog Startup Controller registers an event on view/*/before.
The theme checks for a custom template version at the path extension/hashpal/catalog/view/template/[original route].twig.
If found, the theme overrides the original route (e.g., common/header is replaced with extension/hashpal/common/header).
How to Customize a Page:
Create your modified .twig file in the theme's extension directory.
Example: To customize the product page, edit or create the file: catalog/view/template/product/product.twig within your extension folder structure.
The theme provides a PHP utility helper:
| Detail | Description |
| Helper Class | \Opencart\System\Helper\Theme |
| Function | public static function toRgba($hex, $alpha = 0.9) |
| Purpose | Converts a hexadecimal color code (e.g., #FF0000) into an RGBA string (e.g., rgba(255, 0, 0, 0.9)). The alpha value defaults to 0.9. |
| Setting/Information | Description |
| Status | The theme modification status can be toggled on the Theme Edit Page (input-status). |
| Log File Path | system/storage/logs/hashpal_theme.log |
| Testing Route | Visit index.php?route=common/test to run diagnostic tests and verify core functions. |