PayPal Mini Cart

In this section you can share self-made extensions with other users of WYSIWYG Web Builder.
There is a dedicated section for commercial extensions.
User avatar
zinc
 
 
Posts: 2146
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Post by zinc »

kevinp wrote:Baconfries has sorted the position problem out for chrome and firefox and also added a few extras. He's put lot of work into the extension and I'll upload it later tonight when I get home.
Cheers Kevin & BF :D
Running WYSIWYG Web Builder since 2007...
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries »

Awwww shucks you going to have me Image but yourImageImage
User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England

Post by kevinp »

A little later than promised but here is the new version of the extension as build by BacoFries. Hope you find it usefull.

Download at
uniformality

Post by uniformality »

Thanks guys great work.

One small request, the checkout page includes a paypal 'sign-up' section is it possible to go to the 'normal' checkout page instead?

Regards

Paul
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries »

Afternoon uniformality dont know if this can be done, we have only used the original script by the author to build the extension and this is how he uses the script to display the checkout page using the javascript maybe kev can answer you more on this as he was the original builder of the extension I only gave input to help fix the cart position on page and added a couple of extras to enhance the extension...
User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England

Post by kevinp »

Hi uniformality. This behaviour happens because the 'cart' function has already happened on your web page so you effectively just visit the PayPal site to make the payment either by PayPal account (hence the log in) or by debit/credit card.

This is pretty much controlled by paypal so not 100% sure if what you're looking for is possible but I'll try out a few configerations and see what I can come up with.
User avatar
mandrake
 
 
Posts: 43
Joined: Wed Jun 24, 2009 8:37 pm

Post by mandrake »

Hello
Bravo for the important work done on this expansion!
Is it possible to create a quick tutorial for those like me who can not understand how to set this new expansion? :oops:
I tried all night to find the solution but I can not, my problem is with all options "Click to modify this property"
I am sure this plugin is installed because when I add a paypal button simple "add to cart", it works and the amount is displayed in the window of the paypal cart.
Thank you in advance for your help and sorry for my bad english language!

Best regards,
Mandrake.
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries »

Bonjour Mandrake I will try to write a pdf tutorial later today or tonight to explain the new functions to the extension and hopefully this will explain it for you and other users.
User avatar
mandrake
 
 
Posts: 43
Joined: Wed Jun 24, 2009 8:37 pm

Post by mandrake »

Hello BaconFries,

Thank you very much! :P

Best regards,

Mandrake.
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries »

Here is the pdf file that I hope will help users understand more of how the extension works and what the variables mean to the cart...ImageImage

http://www.mediafire.com/?zm4uqiumqme
User avatar
mandrake
 
 
Posts: 43
Joined: Wed Jun 24, 2009 8:37 pm

Post by mandrake »

Great!

Thank You Baconfries!

Best regards,

Mandrake.
User avatar
mandrake
 
 
Posts: 43
Joined: Wed Jun 24, 2009 8:37 pm

Post by mandrake »

Hi,

I download the pdf twice without any problem....


Best regards,

Mandrake.
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries »

Just ran a quick test to see what might be wrong, seems to show ok in all test browsers that I am using from IE6 to IE8 FF, Opera, Chrome, Safari do you have a url we can view just to see what may be wrong... you might wantto try this please enable the png fix see if the cures the missing arrow...
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries »

Adding tax or shipping just set the input value for both example below shows shipping cost please note this will not get displeyed in the cart but will show at checkout....

Image

Spacing you own buttons take a look at the line of code below the highlighted part in red you can increase the size ie 110px, 120px to space your own button....
<input type="image" src="images/view.jpg" align="top" style="position:absolute;left:100px;top:90px" border="0" name="submit" alt="view cart" class="button" value="View your cart" vspace="4">

Changing postion of text this would require redoing the form code in the extension to allow positioning that you need at this time I cant work on the extension to do this maybe at a later date or maybe Kevin can take a look at this if he has the time...
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries »

