[ABD] Paypal Shop V0.0.1

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
jak01.com
Registered User
Posts: 292
Joined: Sat Jun 16, 2007 1:54 pm
Contact:

Re: [BETA] Paypal Shop V0.0.1

Post by jak01.com » Thu Apr 30, 2009 11:50 am

Hello everyone again,
A big thank you to all who have replied to help each other out (sorry i have not been around on here :oops: ). The next version is now in development (thanks to a little more editing from electricoverride). Me and Rcnutterz will mod upon this to try and fit everyone's requirements/suggestions.

As again please reply to post comments, suggestions or questions :mrgreen:

Thank you
Jak01
[BETA] Paypal Shop V0.0.1 For PHPBB3
Project Page:Jak01.Com!
iPod Touch/iPhone Modding Forums: http://www.iMod4Fun.com

User avatar
Bruno36
Registered User
Posts: 287
Joined: Fri Mar 02, 2007 2:16 pm
Location: france
Name: bruno astie
Contact:

Re: [BETA] Paypal Shop V0.0.1

Post by Bruno36 » Fri May 08, 2009 9:31 am

Bonjour!

Can you display the number of items per category? :P

Image
Excuse me for my poor English, I speak french
Bruno36

User avatar
jak01.com
Registered User
Posts: 292
Joined: Sat Jun 16, 2007 1:54 pm
Contact:

Re: [BETA] Paypal Shop V0.0.1

Post by jak01.com » Fri May 08, 2009 5:57 pm

Hello,
Thanks for the suggestion we have noted it :)

Please keep posting any suggestions, comments and questions if you have any :)

Jak01
[BETA] Paypal Shop V0.0.1 For PHPBB3
Project Page:Jak01.Com!
iPod Touch/iPhone Modding Forums: http://www.iMod4Fun.com

User avatar
Bruno36
Registered User
Posts: 287
Joined: Fri Mar 02, 2007 2:16 pm
Location: france
Name: bruno astie
Contact:

Re: [BETA] Paypal Shop V0.0.1

Post by Bruno36 » Sat May 09, 2009 8:27 am

Excuse me for my poor English, I speak french
Bruno36

User avatar
Bruno36
Registered User
Posts: 287
Joined: Fri Mar 02, 2007 2:16 pm
Location: france
Name: bruno astie
Contact:

Re: [BETA] Paypal Shop V0.0.1

Post by Bruno36 » Tue May 12, 2009 9:54 am

:mrgreen:
Excuse me for my poor English, I speak french
Bruno36

User avatar
jak01.com
Registered User
Posts: 292
Joined: Sat Jun 16, 2007 1:54 pm
Contact:

Re: [BETA] Paypal Shop V0.0.1

Post by jak01.com » Wed May 13, 2009 9:12 pm

cool, nice edit. We will make sure we will put something like this into the next release ;)

Thanks
Jak01
[BETA] Paypal Shop V0.0.1 For PHPBB3
Project Page:Jak01.Com!
iPod Touch/iPhone Modding Forums: http://www.iMod4Fun.com

wolkenkrieger
Registered User
Posts: 26
Joined: Sun Jul 06, 2008 7:43 pm

Re: [BETA] Paypal Shop V0.0.1

Post by wolkenkrieger » Thu May 14, 2009 9:01 pm

My suggestions:

first of all: for german users it is absolutely neccessary to get a checkbox where the user has to accept the shipping terms! without this the owner of the shop is breaking the law!

The user has to accept the terms first - otherwise he cannot (must not!) buy an item!

second: in acp it would be nice, if i could sort the items by hand (no automated sorting)
third: if it possible ... it would be nice, if i could set the shipping fee direct to the item (your way to setting this globaly for the paypal account doesn't work for me :cry: )

User avatar
jak01.com
Registered User
Posts: 292
Joined: Sat Jun 16, 2007 1:54 pm
Contact:

Re: [BETA] Paypal Shop V0.0.1

Post by jak01.com » Fri May 15, 2009 7:12 pm

thank you very much for the information (and suggestions ;) ), i have removed the German version for now to prevent this i would also like all german paypal shop owners to remove theres for now (even though the shop mod is the shop owners responsibility).

Thank you
Jak01
[BETA] Paypal Shop V0.0.1 For PHPBB3
Project Page:Jak01.Com!
iPod Touch/iPhone Modding Forums: http://www.iMod4Fun.com

wolkenkrieger
Registered User
Posts: 26
Joined: Sun Jul 06, 2008 7:43 pm

Re: [BETA] Paypal Shop V0.0.1

Post by wolkenkrieger » Fri May 15, 2009 11:13 pm

Here is my "german" solution:

ppshopcats_body.html:

Code: Select all

