Jahvon Posted February 24, 2015 Share Posted February 24, 2015 (edited) Hi all, I have been struggling to get this on the product page a personalization preview tool from Kate aspen, I can't find the product page for Prestashop 1.6 and where on the page would i put the code below? I want a person to be able to customize their products. Cookies must be enabled on your website and in your customer’s browser to utilize the tool. Kate Aspen does not provide support for loading this program onto your site. Please contact your webmaster or an IT professional for assistance. You will need to customize this code in several places (noted in instructions). Please read carefully. The following basic instructions are for Windows-based platforms only. Basic Directions: Extract/Unzip PersonalizationPreviewTool.rar file to a destination folder on your computer and either save or open.(If you cannot open the file, please download WinRAR here). If you are a Yahoo Store Owner please download this file PersonalizationPreviewTools_ForYahooStore.rar. This may take several minutes to download (it's a very large file)! Then click on "personalizationpreviewtool" to get into the folder. Please download following JS file to your server /personalizationPreviewTool /js folderPersonalization.jsjquery-1.4.2.min.jsUtilities.jsjson2.jspopupwindown.css For JS/Personalized.js file, there are two values that need to be changed: var ViewAllDesignImage="../personalized/common/KA_viewdesigns.gif" var perimgurl="Your Site URL"; For example:var ViewAllDesignImage="http://YourSiteURL/personalized/common/KA_viewdesigns.gif" var perimgurl=" http://www.YourSiteURL.com "; At the product page, add code below before </head> tag. <script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="../js/json2.js"></script> <script type="text/javascript" src="../js/Utilities.js"></script> <script type="text/javascript" src="../js/Personalization.js"></script> <LINK href="/js/popupwindown.css" rel="stylesheet"> For example:<script type="text/javascript" src="../personalizationPreviewTool /js/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="../personalizationPreviewTool /js/json2.js"></script> <script type="text/javascript" src="./personalizationPreviewTool./js/Utilities.js"></script> <script type="text/javascript" src="../personalizationPreviewTool /js/Personalization.js"></script> <LINK href="/js/popupwindown.css" rel="stylesheet"> At product page, at the point where you want to display the personalization tool, add this code: <SCRIPT language=Javascript type=text/javascript> $(document).ready(getPersonlizationData(‘KA SKU #’,'KA SKU#DIV', 0)); </script> <div id="'KA SKU#DIV" > </div> For example:<SCRIPT language=Javascript type=text/javascript> $(document).ready(getPersonlizationData('31001NA-02','31001NA-02DIV',0)); </script> <div id =’31001NA-02DIV’> Edited February 24, 2015 by Jahvon (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now