Quick.Cart integration examples?

If you've problems with unsupported - non official ;-) - functionalities use this forum please.
sparks
Posts: 39
Joined: Mon 1. Aug 2005, 15:49

Quick.Cart integration examples?

Post by sparks »

Does anyone have an example of seemless Quick.Cart integration into phpWCMS? Because what I have come up to is installing Quick.Cart into separate folder and linking to it..
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

Hi sparks,

have a look here: http://phpwcms-templates.de/shop.phtml

It's not a real shop, you can buy nothing :roll:
I'm just making some experiments to integrate the newest version 1.2 of Quick.Cart into phpWCMS...

That's my solution so far......
jscholtysik

Post by jscholtysik »

Hi pepe,


did you use the iframe function for this?

Looks very good...


Joachim
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

Hi jscholtysik,

thanks :)

Yes, it's the iFrame-solution.... i'm not that good in coding, only a beginner, but it fits my needs so far.

If you have a better one - whithout using an iFrame - i would like to know :idea:
sparks
Posts: 39
Joined: Mon 1. Aug 2005, 15:49

Post by sparks »

That looks nice enough. thanx!
pepe wrote:Hi jscholtysik,

If you have a better one - whithout using an iFrame - i would like to know :idea:
Me too :)
sparks
Posts: 39
Joined: Mon 1. Aug 2005, 15:49

Post by sparks »

and one more thing... could you explain the usage of iframes in phpWCMS? I created a separate template, with iframe and pointed out source path but can't see anything..
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

hi sparks,

i would do it that way:

Create a special directory inside the ROOT of the phpWCMS script.
Copy your Quic.Cart files to this directory.

Inside one of your phpWCMS-categories put in an article... and inside that article use an HTML-contentPart

Drop in something like that:
<iframe onLoad="iFrameHeight();" src="{SITE}your_Quick-Cart_directory/index.php" scrolling="no" scroll="auto" id="iframename" name="iframename" marginwidth="0" marginheight="0" frameborder="0" style="width:100%;" height="0px">
</iframe>
Inside the html-head of the corresponding template copy the following code-lines, to produce the fitting frame-height:
<script language="javascript">
<!--
function iFrameHeight() {
if(document.getElementById && !(document.all)) {
h = document.getElementById('iframename').contentDocument.body.scrollHeight;
document.getElementById('iframename').style.height = h;
}
else if(document.all) {
h = document.frames('iframename').document.body.scrollHeight;
document.all.iframename.style.height = h;
}
}
//-->
</script>
Thats all.... give it a try :wink:
sparks
Posts: 39
Joined: Mon 1. Aug 2005, 15:49

Post by sparks »

thanks a lot.

the more i use the system, the more I like it! I do the design part, and my basic knowledge of progamming is really tiny.

Beautifull and easy.
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

Hi

just back from shopping tour .... in pepes "ALDI" Shop, only want to say:

I NEED THIS ! :lol:

No point of the used shop reminded me being inside an iframe!

GREAT! This fits like made by phpwcms !

Jürgen
sparks
Posts: 39
Joined: Mon 1. Aug 2005, 15:49

Post by sparks »

exactly
culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Post by culda_a »

Halo Pepe, I have a questin, how can I do to see the quic.cart in my template, I use Oliver template if you remember, and after I inttegrate with ifram I see onli a part of the cart in the content how can I modify this to see all ar only the products, without the category?

Danke
:?:
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

Hi culda_a,

please read my posting: Verfasst am: Di Feb 21, 2006 21:21

http://www.phpwcms.de/forum/viewtopic.p ... ght=iframe


please give us the URL to see, what the problem is!???
culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Post by culda_a »

I use Oliver Templates for now until I figure out all but I think a solution will be to put on top the menu not on left like in you site http://phpwcms-templates.de/shop.phtml

but I'm not sure, maybe there is another solution (sure it is ) :roll:
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

i know my own URL... but wanna have yours :lol: :lol: :lol: because i cann't remember it :cry: :cry: :cry:
culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Post by culda_a »

hi pepe,
http://wd-media.com/wdr/index.php?shop_ro
anyway you have my user and password from backend if you remember
Post Reply