cmsnext
Forum Replies Created
-
Hi,
It seems to be creating two rows.First Row shows
a:3:{i:0;s:4:"200";i:1;s:3:"300";i:2;s:3:"400";}and second row shows
200 x 300 x 400So basically what we need is get the row with the second row type content for each order_item_id and then split it to individual columns
Thanks for your prompt response & support. That works! Thanks
Ya here is what I did,
First I created 7 columns likecol_1 col_2 col_3 col_4 col_5 col_6 col_7Then I added your code
add_filter( 'woe_fetch_order_product_value_col_1', function($row, $order, $item, $product, $item_meta ){ $data =$item->get_meta("_custom_meta_3"); $getDataArray = explode(':', $data); print_r($getDataArray); (then I split each data I want) //parse $data and fill keys in $row print_r($data); print_r($row);die(); //for debug return $row; },10,5);But how do I then assign each data item which I have split using explode to individual columns?
Like data of Column 1 which is Text 1 Value should go to col_1 column and so on
Hi
I am able to add a new column and it works.Data does show but its the entire data in a column
Custom Column Row 1 Text 1: Text 1 Value Text 2: Text 2 Value Text 3: Text 3 Value Text 4: Text 4 Value Text 5: Text 5 Value Text 6: Text 6 Value Extra Info: Extra Info Value Row 2 Text 1: Text 1 Value Text 2: Text 2 Value Text 3: Text 3 Value Text 4: Text 4 Value Text 5: Text 5 Value Text 6: Text 6 Value Extra Info: Extra Info ValueIts not splitting the data into multiple columns like
Column 1 Text 1 Column 2 Text 2 Column 3 Text 3 Column 4 Text 4 Column 5 Text 5 Column 6 Text 6 Column 7 Extra Info Row Text 1 Value Text 2 Value Text 3 Value Text 4 Value Text 5 Value Text 6 Value Extra Info Value Row Text 1 Value <blank> Text 3 Value Text 4 Value <blank> Text 6 Value Extra Info Value <blank> Text 2 Value Text 3 Value Text 4 Value Text 5 Value <blank> <blank>Thanks
- This reply was modified 4 years, 2 months ago by cmsnext.
It is a cart item meta.
If I go to Product order items under that Order item fields: in the drop down I can see
_custom_meta_3Forum: Plugins
In reply to: [Advanced Order Export For WooCommerce] Split Meta FieldsThanks a lot!!! Works as required.
Forum: Plugins
In reply to: [WooCommerce] How to sort by meta value of attribute@rainfallnixfig Thanks. Yes, thats what I am suggesting. Sorting should be inbuilt option for WooCommerce. Even if via some function, there should be an easy to use sorting functionality which seems to be missing as I am not able to find anyone with any kind of code or help for this! I have checked at various locations without any luck.
Forum: Plugins
In reply to: [WooCommerce] How to sort by meta value of attribute@margaretwporg I think my question is related to a core functionality. We need to sort by meta value of a specific meta key. I think there should be some basic direction on how to achieve this as for my example and project it becomes really important to have the sorting function
I want to sort by color name + the color group for attributes pa_color.
Thank you
Forum: Plugins
In reply to: [WooCommerce] How to sort by meta value of attributeHi, No one has been able to help me out on this. Is there no known function or code to do this?
Forum: Plugins
In reply to: [Booking Addon for WooCommerce] Incorrect timespansIs the wordpress time zone same? May be thats the reason for wrong time display?
Forum: Plugins
In reply to: [Booking Addon for WooCommerce] Upgrade to Premium not workingResolved. Freemius support helped me out.
Forum: Plugins
In reply to: [Progressive WordPress (PWA)] HTTPSYou can kindly see site url and home url in WordPress settings have https:// for the site URL. Also search how to redirect http to https for the site
I tried with http and with https – when I type https and the site loads – at the bottom of the mobile device as we begin scrolling – I can see add to home screen.
Forum: Plugins
In reply to: [Progressive WordPress (PWA)] HTTPS@herbomezg – I checked the site. Looks ok and PWA works fine.
Only issue I find while checking isDoes not redirect HTTP traffic to HTTPSSo if you type in http instead of https in your site URL then the page is not redirected. Hence if you do not have that what happens is that if you type just http and try to view site the pwa wont work as the URL will be http and not https. See to it that entire site is forced to load only in https and PWA should work without any issue.
To test you can try typing https your site url and without it and see which one loads the PWA.
Forum: Plugins
In reply to: [Progressive WordPress (PWA)] Disabling Progressive WordPress (PWA)@clu55ter I dont think PWA would be causing this issue. If you want to test – you can manually remove the plugin by going to plugin folder and checking. I think its some other plugin which may be causing the redirects issue.
@individualmatters I find 2 issues
1. a URL for image is showing as localhost
https://localhost/individual/wp-content/uploads/2020/05/banner_contact1-ca.jpg?id=132432. You seem to be having 2 favicon files – one being generated from WordPress core and one from
All in one Favicon 4.7Disable the
All in one Favicon 4.7and see that you add the favicon only via Appearance > Customize > General Settings > Site Identity > SITE ICONSave and then resave settings of Progressive WordPress.
Hopefully issue should be resolved.