PayPal Mini Cart
- BaconFries
-
- Posts: 5325
- Joined: Thu Aug 16, 2007 7:32 pm
Re: PayPal Mini Cart
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...
-
-
- Posts: 398
- Joined: Sun May 15, 2011 10:27 am
Re: PayPal Mini Cart
Thanks for your replies
Take your time on that, no rush mate
Take your time on that, no rush mate
Re: PayPal Mini Cart
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.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...
-
Re: PayPal Mini Cart
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.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.
professional WWB extensions for tables, MySQL, Excel, e-commerce, measurement, gallery, file uploader, ... - produced from german and thai software engineers
Re: PayPal Mini Cart
Sorry to butt in but it does appear on the right corner.
Running WYSIWYG Web Builder since 2007...
Re: PayPal Mini Cart
Is that in answer to Bourin or me?bendigo wrote:Sorry to butt in but it does appear on the right corner.
By default it appears on the left. Until you modify this action.
Re: PayPal Mini Cart
I have tested the setting for z-index, based on infos from https://github.com/jeffharrell/MiniCart/pull/67BaconFries wrote:@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>
Code: Select all
<head>
<style type="text/css">
#PPMiniCart form { z-index: 100; }
</style>
</head>
Code: Select all
<head>
<style type="text/css">
#PPMiniCart { z-index: 100; }
</style>
</head>
Code: Select all
<div id="wb_PayPal-Mini-Cart" style="position:absolute; ... z-index:100;" align="left">
<script src="minicart.js" type="text/javascript"></script>
<script type="text/javascript">
PAYPAL.apps.MiniCart.render({
displayEdge: 'right',
edgeDistance: '50px',
cookiePath: '/',
paypalURL: 'https://www.paypal.com/cgi-bin/webscr',
strings: {
button: 'Button',
subtotal: 'Subtotal',
discount: 'Discount',
shipping: 'Shipping'
}
});
</script>
</div>
(1) into WWB project side via STR++ - mostly forgot
(2) after wwb project publis with an outside "search and change" software
professional WWB extensions for tables, MySQL, Excel, e-commerce, measurement, gallery, file uploader, ... - produced from german and thai software engineers
- BaconFries
-
- Posts: 5325
- Joined: Thu Aug 16, 2007 7:32 pm
Re: PayPal Mini Cart
@ bourin what version of the minicart.js file are you using in your extension????
the code below is for the latest version of the minicart.js I was in contact with the author of the script regarding a issue regarding z-index order and this is what HE recommended so before being critical regarding this please check that YOU are using the latest minicart.js which this fix is for and not previous version of the script.....
the code below is for the latest version of the minicart.js I was in contact with the author of the script regarding a issue regarding z-index order and this is what HE recommended so before being critical regarding this please check that YOU are using the latest minicart.js which this fix is for and not previous version of the script.....
Code: Select all
<style type="text/css">
#PPMiniCart {
position: relative !important;
z-index: 100 !important;
}
</style>
Re: PayPal Mini Cart
I'm use version 2.0.6 = jeffharrell-MiniCart-2.0.6-0-gbc27f32.zip from here https://github.com/jeffharrell/MiniCart/archives/master
professional WWB extensions for tables, MySQL, Excel, e-commerce, measurement, gallery, file uploader, ... - produced from german and thai software engineers
Re: PayPal Mini Cart
I'm found today also a jeffharrell-MiniCart-2.0.6-18-gaaf3ef1.zip without any effort for the z-index problem, don't work.
professional WWB extensions for tables, MySQL, Excel, e-commerce, measurement, gallery, file uploader, ... - produced from german and thai software engineers
Re: PayPal Mini Cart
Finally, is there a finished, completed extension version? As I can see, there are code pieces here and there, in various posts.
Has someone completed this useful extension?
Thanks
Paul
Has someone completed this useful extension?
Thanks
Paul
- BaconFries
-
- Posts: 5325
- Joined: Thu Aug 16, 2007 7:32 pm
Re: PayPal Mini Cart
@pavlos1 the extension by kevin is already available to download at the very first post of this topic it can be seen below the screenshot a clue is Download at http://www.mediafire.com
viewtopic.php?f=42&t=25316
viewtopic.php?f=42&t=25316
Re: PayPal Mini Cart
Thank you BF, it works smoothly with wysiwyg paypal buttons.
However, I need to make some modifications on the js script, like colors, etc., but I can't locate it. Where can I find it?
Thanks,
Paul
However, I need to make some modifications on the js script, like colors, etc., but I can't locate it. Where can I find it?
Thanks,
Paul
- BaconFries
-
- Posts: 5325
- Joined: Thu Aug 16, 2007 7:32 pm
Re: PayPal Mini Cart
To make any changes to the js file you will need to open it with a HTML Editor scroll down to line
87 function createCart() here you will find some code to allow you to make the changes...note if you open the extension again in wb then these will be lost and you will have to repeat.
87 function createCart() here you will find some code to allow you to make the changes...note if you open the extension again in wb then these will be lost and you will have to repeat.
Re: PayPal Mini Cart
BF, I know I have to edit the js file in an html editor, but I can't find this js file.
Where is this file?
Thank you
Where is this file?
Thank you
- BaconFries
-
- Posts: 5325
- Joined: Thu Aug 16, 2007 7:32 pm
Re: PayPal Mini Cart
The js file will be located to where ever you have saved you project to on your PC/laptop look for a file named minicart.js
Re: PayPal Mini Cart
BF, that is exactly my problem. I can't locate the file, I am even using windows search on the specific folder where the projects are saved,
but it can't be found. Maybe there is a hard coding of the minicart.js file within the extension?
Thanks
but it can't be found. Maybe there is a hard coding of the minicart.js file within the extension?
Thanks
- BaconFries
-
- Posts: 5325
- Joined: Thu Aug 16, 2007 7:32 pm
Re: PayPal Mini Cart
The file is generated by the extension and will be placed in the folder that you have saved the project to along with all other files that are required for the page that you have the extension on...I have just tested this and the minicart.js always get saved to the project folder i save to. Maybe you have set that all js files get place in a folder named js or something else ...i would do a full search of you PC looking for minicart.js and I am positive it will be found...please note that I am not the developer of this extension and I am only trying to provide you assitance with this if you are have any issues I would post again saying that the file is not getting generated and the builder will assit you.
Re: PayPal Mini Cart
BF, I know that you are not the developer to the specific extension, I was posting to you because
you just seem to have a wide knowledge on the project and you are willing to share, for which I thank you...
you just seem to have a wide knowledge on the project and you are willing to share, for which I thank you...
Re: PayPal Mini Cart
Is it just me or this extension does not work with 8.5.1. Where is the View Card Button? Also you choose the shopping cart to appear on the right (R) and it is on the left!!!!!
Running WYSIWYG Web Builder since 2007...
Re: PayPal Mini Cart
It seems to appear on the left when I have set it to the right for me as well.bendigo wrote:Is it just me or this extension does not work with 8.5.1. Where is the View Card Button? Also you choose the shopping cart to appear on the right (R) and it is on the left!!!!!
- BaconFries
-
- Posts: 5325
- Joined: Thu Aug 16, 2007 7:32 pm
Re: PayPal Mini Cart
In Kevins version of the extension he only gave the choice to select L or R which only places the dropdown to the right what ever you select....In the js there is a extra selection that he left out you also need to be able to select left of right not just L or R, this can be fixed by making the changes in the js file by yourself by opening it in a HTML Editor such as Notepad++ and make the change as follows
Code: Select all
// set defaults
MiniCart.displayEdge = (MiniCart.displayEdge === 'L') ? 'left' : 'left'; <<<< for positioning to the left
Code: Select all
// set defaults
MiniCart.displayEdge = (MiniCart.displayEdge === 'R') ? 'left' : 'right'; <<<< for positioning to the right
Re: PayPal Mini Cart
But wasn't this already fixed and integrated and in an earlier version? Why isn't the option showing now? See your screen shot in earlier post:BaconFries wrote:In Kevins version of the extension he only gave the choice to select L or R which only places the dropdown to the right what ever you select....In the js there is a extra selection that he left out you also need to be able to select left of right not just L or R, this can be fixed by making the changes in the js file by yourself by opening it in a HTML Editor such as Notepad++ and make the change as follows
Code: Select all
// set defaults MiniCart.displayEdge = (MiniCart.displayEdge === 'L') ? 'left' : 'left'; <<<< for positioning to the left
Code: Select all
// set defaults MiniCart.displayEdge = (MiniCart.displayEdge === 'R') ? 'left' : 'right'; <<<< for positioning to the right
viewtopic.php?p=235383#p235383
Re: PayPal Mini Cart
BF can't you take over this extension and apply your magic?
The view cart button is def gone!!!
The view cart button is def gone!!!
Running WYSIWYG Web Builder since 2007...
- BaconFries
-
- Posts: 5325
- Joined: Thu Aug 16, 2007 7:32 pm
Re: PayPal Mini Cart
@Patr100 Yes the version that I passed on to kevin allowed this without having to modify the code as I described. In Kevins version that you can download from the first thread this is required so you can position left or right.
@bendigo I wish I had the time to rebuild this extension, If I was it would be a total rebuild from the start and doing this takes times, but thanks for just saying put your "magic " to it ...
@bendigo I wish I had the time to rebuild this extension, If I was it would be a total rebuild from the start and doing this takes times, but thanks for just saying put your "magic " to it ...
Re: PayPal Mini Cart
Still confused. I'm pretty sure the previous later modified version I had enabled this option without any manual tweaks as I refer to to using it earlier in this thread. So still not clear why it suddenly seems not to be work and where is that modified version to download as seen in the earlier screen shot? Is it the link in the OP's first post or not?BaconFries wrote:@Patr100 Yes the version that I passed on to kevin allowed this without having to modify the code as I described. In Kevins version that you can download from the first thread this is required so you can position left or right.
- BaconFries
-
- Posts: 5325
- Joined: Thu Aug 16, 2007 7:32 pm
Re: PayPal Mini Cart
You can download the OP version from the url below, in this version you will need to modify the js file to allow you to position left or right, I have viewed all the pages in the thread but cannot find any reference to my build (download link). I will need to check if i still have a copy available, and If I have I will repost it, but I may not be able to offer support on this, as I really only made this to help Kevin out with some extra features that were asked for.If I have time I will rebuild the extension from scratch and the relaese it.
viewtopic.php?f=42&t=25316
viewtopic.php?f=42&t=25316
Re: PayPal Mini Cart
There seems to have been a link to your build to download here but it has been edited and removed since. That must have been where I got it from.BaconFries wrote:You can download the OP version from the url below, in this version you will need to modify the js file to allow you to position left or right, I have viewed all the pages in the thread but cannot find any reference to my build (download link). I will need to check if i still have a copy available, and If I have I will repost it, but I may not be able to offer support on this, as I really only made this to help Kevin out with some extra features that were asked for.If I have time I will rebuild the extension from scratch and the relaese it.
viewtopic.php?f=42&t=25316
viewtopic.php?p=134371#p134371
As mentioned by Benigo's experience and mine, there surely should be no reason why it isn't continuing to work in the latest WB version. Just weird why it's not suddenly working as expected assuming we have your original modifed version of the ext, which is no longer linked for download.
Ok appreciate you may not have time to support it much.
Re: PayPal Mini Cart
Kevin/BF what is the state of play with this extension?
Running WYSIWYG Web Builder since 2007...