PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Question

This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see blue-green button on the right side) and press Save button.
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
12

Hello: I purchased the compare plugin, and for some reason your tutorial says go to Settings, I am assuming it's go to "Options", because in Settings under General I don't see anything. So I go to Options, and after buying the plugin, I don't see any new settings.  I want users to be able to close a post column, the close button is not showing on top, isn't that what the plugin was for?

I have the following shortcode, am I missing something?

[tableon_compare ids='1,91' table_view='separated' show_print_btn='1']

Hello

Paste your license key here - https://share.stackovergo.com/image/i20210618130558.png -> https://share.stackovergo.com/image/i20210618130614.png

Drop  me  exact link to the  issue

@pavlo_borysenco

Confirmed, please answer

@george-7

Please  drop  me  exact  link  to  the  issue

 

 

I purchased the Compare tool. It has a garbage can icon next to the Fields row named: tableon_compare_remove_btn and it closes a column you don't want to compare. I followed your instructions, but somehow I can't get the icon to show. Below I am including a screenshot of my website and your website, you can see the icon is not there on mine.

 

Capture

 

Hello

OK!  But for some reason you removed the ability to delete columns - https://share.stackovergo.com/image/i20210803102839.png  - you have fixedly added products to the comparison and of course it cannot be deleted(the button on the frontend cannot delete data in the content)

So  use  this  shortcode: [tableon_compare  table_view='separated' show_print_btn='1']

to add posts to the comparison list - https://share.stackovergo.com/image/i20210803103526.png

Once I remove the ID for the posts I want users to compare, it shows a message: "No posts added to compare!".

Nothing shows once I remove the IDs, any thoughts? Thanks.

 

Hello

Ok!  Please  read  this - https://c2n.me/4cTXP4a.png

 I want users to be able to close a post column, the close button is not showing on top, isn't that what the plugin was for? - Correct! And the user should be able to add posts to this list

My  short video -  https://c2n.me/4cTYBJn  - AND - https://c2n.me/4cTYGIF

Hello Pablo:

Your first video says 404 error. But the second video, I am not sure what are you trying to say. I already added "Compare" to the columns, but the shortcode without the IDs does not work on my side. What is the issue?

On your demo site is use to show two posts with the two garbage icons on top, now the demo does not show any posts like what's going on to me, so I think something on your side is not working.  Here I am including what your demo looks like now:

Capture2

Thanks. George

Hello again. So I added the following short code:

[tableon id=1]
[tableon_compare table_view='separated' show_print_btn='1']

and now I get a Compare feature and you have to click on it to view a popup, I wanted it to show the preselected posts to compare. I want to says compare IDs 1, 92, etc. so users do not have to see a popup, they can start closing the columns they do not like.

Basically on the bottom, it says "No posts added to compare!" unless you choose the posts to compare on top, but something doesn't seem right, your demo showed preselected IDs to compare.

 

Capture3

 

Hello

so I think something on your side is not working.   - It looks like you misunderstood how it works. As I wrote above, For something to appear in the comparison list, the user must choose what he wants to compare - https://c2n.me/4cTYBJn.mp4  And for each user, this list will be different.

if you want some posts to be added by default (for all users). You need code customization.

In  file - \wp-content\plugins\woot-compare\index.php - chage  code - https://share.stackovergo.com/image/i20210805104301.png

You're awesome. That did it. Sorry I confused the functionality, but I am glad that with the custom code it's exactly what I needed. Thank once again.

Hello

Great!  Welcome;)

Hello again: In the table compare, I can't seem to be able to add custom columns. I have a post type which is showing, I created custom fields for those post types using the WCK plugin, the I added the Meta Tag fields, then they were showing in columns, so I was able to choose the columns. If I use the regular [tableon id='1'] it works, it shows the correct columns and the new custom columns, but using this: [tableon_compare table_view='separated' show_print_btn='1' post_type='perros'] shows me only the default columns, Title, Thumbnail, Content, Excerpt and Gallery.

I noticed that if I use [tableon id='1'] and select the posts I want to compare, the popup shows the default columns, not the custom columns. Looks like the final compare uses the defaults? I am not sure if I am doing anything wrong.

A separate question, isn't this code supposed to have the ID of the table? [tableon_compare table_view='separated' show_print_btn='1' post_type='perros']  how does it know which table to take the changes from? What if I had more?

Thanks,

George

Hello George

To  set columns - https://c2n.me/4cZ832W.png

Read  this please - https://posts-table.com/shortcode/tableon_compare/

A separate question: 

This table shows the posts that the user has selected for comparison. And you can have many such tables, but they will still show the posts for comparison that the user has selected.

Hello Pablo:

In Compare columns, I do not have as an option to select the fields I added for the post. It shows Title, Thumbnail, Content, Excerpt, Gallery, and a few other defaults, but not my custom fields.

 

Screenshot-2021-08-12-161848

Hello

My test  - https://c2n.me/4cZUZwl

Hello:

That worked, but how do I show the post meta in that field instead of Hello World? I tried a few tutorials online to add it, but none worked. Thanks for the help.

add_action('tableon_profile_extend', function($profile, $action_name) {
if ($action_name === 'tableon_default_tables') {
$profile['Cariñosx con la familia'] = [
'title' => TABLEON_Vocabulary::get('Cariñosx con la familia'),
'options' => ['css-background', 'css-media-hide'],
'order' => FALSE,
'action' => function($post_id) {
return 'Hello World';
}

];
}
return $profile;
}, 10, 2);

 

Hello

Read  this - https://developer.wordpress.org/reference/functions/get_post_meta/

Try  to  use

echo get_post_meta($post_id, 'your_post_meta_key');

That didn't work. I also tried by adding the_title()

to see if that would pull anything, it doesn't. Maybe the code you sent, I wrote it wrong?

add_action('tableon_profile_extend', function($profile, $action_name) {
if ($action_name === 'tableon_default_tables') {
$profile['Cariñosx con la familia'] = [
'title' => TABLEON_Vocabulary::get('Cariñosx con la familia'),
'options' => ['css-background', 'css-media-hide'],
'order' => FALSE,
'action' => function($post_id) {
return 'Hello World';
}

];
}
return $profile;
}, 10, 2);

 

12