PDA

View Full Version : A module and an I frame help


Datagg
08-13-06, 03:46 AM
Yes hello,

Im trying to figure out how to get the "tiny cart" module to work via an iframe and insert it into a statc page created by merchant optimzer.

I wrote Bruce on this, yet im trying to figure it out on my own.

As of now i have added this line to the right column display

<iframe width=155 height=200 src="http://www.girlfriendslingerie.com/Merchant2/merchant.mvc?Store_Code=GFL&Screen=DEN_TINYCART" name="basket">

It appears to be working right, as i test it , it displays a white blank background upon looking at the SFNT page....When an item is added into the cart, thee "tiny cart" module does activate within it, which is what i want....

But.... How would i make the background prior to anyone putting anything in the cart, show as something like, you cart is "currently empy" insstead of a blank section of white.

ive yet to try this setup on a static page, yet i assume since its being called externaly , it would work, i hope.

if anyone has any suggestions on how to improve the delivery of this id appreciate it.

Datagg
08-13-06, 05:17 AM
Yes hello,

Im trying to figure out how to get the "tiny cart" module to work via an iframe and insert it into a statc page created by merchant optimzer.

I wrote Bruce on this, yet im trying to figure it out on my own.

As of now i have added this line to the right column display

<iframe width=155 height=200 src="http://www.girlfriendslingerie.com/Merchant2/merchant.mvc?Store_Code=GFL&Screen=DEN_TINYCART" name="basket">

It appears to be working right, as i test it , it displays a white blank background upon looking at the SFNT page....When an item is added into the cart, thee "tiny cart" module does activate within it, which is what i want....

But.... How would i make the background prior to anyone putting anything in the cart, show as something like, you cart is "currently empy" insstead of a blank section of white.

ive yet to try this setup on a static page, yet i assume since its being called externaly , it would work, i hope.

if anyone has any suggestions on how to improve the delivery of this id appreciate it.

Forget it, im figuring it out

Thanks

Datagg
08-13-06, 07:25 AM
Well i got it to work, in the statics also...
Only thing i wish i could figure out and perhaps someone else can, is that when the cart is empty , i can get the iframe no to be as big..... height wise

Then when someone adds to the cart, it will open back up to the size it is now....

Any ideas... First time i messed with iframes today..i can see allot of pessibilities with this method///

seahawkfan
08-13-06, 10:46 AM
hey datagg, How did you get the background to change, I am having the same problem. I just can't figure it out.

Thanks in advance

Datagg
08-13-06, 03:55 PM
hey datagg, How did you get the background to change, I am having the same problem. I just can't figure it out.

Thanks in advance

Hello Rick.....

The page the Iframe is actually is where you need to add the code...

Here is my code i used in the "Tiny Cart" Iframe section, yet im sure it can be done on any page you call for your external (remember add the code to the external not the internal)

<head>
<title>Shopping Cart</title>
<base href="%base_href%" target="_top">
</head>
<body background="http://www.girlfriendslingerie.com/images/pinkbg.gif">
%basket%
</body>

Hope this helps and good luck