Maribor
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Custom Payment RestrictionsNobody?
Okay, because my php knowledge is pretty much non-existant i’ve come up with few solutions and maybe someone will manage to put me on right track here with code.
I’ve browsed thru all php files located in woocommerce folder and played around with COD option for test. I’ve manage to accomplish only one thing, now when user check “Cash on Delivery” his order is autotmaticly cancelled in system and he also recives email with that information.
I’ve changed (In COD class)
$order->update_status(‘on-hold’, __( ‘Your order wont be shipped until the funds have cleared in our account.’, ‘woocommerce’ ));
to
$order->update_status(‘cancelled’, __( ‘Your order wont be shipped until the funds have cleared in our account.’, ‘woocommerce’ ));
But i still get redirect to ThankYouPage and order is still recived. For the worst part – beside displaying information about this delivery method being availabe only for returning customers i still need to proccess orders and New Customer can still choose “Cash on Deliver” as reliable option for his purchase. Information about canecelation is getting to him only after.
I’m still looking for any possible way to “blank out/grey out” this option in checkout page (without hidding it). Should I look in function process_payment? Deleting all that function get’s big error in woocommerce and everything is stopping to work.
I’m pretty much confused right know and this seems like not so much of a complicated problem but with my knowledge of php it takes a big amount of time and i’m struggling with non-obiedient customers ??
Please, some input?
Forum: Themes and Templates
In reply to: [Vantage] Problem on Navigation BarHello
I don’t want to create another topic and this one is somehow related to my problem. I’ve centered menu bar and masthead#header using text-align and changing it to blocks but now my dropdown menu is a little bit to the right which is kind of not what i expected.
You can see this on site mobiese.pl, check FAQ section it will unfold and it will be a little off to the right, how can i fix it? I’ve tried few css tricks but it only changes the size of box, not the positioning of menu.
any help will be appriciated.