Yes but you will have to modify the minicart.js manualy to do this open the minicart.js file in any html.text editor and look for line
var shippingNotice = createElement('span', 'does not include shipping & tax', please note I havent tested removing this so I cannot say if this will effect how the cart works.... in place of the line of text you wish to remove you could add in its place.... "tax & shipping added at checkout"
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries »

Please clear your temporary cache this is probably storing a copy of the old script, html etc...
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries »

Then this is probably because you are still loading the original js file when pre-viewing the extension, the modification can only be done when you are ready to finally upload to your server where you will then see the changes made in the minicart js...you cannot make the changes then preview again in WB as this will always load the embeded minicart js that loads with the extension this will always over right any changes made manauly....
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries »

You sure it not there take a look in currency code (NZD) is in between NOK and PHP in the drop down of currencies...
Image
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries »

Sorry this is not possible with the extension... to do this it would need another drop-down option added to allow the user to be able to select the shipping costs that you have for the items for sale.....
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Re: PayPal Mini Cart

Post by BaconFries »

First link tested and working.... :D
User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England

Re: PayPal Mini Cart

Post by kevinp »

The original link seems to be working fine.
User avatar
zinc
 
 
Posts: 2146
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: PayPal Mini Cart

Post by zinc »

kevinp wrote:The original link seems to be working fine.
Kevin I like the mathcaptcha on your site. Free script was it?
Running WYSIWYG Web Builder since 2007...
User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England

Re: PayPal Mini Cart

Post by kevinp »

It was an extension for WB. You can get it from viewtopic.php?f=42&t=31111
User avatar
zinc
 
 
Posts: 2146
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: PayPal Mini Cart

Post by zinc »

kevinp wrote:It was an extension for WB. You can get it from viewtopic.php?f=42&t=31111
Thanks mate. Nice one.
Running WYSIWYG Web Builder since 2007...
User avatar
protectourlands
 
 
Posts: 443
Joined: Sat May 24, 2008 2:16 am
Contact:

Re: PayPal Mini Cart

Post by protectourlands »

Nevermind. I see there is a newer version.
User avatar
protectourlands
 
 
Posts: 443
Joined: Sat May 24, 2008 2:16 am
Contact:

Re: PayPal Mini Cart

Post by protectourlands »

I'm having a problem trying to figure out how to offer 3 options of the same product (dropdown).

For example: red shirt, blue shirt, green shirt - all the same price of $15.

Item Name Settings
Item Name Settings / Name or Item Number
item_name / Blue shirt
item_name / Red shirt
item_name / Green shirt

Input Value Settings
Option Select / Input Value
option_select0 / $15.00

Amount Value Option Settings
Value / Option
15.00 / Blue shirt
15.00 / Red Shirt
15.00 / Green Shirt

With this configuration, no matter what color option I choose in the dropdown, it always sends the Green Shirt option to the cart (last entry in "Name or Item Number"). I think I'm doing something wrong in "Option Select". I'm not sure what "option_select0" means. Anyone have a suggestion?
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Re: PayPal Mini Cart

Post by BaconFries »

@protectourlands take a lok at the PDF I made some time ago how to use the extension hope this helps some more on how to use
http://www.mediafire.com/?zm4uqiumqme
User avatar
protectourlands
 
 
Posts: 443
Joined: Sat May 24, 2008 2:16 am
Contact:

Re: PayPal Mini Cart

Post by protectourlands »

Hi BaconFries

I read it and it really helped. For some reason though I am having a hard time wrapping my brain around employing different categories to be sent to the cart. I get them in the dropdown no problem, but when I preview the page it seems no matter which dropdown option i choose to send to the cart, it only sends the last item listed in the Item Name Settings > Name or Item number.

Can you explain what option_select_0 is and what it is supposed to match? I have a feeling the problem is there. I have option_select0 under "Option Select", and $15 under Input Value. Since all three of my dropdown options are the same price (just different color), do I need to modify this?

I appreciate your advice.
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Re: PayPal Mini Cart

Post by BaconFries »

@ protectourlands it late here in the UK and I am heading to bed, I will knock up a little demo tomorrow for you so you can see what it does and how to set up.....
User avatar
protectourlands
 
 
Posts: 443
Joined: Sat May 24, 2008 2:16 am
Contact:

Re: PayPal Mini Cart

Post by protectourlands »

Oh that would be great. Thank you so much.
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Re: PayPal Mini Cart

Post by BaconFries »

Please read this
http://www.mediafire.com/?zm4uqiumqme

Small demo of who to use
http://www.mediafire.com/?2l2d3fyu6bu7352

Please note that I do not "Support" this extension although I may have made it..It was made to pass on to Kevin to show what else could be done with using extra variables etc.
User avatar
iamafireman
 
 
Posts: 84
Joined: Mon May 26, 2008 2:41 am
Location: Tennessee

Re: PayPal Mini Cart

Post by iamafireman »

I am going to use this on a site i'm building, I'm not using the extension but instead just the code from the site. Have everything working, but the window is behind all my content. Any idea how to get it to show on top of my content?
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Re: PayPal Mini Cart

Post by BaconFries »

@iamafireman insert the code below in Page HTML between<head></head> tags* set the z-index to what you require but I think 100 should be enough....

Code: Select all

<style type="text/css">
#PPMiniCart {
position: relative !important;
z-index: 100 !important;
}
</style>
Last edited by BaconFries on Tue Aug 23, 2011 11:29 am, edited 1 time in total.
User avatar
iamafireman
 
 
Posts: 84
Joined: Mon May 26, 2008 2:41 am
Location: Tennessee

