Roy Ho
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] PayPal sandboxThat is not possible. If your account settings was indeed on sandbox, no real account can even get to the payment page on Paypal side.
Forum: Plugins
In reply to: [WooCommerce] Enable Add To Cart for specific products Not for all.Can you not just use the stock option on your products? The ones in stock enable it as in stock and vice versa?
Forum: Plugins
In reply to: [WooCommerce] Allow purchase of out of stock productsI don’t think it makes too much sense to have a product to be out of stock but yet allow purchases on it.
Forum: Plugins
In reply to: [WooCommerce] Hey guys I have a problem with woocomerce email notificationsIn your WC settings under emails tabs, you can turn off emails for new order and processing order and leave only “completed order” to on.
Forum: Plugins
In reply to: [WooCommerce] How do I remove Woo-commerce Navigation ?Put this in your theme’s functions.php file
remove_action( 'woocommerce_after_shop_loop', 'woocommerce_pagination', 10 );Forum: Plugins
In reply to: [WooCommerce] Add Text After PriceHmmm from what I know the page already shows a return to shop link when the cart is empty. Are you not seeing that?
Yes most likely it is your plugin that is causing this…You can see your pages throwing JS errors on load…
Forum: Plugins
In reply to: [WooCommerce] Code to output price?Also you might want to add a conditional check as I don’t think you want that to be outputed on every page…
if ( is_product() ) { // do your code here }This will make sure the page is on single product page…
Forum: Plugins
In reply to: [WooCommerce] Code to output price?If you’re doing it in the header, I am not sure if product has been globalized yet…
So the other thing you can do is use $post global and create a new product object like so:
global $post; $product = get_product( $post->ID ); echo $product->get_price();Forum: Plugins
In reply to: [WooCommerce] Code to output price?You need to globalize the variable on that page for you to access its methods.
global $product;Forum: Plugins
In reply to: [WooCommerce] Theme alignment with sidebarsYour 20px isn’t working because else where on your site has 210 set that is more specific than your 20.. meaning it comes after your 20px thus overriding your settings.
So you can put margin-left: 20px !important; margin-right:20px !important; to override that..
But this is a workaround. You should really look into what is setting that 210px…
Forum: Plugins
In reply to: [WooCommerce] Theme alignment with sidebarsTrust me it works. Just put this.
float:left,
margin-left:20px; // instead of your 210
margin-right:20px; // instead of your 210This will put your content box inbetween.
The reason why it didn’t work for you is you had 210 and your screen resolution is small…
Forum: Plugins
In reply to: [WooCommerce] Theme alignment with sidebarsAnd you have way too much margin on the contentbox…
Change them to 20px each.
Forum: Plugins
In reply to: [WooCommerce] Theme alignment with sidebarsWhat do you mean it doesn’t work… I just look at your site, now your content is between the sidebars…