<!-- INCLUDE overall_header.html -->
<div class="panel">
    <div class="inner"><span class="corners-top"><span></span></span>
        <dt style="color:#f00;font-weight:bold;">{L_PPSHOP_SHIPPING_HINT} <a href="{U_FMP_AGB}" target="_blank">{L_PPSHOP_FMP_AGB}</a><br /></dt>
        <dt><br />{L_PPSHOP_ACCEPT_TERMS} <input type="checkbox" onClick="ppshop_getchecked();" id="checkterms" name="checkterms"></dt>
        <dt style="color:#f00;font-weight:bold;"><br />{L_PPSHOP_SHIPPING_GERMANY}</dt>
        <br clear="all" />
        <dt><h4>{L_CATAGORY_SELECT_DESC}</h4></dt>
        <br clear="all" />
        <!--<dt><a href="ppshop.php" class="forumtitle">{L_CATAGORY_HOME}</a></dt>-->
        <!-- BEGIN catagory -->
        <dt><a href="ppshopcats.php?mode={catagory.CATAGORY}" class="forumtitle">{catagory.CATAGORY}</a></dt>
        <!-- END catagory -->
        <span class="corners-bottom"><span></span></span>
    </div>
</div>
<br clear="all" />

<!-- IF S_USER_LOGGED_IN -->
<div align="right"><form name="_xclick" target="paypal" action="https://www.paypal.com/cgi-bin/webscr"  method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="XX">
<input type="image" src="images/paypal/view_cart.png" border="0"  name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="display" value="1">
</form>
</div>
<!-- ENDIF -->

<br clear="all" />
<div class="forumbg forumbg-table">
    <div class="inner"><span class="corners-top"><span></span></span>
    <ul class="topiclist">
            <li class="header">
                <dl class="icon">
                    <dt class="shop_itemname">{L_ITEM_NAME}</dt>
                    <dd class="shop_image">{L_ITEM_IMAGE_CAT}</dd>
                    <dd class="shop_desc">{L_DESC}</dd>
                    <dd class="shop_price">{L_PRICE}</dd>
                    <dd class="shop_button">{L_QUANTITY}</dd>
                </dl>
            </li>
        </ul>
    <ul class="topiclist forums">
    <!-- BEGIN items -->
        <li class="row">
            <dl class="icon">
                <dt class="shop_itemname">{items.NAME}</dt>
                <dd class="shop_image"><a href="images/paypal/{items.IMAGEBIGURL}" rel="lytebox" class="image-resize"><img src="images/paypal/{items.IMAGE}"  align="top" border="0"></a></dd>
                <dd class="shop_desc">{items.ITEM_DESC}</dd>
                <dd class="shop_price">{items.PRICE}&nbsp;EUR</dd>
                <dd class="shop_button">
                    <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" name="shopbutton" style="visibility:hidden;">
                        <img alt="" src="shop_clothing_files/pixel.gif" border="0" height="1" width="1" />
                        <input name="quantity" value="1" type="text" size="2" maxlength="2" class="inputbox autowidth" >
                        <input name="add" value="1" type="hidden">
                        <input name="cmd" value="_cart" type="hidden">
                        <input name="business" value="XX" type="hidden">
                        <input name="item_name" value="{items.NAME}" type="hidden">
                        <input name="amount" value="{items.PRICE}" type="hidden">
                        <input name="no_shipping" value="2" type="hidden">
                        <input name="no_note" value="1" type="hidden">
                        <input name="currency_code" value="EUR" type="hidden">
                        <input name="tax" value="0.00" type="hidden">
                        <input name="lc" value="DE" type="hidden">
                        <input name="bn" value="PP-ShopCartBF" type="hidden">
                        <input type="image" src="images/paypal/add_cart_button.png" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
                    </form>
                </dd>
            </dl>
        </li>
        <!-- END items -->
    </ul>
    <span class="corners-bottom"><span></span></span>
</div>
</div>
<br clear="all" />
<!-- INCLUDE overall_footer.html -->
ppshop_terms.js (located in the root of phpbb)

Code: Select all

function ppshop_hide () {
    for (var i = 0; i < document.getElementsByName("shopbutton").length; i++) {
        document.getElementsByName("shopbutton")[i].style.visibility = "hidden";
    }
}

function ppshop_show () {
    for (var i = 0; i < document.getElementsByName("shopbutton").length; i++) {
        document.getElementsByName("shopbutton")[i].style.visibility = "visible";
    }
}

function ppshop_getchecked () {
    if (document.getElementById("checkterms").checked == true) {
        ppshop_show();    
    } else {
        ppshop_hide();
    }
}
Set this anywhere in the HEAD-section of the overall_header.html:

Code: Select all