Re: PayPal Mini Cart

Post by iamafireman »

Thanks that did it.
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Re: PayPal Mini Cart

Post by BaconFries »

Glad to have helped...
supersonictt
 
 
Posts: 398
Joined: Sun May 15, 2011 10:27 am

Re:

Post by supersonictt »

BaconFries wrote:Hi kevin been working on this myself and believe I have nailed the postioning down in FF and chrome with how I set it up in the mini.js I can select whether to have it dropdown from left or right in FF, chrome I can send it on to you if you had a email that I can send too....you can let me know...
Hello BaconFries,

I've been trying to fix "L" "R" issue, but couldn't find out how!
Do you have any clue how to do so?
Thanks.
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Re: PayPal Mini Cart

Post by BaconFries »

Hi supersonictt I havent use the extension for some time now, what version of the extension are you trying to use the version that I supplied Ken with or his? I memory serves me correctly with mine there is two settings for the left/right one needs to be set to L for Left and the other set to Left and vice -verus for right.
supersonictt
 
 
Posts: 398
Joined: Sun May 15, 2011 10:27 am

Re: PayPal Mini Cart

Post by supersonictt »

@BaconFries

The version am using is the one that doesn't have the combo boxes and extra settings (as reading this thread, he has two version, the very first one which am using and the second one has combo boxes and more complex settings).
The version I have has L and R, but whenever I set it to R it doesn't appear on right, it always appears on the left. And you mentioned that you had the fix for that, could you please let me know how you did it?
Thanks.
Patr100
 
 
Posts: 115
Joined: Tue Dec 25, 2007 10:52 pm

Re: PayPal Mini Cart

Post by Patr100 »

supersonictt wrote:@BaconFries

The version am using is the one that doesn't have the combo boxes and extra settings (as reading this thread, he has two version, the very first one which am using and the second one has combo boxes and more complex settings).
The version I have has L and R, but whenever I set it to R it doesn't appear on right, it always appears on the left. And you mentioned that you had the fix for that, could you please let me know how you did it?
Thanks.
You need to replace the old version with the updated one by Bacon Fries from this link
supersonictt
 
 
Posts: 398
Joined: Sun May 15, 2011 10:27 am

Re: PayPal Mini Cart

Post by supersonictt »

Patr100 wrote:
supersonictt wrote:@BaconFries

