[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
rcnutterz
Registered User
Posts: 97
Joined: Thu Apr 03, 2008 8:16 pm

Re: [BETA] Paypal Shop V0.0.1 *BETA RELEASED*

Post by rcnutterz » Sun Mar 29, 2009 1:02 am

Hippie459MN wrote:I think I found an error on the install instructions.

Open viewonline.php
find

Code: Select all

case 'download':
should be

Code: Select all

case 'download/file':
I think this might be the differences between the versions of phpBB 3.0.1 etc
i will make a note of this in my first post and use that post to put any points to note


That is all I could find in my viewonline.php and im sure its not from another mod. Maybe it is.

Also, How would I go about changing this to USD and for paypal US and not GBP (uk)? I figure out the changing the GBP to USD in the language/en/mods/ppshop.php but I want to fix the actual paypal links to go to paypal US and not PayPal UK.

try this:
open - templates/ppshopcats_body.html
find:

Code: Select all

<input name="currency_code" value="GBP" type="hidden">
<input name="tax" value="0.00" type="hidden">
<input name="lc" value="GB" type="hidden">
replace with:

Code: Select all

<input name="currency_code" value="USD" type="hidden">
<input name="tax" value="0.00" type="hidden">
<input name="lc" value="US" type="hidden">
[/b]

Also, take a look at the shop when you click on a category, It messes up my side bar way bad. How can I fix this?? Go to http://www.hydrostreamforums.com and scroll down and click the HS Forums Shop link on the left.

this is caused by the items table within the ppshopcats_body.html file for the item views i believe. causing the sidebat to me pushed down beneath.
which sidebar mod is it that you have used? i will have a look and see what solution i can dig up


Otherwise so far an awsome mod. I did have to fix the DB name in root/ppshocats.php as my DB does not have the phpbb_ suffix.

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

Re: [BETA] Paypal Shop V0.0.1 *BETA RELEASED*

Post by Hippie459MN » Sun Mar 29, 2009 1:21 am

rcnutterz wrote:
Hippie459MN wrote:I think I found an error on the install instructions.

Open viewonline.php
find

Code: Select all

case 'download':
should be

Code: Select all

case 'download/file':
I think this might be the differences between the versions of phpBB 3.0.1 etc
i will make a note of this in my first post and use that post to put any points to note


That is all I could find in my viewonline.php and im sure its not from another mod. Maybe it is.

Also, How would I go about changing this to USD and for paypal US and not GBP (uk)? I figure out the changing the GBP to USD in the language/en/mods/ppshop.php but I want to fix the actual paypal links to go to paypal US and not PayPal UK.

try this:
open - templates/ppshopcats_body.html
find:

Code: Select all

<input name="currency_code" value="GBP" type="hidden">
<input name="tax" value="0.00" type="hidden">
<input name="lc" value="GB" type="hidden">
replace with:

Code: Select all

<input name="currency_code" value="USD" type="hidden">
<input name="tax" value="0.00" type="hidden">
<input name="lc" value="US" type="hidden">
[/b]

Also, take a look at the shop when you click on a category, It messes up my side bar way bad. How can I fix this?? Go to http://www.hydrostreamforums.com and scroll down and click the HS Forums Shop link on the left.

this is caused by the items table within the ppshopcats_body.html file for the item views i believe. causing the sidebat to me pushed down beneath.
which sidebar mod is it that you have used? i will have a look and see what solution i can dig up


Otherwise so far an awsome mod. I did have to fix the DB name in root/ppshocats.php as my DB does not have the phpbb_ suffix.
That fixed the USD thing I think. :D I haven't actually tried to fully purchase something but it does now show USD in paypal shopping cart. Thank you.

As for the side bar, Its part of this theme here - http://www.shadowflames.com/development ... f=65&t=129

I will try and see if its part of a separate side bar mods maybe but I'm not fully sure. Would be awsome if I could get that fixed. Other than that, Awsome mod guys!

rcnutterz
Registered User
Posts: 97
Joined: Thu Apr 03, 2008 8:16 pm

Re: [BETA] Paypal Shop V0.0.1 *BETA RELEASED*

Post by rcnutterz » Sun Mar 29, 2009 7:55 am

Hippie459MN wrote:That fixed the USD thing I think. :D I haven't actually tried to fully purchase something but it does now show USD in paypal shopping cart. Thank you.

As for the side bar, Its part of this theme here - http://www.shadowflames.com/development ... f=65&t=129

I will try and see if its part of a separate side bar mods maybe but I'm not fully sure. Would be awsome if I could get that fixed. Other than that, Awsome mod guys!
i will have a look at that later today and see if i can supply a solution for you. :D

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

Re: [BETA] Paypal Shop V0.0.1 *BETA RELEASED*

Post by Hippie459MN » Sun Mar 29, 2009 10:48 am

rcnutterz wrote:i will have a look at that later today and see if i can supply a solution for you. :D
That would be wonderful! :D Thnak you. I am ok when it comes to working with php and stuff but I have no clue on this one. lol

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

Re: [BETA] Paypal Shop V0.0.1 *BETA RELEASED*

Post by wolkenkrieger » Sun Mar 29, 2009 11:50 am

Does anybody know how to add a global shipping fee to the cart?

rcnutterz
Registered User
Posts: 97
Joined: Thu Apr 03, 2008 8:16 pm

Re: [BETA] Paypal Shop V0.0.1 *BETA RELEASED*

Post by rcnutterz » Sun Mar 29, 2009 12:38 pm

wolkenkrieger wrote:Does anybody know how to add a global shipping fee to the cart?
This is set within your paypal account. it can be set via the button but this is normally only done for individual transactions.

"Automatic Calculation of Shipping and Handling Cost and Tax
You can set up your PayPal account to automatically calculate and charge shipping and sales
tax (also called value added tax or VAT).
You can set up your PayPal account to automatically calculate and charge shipping.
To view or modify your sales tax and shipping charges:
1. Log in to your PayPal account at https://www.paypal.com.
2. Click the Profile subtab of the My Account tab.
3. In the Selling Preferences column, click Sales Tax or Shipping Calculation.
Sales or Value Added Tax Collection
You can charge your customers tax by choosing a country or state from the Country and U.S.
State drop-down menus, and entering your tax rate for that state. All customers who reside in
the country or state you select are automatically charged the tax rate you choose. You can
specify a different tax rate for each U.S. state and any of the listed countries.
IMPORTANT: If you are entering the rate for a U.S. state, ensure that the Country dropdown
menu is set to United States.
With the radio buttons, you can apply tax either to the item itself or to an item and any
shipping and handling costs.
Click Save to save your changes.
Overriding Tax Setting on Individual Transactions
Regardless of a customer’s location, you can set a flat tax amount on an individual transaction
or items in the transaction. For more information, see “Setting the Tax for the Entire Cart” on
page 78.
Shipping Calculation
Determine if you want to charge shipping as a flat amount or a percentage of the total purchase
amount.
Flat Amount. A flat amount is based on the subtotal of a purchase. Choose the Flat Amount
radio button (indicated by $), and enter a flat amount for each currency amount increment.
Click Save to save your changes.
EXAMPLE 2.1 Flat Amount Shipping Calculation
Assume your flat amount settings are as follows:
$0.00 through $49.99 = $3.00
$50.00+ = $6.00
If the subtotal is $36.50, your customer is charged $3.00 for shipping, and the total purchase
$39.50.
If the subtotal is $66.50, your customer is charged $6.00 for shipping, and the total purchase
$72.50.
Percentage. A percentage is based on the subtotal of a purchase. Choose the Percentage
radio button (indicated by %), and enter a percentage for each currency amount increment.
Click Save to save your changes.
EXAMPLE 2.2 Percentage Shipping Calculation
Assume your percentage settings are as follows:
$0.00 through $49.99 = 5%
$50.00+ = 4%
If the subtotal is $36.50, your customer is charged 5% x $36.50 = $1.83 for shipping, and the
total purchase $38.33.
If the subtotal is $66.50, your customer is charged 4% x $66.50 = $2.66 for shipping, and the
total purchase $69.16."

hope this helps :D

rcnutterz
Registered User
Posts: 97
Joined: Thu Apr 03, 2008 8:16 pm

Re: [BETA] Paypal Shop V0.0.1 *BETA RELEASED*

Post by rcnutterz » Sun Mar 29, 2009 5:25 pm

Hippie459MN wrote:
rcnutterz wrote:i will have a look at that later today and see if i can supply a solution for you. :D
That would be wonderful! :D Thnak you. I am ok when it comes to working with php and stuff but I have no clue on this one. lol
still working on it for you. (also asked on style makers thread as well in case they come back with the problem before i get to figure it out :D )

dnb
Registered User
Posts: 221
Joined: Fri Sep 07, 2007 9:19 am
Contact:

Re: [BETA] Paypal Shop V0.0.1 *BETA RELEASED*

Post by dnb » Sun Mar 29, 2009 10:04 pm

Can you choose which groups to display the shop to ?

rcnutterz
Registered User
Posts: 97
Joined: Thu Apr 03, 2008 8:16 pm

Re: [BETA] Paypal Shop V0.0.1 *BETA RELEASED*

Post by rcnutterz » Mon Mar 30, 2009 1:40 am

dnb wrote:Can you choose which groups to display the shop to ?
at the moment there is no permissions system in place other than you have to be registered and logged in to purchase (otherwise the buy buttons dont display).
i will look at adding a pemissions system to the roadmap :)

