Forum Replies Created
January 13, 2010 at 6:57 pm in reply to: Question about adding login status to Nav bar on page #17191
Please bear with me here since I am still pretty new at PHP.
In wordpress i have my header.php file and I would like to add this code in there somewhere to show something like “Login | Register” or if they are already logged in, “Logged in as USERNAME | Edit Profile | Logout”.
The code would be similar to this (with hyperlinks of course). Do I need to make sure my header.php file knows where the wp_eMember_install() function is located? ie, which file it is located in within the eMember plugin files?
$user_id = $auth->getUserInfo(‘member_id’);
// Display “Logged in as USERNAME | Edit Profile | Logout”
//Display “Login | Register”
}January 13, 2010 at 6:25 pm in reply to: Redirect to "page last viewed by user" after login #17200
More specifically, say a user was looking at “Page A” before they went to log in to the site. After they logged in, they would automatically be redirected back to whatever “Page A” was.January 12, 2010 at 1:49 am in reply to: Question about handling shipping costs with order through paypal #17153
From the customer’s perspective, when you sign into paypal after hitting “Checkout with paypal” on my webpage and see your current billing/shipping address, is there a way (in paypal) to turn on the option for calculating shipping based on zip code?
I have gone through paypals merchant services quite a bit and I just dont get the option for a buyer to enter their zip code and have paypal calculate the shipping and add it to the total of the merchandise before finishing the transaction.January 12, 2010 at 12:55 am in reply to: Question about handling shipping costs with order through paypal #17151
I am trying right now to configure my paypal profile (as the merchant) and am getting stuck. Are there any documents or other forum posts you could point me to where someone has done this? I didn’t see any.
ThanksJanuary 11, 2010 at 8:17 pm in reply to: Question about handling shipping costs with order through paypal #17149
I removed this line from the wp_shopping_cart.php file and I still don’t see the option in paypal for shipping based on zip code.
$form .= “<input type=”hidden” name=”shipping_1″ value='”.$postage_cost.”‘ />”;
My question now is, from the customer’s perspective, when you sign into paypal after hitting “Checkout with paypal” and see your current billing/shipping address, is there a way (in paypal) to turn on the option for calculating shipping based on zip code?
I tried a test transaction and the shipping didn’t get added to my paypal total. This is probably a paypal question at this point. Has anyone done this before?
ThanksJanuary 10, 2010 at 10:41 pm in reply to: Is there a way to always show the shopping cart on a page? #17145
Thankyou both so much for the advise. I got it to work as I wanted.
I ended up downloading Exec-PHP (http://wordpress.org/extend/plugins/exec-php/) to allow for PHP in my page below my products. I entered this php code to show the cart, empty or full.
<?php echo print_wp_shopping_cart(); ?>
My question has been answered.January 10, 2010 at 10:11 pm in reply to: Question about handling shipping costs with order through paypal #17147
Thanks for the help!
I am still having trouble though. Referring to #2 in http://www.tipsandtricks-hq.com/ecommerce/how-the-shipping-cost-calculation-works-in-wordpress-estore-50, when I goto Settings > WP Shopping Cart I don’t see the option shown in the image below for “Use Paypal Profile Based Shipping”. Am I looking in the wrong place to enable this option??January 10, 2010 at 7:33 pm in reply to: Is there a way to always show the shopping cart on a page? #17141
Thanks for the tip! I think I need to re clarify what I am trying to do.
On my “Merchandise” page I have some T-shirts shown. I want the “Shopping Cart” area shown at all times below the shirts. This means it is shown whether there is anything in it or not. Is there a way to do this without showing the cart in a sidebar widget?
As for the widget solution, I am still having some trouble.
I downloaded the PHP Widgetify Plugin and am able to add the widget to the sidebar. I get the following error shown in the sidebar widget when looking at the page,
Fatal error: Call to undefined function eStore_shopping_cart() in /Users/user_name/Sites/wordpress/wp-content/plugins/php-widgetify/execphp.php(26) : eval()’d code on line 1
The function “eStore_shopping_cart()” doesn’t seem to work. Is there another function the widget should be calling to show the cart?