<script type="text/javascript" src="ppshop_terms.js"></script>
This is a dirty workaraound for german users. This will display a link to the shipping conditions and terms an a checkbox, which the user has to check (Yes, i read the terms and accept them!) befor he can buy an item. The "add to cart" button is hide until the checkbox is checked.

In deutsch *gg*:

Das Fernabsatzgesetz sieht eindeutig vor, dass VOR dem Kauf eines Artikels die AGB und / oder Lieferbedingungen des Verkäufers bekannt gegeben und akzeptiert werden müssen. Fehlen diese Angaben und vor allem: fehlt der Haken "ja, ich habe gelesen, verstanden und akzeptiert", droht dem Shopbetreiber eine empfindliche Abmahnung!

In meinem "workaround" ist per default der "add to cart"-Button nicht sichtbar und wird erst sichtbar geschaltet, wenn der Käufer den "hab ich gelesen"-Haken setzt.

Die Lösung ist nicht sonderlich schön aber rechtlich erstmal auf der sicheren Seite.

Beispiel: http://www.bulldogboard.eu/ppshop.php

User avatar
jak01.com
Registered User
Posts: 292
Joined: Sat Jun 16, 2007 1:54 pm
Contact:

Re: [BETA] Paypal Shop V0.0.1

Post by jak01.com » Sun May 17, 2009 8:57 am

Thank you for the edit :)
I will re-release the German version tomorrow with this edit.

Jak01
[BETA] Paypal Shop V0.0.1 For PHPBB3
Project Page:Jak01.Com!
iPod Touch/iPhone Modding Forums: http://www.iMod4Fun.com

User avatar
Hippie459MN
Registered User
Posts: 918
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA
Contact:

Re: [BETA] Paypal Shop V0.0.1

Post by Hippie459MN » Wed May 20, 2009 9:23 pm

ok, I have some input on this wonderful mod that would be very useful and easier.

Make it so we only need one image and set the thumbnail size in the code so it will resize automatically. (Kind of like on my personal site - http://www.hippie459mn.com/pictures.html)

This is how I set my thumbnail size so I only need one image. This is HTML of course but you get the idea I hope.

Code: Select all

<a href="images/pictures/reno1.JPG" rel="lightbox[photos1]" title="Taking a little bit of relax time in the Semi."><img src="images/pictures/reno1.JPG" [color=#FF0000]width="100" height="75"[/color] border="0"></a>
Having to make 2 separate images gets to be a pain sometimes.

I will think of something more later as I am finally getting my shop up and going. :)

User avatar
jak01.com
Registered User
Posts: 292
Joined: Sat Jun 16, 2007 1:54 pm
Contact:

Re: [BETA] Paypal Shop V0.0.1

Post by jak01.com » Sat May 23, 2009 6:58 am

Thanks again for the edit, we will mod upon this again. Please keep suggestions, comments and possibly edits coming! :)

Jak01
[BETA] Paypal Shop V0.0.1 For PHPBB3
Project Page:Jak01.Com!
iPod Touch/iPhone Modding Forums: http://www.iMod4Fun.com

User avatar
jak01.com
Registered User
Posts: 292
Joined: Sat Jun 16, 2007 1:54 pm
Contact:

Re: [BETA] Paypal Shop V0.0.1

Post by jak01.com » Sat May 23, 2009 6:59 am

Thanks again for the edit, we will mod upon this again. Please keep suggestions, comments and possibly edits coming! :)

Jak01
[BETA] Paypal Shop V0.0.1 For PHPBB3
Project Page:Jak01.Com!
iPod Touch/iPhone Modding Forums: http://www.iMod4Fun.com

User avatar
jak01.com
Registered User
Posts: 292
Joined: Sat Jun 16, 2007 1:54 pm
Contact:

Re: [BETA] Paypal Shop V0.0.1

Post by jak01.com » Fri Jun 05, 2009 5:40 pm

hello again people,
Does anybody have any more comments/suggestions on this mod still (or even better a link to there shop ;) )

Thanks
Jak01
[BETA] Paypal Shop V0.0.1 For PHPBB3
Project Page:Jak01.Com!
iPod Touch/iPhone Modding Forums: http://www.iMod4Fun.com

giZZy-2
Registered User
Posts: 10
Joined: Thu Aug 07, 2008 10:32 pm
Contact:

Re: [BETA] Paypal Shop V0.0.1

Post by giZZy-2 » Sat Jun 13, 2009 10:08 pm

Ok I have a question. I did not see it asked (though I could have missed over it)

Lets say I want to sell something that is downloadable. Will this allow for an instant download for the buyer? Or will I need to manually send the purchaser a link for the download?

Locked

Return to “[3.0.x] Abandoned MODs”