underwd
Forum Replies Created
-
Hi again,
I did some more researching on the web and found the solution. I was using a custom template that must have pre-dated v. 3.8.1. When I updated the template the problem went away. Thank you.
When I created this post, 3.8.0; I have updated to 3.8.1 today.
Just as an FYI, since your solution you posted above about a year ago, it looks like perhaps Woocommerce is changing the way it stores the integer for refunded quantities.
I began noticing that, for example, if a customer bought 2 items and returned 1, the total quantity being shown on PDF invoices and packing slips using the filter above was 3, not 1, as expected.
If I change the line above to (changing sign of operand):
$item['quantity'] = $item['quantity'] + $refunded_qty;
then the math is correct.So maybe previously WC stored a refunded qty as +1 and now it’s stored as -1. Not sure.
Wow. That is incredible responsiveness. Thank you!
I’m having a similar problem – setting the popup div to middle center results in it being floated left. Could I send you a private link that we have set up for testing? There aren’t any CSS clashes that I can see, so I’m baffled. Thank you. Great plugin, though.
I had to wrap the get_user_option in a strtotime function for it to work properly, otherwise the following error was thrown:
PHP Warning: date() expects parameter 2 to be long, string given in …
So the following line worked for me on a LAMP stack (PHP 5.4.41):
$custom_merge = array( 'eot_date' => date('m/d/Y', strtotime(get_user_option('s2member_auto_eot_time', $vars['user_id']))) );
Forum: Plugins
In reply to: [Allow PHP in Posts and Pages] Error on activationDitto
Forum: Plugins
In reply to: [WooCommerce] Cart % Discount not calculating properlyAnyone? Woocommerce folks?
Forum: Plugins
In reply to: [WooCommerce] Cart % Discount not calculating properlyVark, no, taxes are not being used at all. Under settings-> tax, the ‘enable taxes’ box is unchecked.
Forum: Themes and Templates
In reply to: [Minamaze] Change slider text colorYou can use in-line CSS to control just about any aspect of the slider title. Just enter the code I included above in the field where you would otherwise place your text (like the slider title). You can make selected text bold by using a similar span declaration. So, this title would appear in red text, and the word “first” would be bold:
<span style="color: red;">This is my <span style="font-weight: bold;">first</span> slider title.</span>
Forum: Themes and Templates
In reply to: [Minamaze] Change slider text colorYou can use in-line CSS to style those elements. For example, to change the main title color to red, use:
<span style="color: red;">Your Slide Title</span>