istrier
Registered User
Posts: 12
Joined: Sat Aug 30, 2008 3:34 pm
Location: Germany / Hessen
Contact:

Re: [BETA] Paypal Shop V0.0.1 *BETA RELEASED*

Post by istrier » Mon Mar 30, 2009 2:57 pm

Hello,
i´ve installed the Shop MOD but now i can´t go to the ACP - System Tab, I see only a blank page after pressing the system-tab

and this code_line doesn´t exist in Styles/Templates/Subsilver2/overall_Header.html

Code: Select all

<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
all other changes are made, no errors


have you any solution for this problem?


Thanks ad many greets

Istrier

rcnutterz
Registered User
Posts: 97
Joined: Thu Apr 03, 2008 8:16 pm

Re: [BETA] Paypal Shop V0.0.1 *BETA RELEASED*

Post by rcnutterz » Mon Mar 30, 2009 4:37 pm

istrier wrote:Hello,
i´ve installed the Shop MOD but now i can´t go to the ACP - System Tab, I see only a blank page after pressing the system-tab

and this code_line doesn´t exist in Styles/Templates/Subsilver2/overall_Header.html

Code: Select all

<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
all other changes are made, no errors


have you any solution for this problem?


Thanks ad many greets

Istrier
Hello istrier,
with regards to your overall_header.html issue..........
Find:

