Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to disable the message (as of Jul 31, 2023 21:51 GMT -03:00 – More info) #6

Open
regianesouzaatelie opened this issue Aug 15, 2023 · 8 comments

Comments

@regianesouzaatelie
Copy link

Description

Please, I need help with: https://ofertasdaregi.com.br/p/
Page of tests: https://loja.ofertasdaregi.com.br/ofertas/p/

I’m using the Amazon Auto Links and Auto Amazon Links – WooCommerce Products (Converts unit products to WooCommerce products. Versão 1.0.0 ) in my site. This is importing very well to units, but I have some questions about Amazon Links – WooCommerce Products.

  • There is the possibility to disable the message (as of Jul 31, 2023 21:51 GMT -03:00 – More info)?
    I will explain:

In my site I have posts by diverses stores of which I am affiliate: Amazon, Magazine Luiza, Dafiti, Zattini, Natura.. etc... (these from Brazil, and I type it manually on site).

The message (as of Jul 31, 2023 21:51 GMT -03:00 – More info) is hability only to productos Amazon imported from. So, in another products it's showing out of formating. See image please. I marked this of orange.
image3

For now, to resolve that I included a solucion on the arquive "functions.php", that atend the exigency of show date and hour on the post (it's marked of green). And it is enough to Brazil. (amazon.com.br)

So, if possible disable the message it would be better to my site situation.

Solution

If possible disable the message, it would be better to my site situation.

Images

No response

Please confirm that you have searched existing issues in this repository.

Yes

@michaeluno
Copy link
Owner

Does removing %disclaimer% from the Item Format unit option of the subject unit help? After removing it, you might need to reimport the unit to WooCommerce.

@regianesouzaatelie
Copy link
Author

Hi, thanks for return.

So, I had already tried that, but it didn't work. I repeated it once more now and took a print to show you.
image5

Removing %disclaimer% from the Item Format Unit option, the message has been removed in the unit view, but when I ability the Amazon Links – WooCommerce Products it keeps appearing as before.

@regianesouzaatelie
Copy link
Author

regianesouzaatelie commented Sep 2, 2023

Hi @michaeluno , I need your help, please!

Is there a way to disable disclaimer message on the functions.php of my theme?I already tried removing %disclaimer% from the Item Format unit option, but it wasn't work.

I already have this information on my site (on green).
woo-image2

So, the information of disclaimer is shown in twice. Also, in some products it’s showing out of formating. Especialy, on products I type manually. Please, is it possible “doesn’t show” this message, adding some code on the functions.php? Or of some another way? If yes, could you tell me what code can I use?

If you can help me, I am very thankfull…

michaeluno added a commit that referenced this issue Sep 22, 2023
- `aal/wcp/pricing_disclaimer_tooltip`
- `aal/wcp/pricing_disclaimer_text`
- `aal/wcp/pricing_disclaimer_notice`

Resolves #6
michaeluno added a commit that referenced this issue Sep 22, 2023
By following the naming convention of the main plugin which includes `filter` or `action` in the hook name.

Resolves #6
@michaeluno
Copy link
Owner

@regianesouzaatelie Try the development version and use the filter hook like the code below. Add this in your functions.php.

add_filter( 'aal/wcp/filter/pricing_disclaimer_tooltip', '__return_empty_string' );

@regianesouzaatelie
Copy link
Author

Hi @michaeluno , It worked perfectly here! Thank you so much!!

@11112121ad
Copy link

Hi, after I Add this in functions.php.

add_filter( 'aal/wcp/filter/pricing_disclaimer_tooltip', '__return_empty_string' );
The disclaimer of the Products converted from Amazon also removed.
I only need to remove (as of n/a - More info) from Non-Amazon products,Products converted from Amazon should retain this (as of n/a - More info)
how to do this
Thanks

@michaeluno
Copy link
Owner

@11112121ad Could you try the development version 1.1.0b05 which has been updated today and might fix your issue.

@11112121ad
Copy link

Hi, after I install development version 1.1.0b05, and activate it , the price of the Non-Amazon products are missing.
220240506194421
120240506194401

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants