Forum Replies Created
-
AuthorPosts
-
amin007Participant
Moving to the WP eStore’s Forum section
amin007Participant@JetAviator7, You posted it on the Simple Shopping Cart’s forum section so I assumed you are using that plugin… sorry. It doesn’t do weight based shipping.. I can add it though. Please explain the requirements a little bit so I can see how to implement it.
amin007ParticipantPlease post a link to the site so I can have a look but the symptoms indicate that your PHP session isn’t working on your site. Your hosting provider should be able to fix this for you.
November 13, 2009 at 5:29 am in reply to: After checkout is clicked, it redirects to paypal with an empty cart #15962amin007ParticipantPHP session on your site isn’t working. Please contact your hosting provider and ask them to fix it and the shopping cart will work fine.
amin007ParticipantIf you want site wide password protection so visitors see a login prompt as soon as they enter the URL of your site in the browser then you will have to do it through the “.htaccess” file. There is a WordPress plugin for this:
http://wordpress.org/extend/plugins/askapache-password-protect/
Or you can do it manually by creating a .htpasswd file and attaching it to your .htaccess file. Here is a step by step tutorial for it:
http://www.elated.com/articles/password-protecting-your-pages-with-htaccess/
amin007ParticipantYou can change the “wordpress@mydomain.com” from your WordPress settings.
amin007Participant@JetAviator7, The simple shopping cart doesn’t have weight based shipping option. You can use PayPal’s profile based shipping which allows you to achieve this.
If you want to use PayPal’s profile based shipping then you just have to do a small tweak in the cart. Find the following line in the “wp_shopping_cart.php” file and remove it:
$form .= "<input type="hidden" name="shipping_1" value='".$postage_cost."' />";
amin007ParticipantGlad to hear you got it sorted… usually it’s just a matter of requesting your web host and they do it for you (it’s not really something very complicated for them to do)
November 12, 2009 at 2:09 am in reply to: how to hide shopping cart widget altogether when empty? #15947amin007ParticipantUpdate: The post has an easier method of only showing the cart when there are items in it:
https://support.tipsandtricks-hq.com/forums/topic/estore-want-to-hide-empty-cart-widget
Find the following bit of code in “wp_eStore1.php” file (this is what displays the widget):
function show_wp_digi_cart_widget($args)
{
extract($args);
$cart_title = get_option('wp_eStore_widget_title');
if (empty($cart_title)) $cart_title = 'Shopping Cart';
echo $before_widget;
echo $before_title . $cart_title . $after_title;
echo print_wp_digi_cart();
echo $after_widget;
}Now add the following at the start of the function (before the line with the “extract” statement) so it doesn’t display the widget if there are no items in the shopping cart:
if (!digi_cart_not_empty())
{
return;
}amin007ParticipantYou have to specify the currency code and symbol in the settings menu of the plugin (by default it’s set to use USD).
amin007Participant@Janus, you can create an one time use coupon and specify how much discount this coupon should give and that coupon code can be your gift card.
Also, we have the following extention:
https://www.tipsandtricks-hq.com/ecommerce/wp-estore-gift-voucher-addon-1687
amin007Participant@biea, The eStore already gives you the ability to do manual checkout alongside PayPal. all you have to do is enable it from the settings menu (Payment Gateway Settings tab).
When a customer submits the order form using manual checkout you will get an email with the order and customer details. Now you can contact the customer to take care of the money transfer and once done email him the link (create it from the “Admin Functions” menu)
amin007ParticipantAdding a “Terms & Conditions” checkbox is not very hard (I am going to add it soon anyway). A checkbox for opt-in can be a little bit critical as you may want to save this in the database which means changing the database table structure.
amin007ParticipantSearch for “Shopping Cart is Empty” in the “estore_cart.php” file then remove it if you don’t want it.
Leave the “Products Page” field in the settings menu empty and it won’t show the “Visit the shop” link.
amin007ParticipantYep, something like this should definitely work.. do a test like the following:
<?php
if (get_post_meta($post->ID, 'productOne', true))
{
//first check to make sure you are getting the product id of the product
$product_id = get_post_meta($post->ID, 'productOne', true);
echo $product_id;
//then pass the product id to the function
echo get_button_code_for_product($product_id); ?>
}
?>This way you will be able to see which part isn’t working
Another related post:
https://support.tipsandtricks-hq.com/forums/topic/custom-fields-within-php-shortcodes
-
AuthorPosts