Post by Brownstein » Wed Mar 06, 2013 6:54 am

We sell custom favors as part of our product line, however, our "website" guy has not been able to add certain features to our opencart site, so I'm here asking assistance. What I'm looking for is the ability for our customers to choose the color, design, and up to three lines of text of the label for their favors and then have the ability to proof the final label before submitting and finalizing their order. This is a standard feature in MOST party personalized favor sites, so I'm not sure if the issue is with our web guy or opencart's abilities. Here's a link to an example of what I'm looking for http://www.kateaspen.com/unexpected-tre ... ed_A3.html

Is this even possible with opencart or will we have to go elsewhere to attain these features? Any assistance will be greatly appreciated.

Newbie

Posts

Joined
Wed Mar 06, 2013 6:44 am

Post by icontech0920 » Fri Apr 05, 2013 1:27 am

Hello,

I am a "webguy" ;) with experience with open cart and I have been tasked for over a month with integrating "kate aspen" into a client's website. I have made many attempts and fresh starts to see if I can get this thing working. no luck.

I am even starting to write my own replacement for the kate aspen nightmare (code + download).

if someone has successfully worked out this matter please share - I am specially concerned about how their "custom line #1,2,3" and how to integrate into open cart because from what I have been able to figure out the thing works on an iframe or ads its own fields via ajax after the page has loaded so open cart has no idea those fields are there and that is has to save that data or what to do with it.

any help would be greatly appreciated!

User avatar
Newbie

Posts

Joined
Fri Apr 05, 2013 1:21 am


Post by icontech0920 » Sat Apr 06, 2013 11:45 pm

here it is! kate aspen working on open cart.

https://fantabulousparty.com/index.php? ... t_id=33936

look at the code within the "productKateAspen Code" html comment tags.

if you need assistance let me know. I would hate for others to suffer as I have suffered!!

User avatar
Newbie

Posts

Joined
Fri Apr 05, 2013 1:21 am


Post by icontech0920 » Fri Apr 25, 2014 2:43 am

Hello People!
I recently received an inquiry into how we got this to work.

although you may place your files anywhere I placed the kate aspen files on a folder at the html root. kate aspen may let you access the files from their server. I suggest you do not do that. if they go down so do you and your integration stops working. download all and access your files locally.

I also created an alternate template file for products that needed the kate aspen extra stuff. productKateAspen.tpl
you may do this by manually selecting a template for the item in the admin panel or by checking for a string on a field that you may create or designate for that purpose.

depending on your setup you may require that all your files are accessed through HTTPS. Sometimes referenced files (css, js, etc) may fail with very little warning if you are accessing your site if those resources are not using HTTPS if the website itself is on HTTPS. all browsers let you check on this. for chrome press F12 and click on console for warning or 404 errors.

the javascript on kate aspen does not really take this into account. some areas of their code do but others don't so you may have to access their javascript and look for instances of http/https. in some case you can get away with this by omitting the http part of the like and simple use : "//website.com". your website will use HTTP or HTTPS based on context.


The attached JS file contains some of the modifications required for our implementation of the kate aspen integration.

I have not worked on this for a while and this was a pre-production ready version of the code. it works. its just a bit dirty. But hopefully helps more than a minified and clean file.

Oh! and another thing. I think you need to create an option for a blank field from within the admin because the integration we did auto inserts the code generated onto this field so that the user does not have to copy and paste it. that is the method used on the regular kate aspen code.

please review the code and let me know if you have any questions.

You may also check this other website:

https://sahabeesweets.com/personalized- ... rty-favors
I added some spaces in case this forum removes links.
that was a custom personalization for products that does not depend on kate aspen. AND great honey by the way!!

Attachments

this tile is the modified template


User avatar
Newbie

Posts

Joined
Fri Apr 05, 2013 1:21 am

Who is online

Users browsing this forum: No registered users and 4 guests