Code: Select all

				<a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a>
then place the edit code in after that. :D

with regards to your ACP - system tab issue............
are you trying this mod on a localhost or live environment?
have you edited any other files other than mentioned?

a few troubleshooting steps to try (each MUST be done even if you think it doesnt need doing):
1) refresh your browser cache.
2) press the 'Purge the cache' button on the ACP main page.
3) what is the permissions set at for your cache folder on your server? (another member had this problem) needs to be writable to.

let me know if you still experience problems and if possible paste your boards URL or PM it to me.
regards, rcnutterz

dnb
Registered User
Posts: 221
Joined: Fri Sep 07, 2007 9:19 am
Contact:

Re: [BETA] Paypal Shop V0.0.1 *BETA RELEASED*

Post by dnb » Mon Mar 30, 2009 9:28 pm

rcnutterz wrote:
dnb wrote:Can you choose which groups to display the shop to ?
at the moment there is no permissions system in place other than you have to be registered and logged in to purchase (otherwise the buy buttons dont display).
i will look at adding a pemissions system to the roadmap :)
Thanks alot cnutterz, Having the option to display to specific groups would be great.

Love the work you've done so far to the mod btw :)

rcnutterz
Registered User
Posts: 97
Joined: Thu Apr 03, 2008 8:16 pm

Re: [BETA] Paypal Shop V0.0.1 *BETA RELEASED*

Post by rcnutterz » Mon Mar 30, 2009 10:30 pm

rcnutterz wrote:
Hippie459MN wrote:
rcnutterz wrote:i will have a look at that later today and see if i can supply a solution for you. :D
That would be wonderful! :D Thnak you. I am ok when it comes to working with php and stuff but I have no clue on this one. lol
still working on it for you. (also asked on style makers thread as well in case they come back with the problem before i get to figure it out :D )
Figured it out :D
open styles/YOURSTYLE/template/ppshopcats_body.html

find:

Code: Select all

<!-- ENDIF -->

</div>
</div>

<br clear="all" />
<br clear="all" />
replace with:

Code: Select all

<!-- ENDIF -->

<br clear="all" />
<br clear="all" />
i had a couple of </div> endings that were causing the problem.

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

Re: [BETA] Paypal Shop V0.0.1 *BETA RELEASED*

Post by Hippie459MN » Tue Mar 31, 2009 12:39 am

rcnutterz wrote:Figured it out :D
open styles/YOURSTYLE/template/ppshopcats_body.html

find:

Code: Select all

<!-- ENDIF -->

</div>
</div>

<br clear="all" />
<br clear="all" />
replace with:

Code: Select all

<!-- ENDIF -->

<br clear="all" />
<br clear="all" />
i had a couple of </div> endings that were causing the problem.
That fixed it! Now this mod is truly awsome! Thanks. :D I don't know why I didn't even see that.

CocoVFR
Registered User
Posts: 58
Joined: Fri Feb 01, 2008 12:56 pm

Re: [BETA] Paypal Shop V0.0.1 *BETA RELEASED*

Post by CocoVFR » Tue Mar 31, 2009 7:22 am

Hi everyone.
It work fine :D on my board.
Can i suggest some evolution for future release ?
- Add a right management system
- Add a Categorie module to create categorie to assign to an item
- Make a dropdown list in category section instead of the actual link list
- backup in database, all sell operations make in the shop, with user nickname (to make some control on shipping)

Great job guys. ;) ;)

Locked

Return to “[3.0.x] Abandoned MODs”