Custom Gateway - Customer Support


Welcome to the Custom Gateway Support Portal

Here you can raise support tickets and read articles on common queries using the topic sections and search below

Using a Save Project Module in Magento

Follow

Users can save their designs in the front end of a magento websites and can return back to their design at a later time to complete their designs if they want. This is possible by installing the 'save project module' on magento. 

This module allows saving of the current design on their account in magento and will redirect users that are not registered to the registration section once they attempt to save their design. For this module to work the save feature/option must be available on the layout used for the site.

 

For your magento sites the following instructions can be followed to install the module on your server. If using one of our Gateway sites then this can be arranged as a development work for you.

 

Installation as follows:

 

Step 1. copy files from app folder to your magento installation (under template which you are using)

Step 2. clear cache, logout and login to magento to make sure module is loaded properly

Step 3. in file template/personaliseit/product/view/media.phtml you must add 'save' parameter to your url


`//g3d-app.com/s/app/XXX/en_GB/default.html#r=2d-canvas&p=YYY&save=YOUR_SITE_URL/customer/saveprojectpage/save`

 

where XXX is app layout, YYY is id of product, YOUR_SITE_URL is your website url.

 

example of how to add save parameter to your iframe url in media.phtml file: 
 
if (Mage::helper('core')->isModuleEnabled('Gateway3D_Saveprojectpage')) {
$actual = (isset($_SERVER['HTTPS']) ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
$save = Mage::getUrl('customer/saveprojectpage/save');
$urlParams['save'] = $save;
}
 
if ($_GET["ps"]!="") $urlParams['ps'] = $_GET["ps"];

 

Once all installation has been completed if logged in as a user you would now see new item called 'Saved Projects' in the bottom left corner as shown on the screen shot below.

 

 

 

 

If you are on product view and click 'Save', your custom project is saved under this Saved projects tab. If you clik on your project, you are redirected back to product view with your saved design as seen on the screen shot below.

 

 

 

Was this article helpful?
0 out of 0 found this helpful

Comments