Jump to content
Jhonmicky

Personalization preview tool

Recommended Posts

Hello everyone,,

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 folder
Personalization.js
jquery-1.4.2.min.js
Utilities.js
json2.js
popupwindown.css
For JS/Personalized.js file, there are two values that need to be changed:
var ViewAllDesignImage="../personalized/common/KA_viewdesigns.gif"Appvalley TutuApp Tweakbox

var perimgurl="Your Site URL";
For example:
var ViewAllDesignImage="http://YourSiteURL/personalized/common/KA_viewdesigns.gif"
var perimgurl="
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 by Jhonmicky (see edit history)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More