The version am using is the one that doesn't have the combo boxes and extra settings (as reading this thread, he has two version, the very first one which am using and the second one has combo boxes and more complex settings).
The version I have has L and R, but whenever I set it to R it doesn't appear on right, it always appears on the left. And you mentioned that you had the fix for that, could you please let me know how you did it?
Thanks.
You need to replace the old version with the updated one by Bacon Fries from this link
Thanks for the reply... But even this version pins the cart to the left!!
Patr100
 
 
Posts: 115
Joined: Tue Dec 25, 2007 10:52 pm

Re: PayPal Mini Cart

Post by Patr100 »

supersonictt wrote:
Patr100 wrote:
supersonictt wrote:@BaconFries

The version am using is the one that doesn't have the combo boxes and extra settings (as reading this thread, he has two version, the very first one which am using and the second one has combo boxes and more complex settings).
The version I have has L and R, but whenever I set it to R it doesn't appear on right, it always appears on the left. And you mentioned that you had the fix for that, could you please let me know how you did it?
Thanks.
You need to replace the old version with the updated one by Bacon Fries from this link
Thanks for the reply... But even this version pins the cart to the left!!
Yes by default but have you actually read the instructions for changing it to right?
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Re: PayPal Mini Cart

Post by BaconFries »

@ supersonictt try setting like this
paypal.gif
supersonictt
 
 
Posts: 398
Joined: Sun May 15, 2011 10:27 am

Re: PayPal Mini Cart

Post by supersonictt »

BaconFries wrote:@ supersonictt try setting like this
paypal.gif
Thanks a lot, it is working now :)
But is there a way to get rid of the extra settings in the extension?
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Re: PayPal Mini Cart

Post by BaconFries »

What ones are you refering to?
supersonictt
 
 
Posts: 398
Joined: Sun May 15, 2011 10:27 am

Re: PayPal Mini Cart

Post by supersonictt »

BaconFries wrote:What ones are you refering to?
Well, in the same old extension, it was only the cart pinned to the top of the page, and I used the built-in add to cart button to show the cart.
Now in this newer version, it has combo boxes and other stuff (quantity...) that I found hard to setup, so I guess there is no way to remove them, right?
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Re: PayPal Mini Cart

Post by BaconFries »

No sorry they are hard coded into the extension...I might need to take a look at this again and see if I can improve on it...it getting the time to do this but if I can I will...
supersonictt
 
 
Posts: 398
Joined: Sun May 15, 2011 10:27 am

Re: PayPal Mini Cart

Post by supersonictt »

Thanks for your replies :)
Take your time on that, no rush mate :)
Patr100
 
 
Posts: 115
Joined: Tue Dec 25, 2007 10:52 pm

Re: PayPal Mini Cart

Post by Patr100 »

BaconFries wrote:No sorry they are hard coded into the extension...I might need to take a look at this again and see if I can improve on it...it getting the time to do this but if I can I will...
Thanks for your work on this ext.It would be really good if you could make the cart appear to the right by default as surely this is the accepted convention for most similar carts - I don't know of any that hover/stick to the left. It just doesn't feel natural nor intuitive to be on the left.

-
User avatar
bourin
 
 
Posts: 71
Joined: Tue Dec 09, 2008 10:46 am

Re: PayPal Mini Cart

Post by bourin »

Patr100 wrote:Thanks for your work on this ext.It would be really good if you could make the cart appear to the right by default as surely this is the accepted convention for most similar carts - I don't know of any that hover/stick to the left. It just doesn't feel natural nor intuitive to be on the left.
Our commercial "PayPal Mini Cart" Release http://www.mjh-software.org/wwb-extensi ... rce-02.php allow this to set via Display Edge - The edge of the page the cart should pin to. Set to left or right.

Image
Image
professional WWB extensions for tables, MySQL, Excel, e-commerce, measurement, gallery, file uploader, ... - produced from german and thai software engineers
User avatar
zinc
 
 
Posts: 2146
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: PayPal Mini Cart

Post by zinc »

Sorry to butt in but it does appear on the right corner.
Running WYSIWYG Web Builder since 2007...
Post Reply