Forum Replies Created
-
AuthorPosts
-
Hi ISmael,
well the PDF-Button is shown via Widgets in sidebar. But still it only prints a short text from the discription at the buttom of the page.
This is what i wrote into PHP Function Snippet:
function ava_product_pdf_print_button() {
echo do_shortcode(‘[bws_pdfprint display=”pdf”]’);
}
add_action( ‘woocommerce_before_single_product_summary’, ‘ava_product_pdf_print_button’, 15 );IS that correct?
Thanks
Michael FHi Ismael,
okay i’ll try: https://img.savvyify.com/image/PDF-drucken.9xhmj
and this is what i put into child theme and funkctions.php:
function ava_product_pdf_print_button() {
echo do_shortcode(‘[bws_pdfprint display=”pdf”]’);
}
add_action( ‘woocommerce_before_single_product_summary’, ‘ava_product_pdf_print_button’, 15 );As there was no result i used snippets and placed the same code. Still no result.
Any other idea?
Best regards
Michael F.Hi Ismael!
Thanks for your feedback!
The Button should be placed like shown here
And it should be so that the function can be added to different, but not all pages.
Thanks
Michael F KrausPS What does the “Hot-Link” mean?
- This reply was modified 3 weeks, 3 days ago by werbeagenturlauf.
- This reply was modified 3 weeks, 2 days ago by werbeagenturlauf.
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.sorry Rikard. We call it „Freudscher Versprecher“. Should be testuser
please close the ticket
Thanks Rikard
Problem seem to be solved. see private content.
Hi Ismael!
thanks for your Feedback.
The builder is not locked.
Best regards MichaelHey danke für das schnelle Feedback. Ihr seid ein zuverlässiger Dienstleister und es macht immer wieder Freude mit euch zusammen zu arbeiten!
Grüße aus Lauf
Michael F KrausThis reply has been marked as private.Thanks Rikard!
I’ll come back to you. have a nice start into the weekend!Best regards Michael F
April 29, 2024 at 12:44 pm in reply to: Produktbild wird in neuer Seite geladen statt auf Seite zu bleiben #1441298Hi Rikard!
I am back from hospital and now ready to work again.
I also spoke to plugin-republic.com, because i found out, that the problem also has to do with their “Min Max Quantity and Order plugin”. At least it is one problem that is solved. But the asked me to talk to you, because when their plugin is enabled, the following error is generated on the console and they think it has to do with the theme???:;var aviaJS=aviaJS||{};(function(){‘use strict’;if(!aviaJS.aviaJSHelpers){class aviaJSHelpers{constructor(){this.wpHooks()};debounce(callback,wait,immediate){var i;return function(){var e=this,s=arguments,t=function(){i=null;if(!immediate){callback.apply(e,s)}},l=immediate&&!i;clearTimeout(i);i=setTimeout(t,wait);if(l){callback.apply(e,s)}}};wpHooks(){if(window[‘wp’]&&wp.hooks){return};if(!window[‘wp’]){window[‘wp’]={hooks:{}}};let obj=window[‘wp’].hooks;obj.applyFilters=this.wpHooks_applyFilters;obj.doAction=this.wpHooks_applyFilters;obj.hasFilter=this.wpHooks_hasFilters;obj.hasAction=this.wpHooks_hasFilters};wpHooks_applyFilters(handle,value){return value};wpHooks_hasFilters(handle,namespace){return!1}};aviaJS.aviaJSHelpers=new aviaJSHelpers()};if(!aviaJS.aviaPlugins){class aviaPlugins{plugins=[];defaultPlugin={classFactory:null,selector:”};constructor(){this.plugins=[]};register(classFactory,selector){if(‘function’!=typeof classFactory){return!1};let newPlugin=Object.assign({},this.defaultPlugin);if(‘string’!=typeof selector){selector=’body’};newPlugin.classFactory=classFactory;newPlugin.selector=selector;this.plugins.push(newPlugin);this.check_bind()};check_bind(){if(document.readyState===’complete’){this.bind_plugins()}
else{document.addEventListener(‘readystatechange’,this.bind_plugins.bind(this))}};bind_plugins(e){if(document.readyState!==’complete’){return};let plugins=this.plugins;this.plugins=[];for(let plugin of plugins){let elements=document.querySelectorAll(plugin.selector);for(let element of elements){plugin.classFactory(element)}}}};aviaJS.aviaPlugins=new aviaPlugins()}})();April 24, 2024 at 7:25 am in reply to: Produktbild wird in neuer Seite geladen statt auf Seite zu bleiben #1440648April 23, 2024 at 4:43 pm in reply to: Produktbild wird in neuer Seite geladen statt auf Seite zu bleiben #1440615April 23, 2024 at 1:52 pm in reply to: Produktbild wird in neuer Seite geladen statt auf Seite zu bleiben #1440601Hi Ricard,
your are right! Rikard, I forgot.
Sweden and Philippines are now allowed, but strange i can not allow USA in this Plugin: IP2Location Country Blocker
Any Idea?
Thanks Micahel FApril 23, 2024 at 6:45 am in reply to: Produktbild wird in neuer Seite geladen statt auf Seite zu bleiben #1440561Hi Ricard!
Here is a link to a screencast of my problem- First i thought it has to do with a plugin, but after trying everything like deactivating updates & Co. I think it could have to do with the theme …???
Thanks
Michael FYes please close it.
Thanks to you RikardThis reply has been marked as private.This reply has been marked as private.Ah, okay! I understand now.
But where has my main menu gone on the start page?
Best regards
Michael FHi Ismael!
Let me please come back to the problem with the Megamenue.
It does not work on starting-page but within the website it works fine: https://www.copy-shop-lauf.de/product/facharbeit-din-a4/Do you have an idea why this is so?
thanks for your feedback!
Michael F Kraus
September 24, 2023 at 5:13 pm in reply to: Produktbild in WooCommerce auf Seite größer darstellen #1420196Hi Mike!
You are right. Now there is something in the Product description & Product short description. This here should be over the product-picture:Tischset “Individuell gestalten”
9,50 €
inkl. 19 % MwSt.
Individuelle Geschenkideen für den gedeckten Tischeverything at Deine Individualisierung and below should stay under the image.
Best regards Michael F
September 24, 2023 at 2:47 pm in reply to: Produktbild in WooCommerce auf Seite größer darstellen #1420187This reply has been marked as private.September 24, 2023 at 11:11 am in reply to: Produktbild in WooCommerce auf Seite größer darstellen #1420170and an other: can I set the headline and first information above the product-picture like seen here?:
September 24, 2023 at 9:59 am in reply to: Produktbild in WooCommerce auf Seite größer darstellen #1420167maybe one more question. Do i have to do this for every product or can i write this into 1 snippet?
September 24, 2023 at 9:57 am in reply to: Produktbild in WooCommerce auf Seite größer darstellen #1420166Hi Mike!
Thanks for this great snippet. Works fine.
I did a little change as i want to to this only on several product sites. I changed .single-product to .postid-10063
so now only this product is shown as expected.Thanks once more
Have a nice sunday
Michael FSeptember 23, 2023 at 5:34 pm in reply to: Produktbild in WooCommerce auf Seite größer darstellen #1420130HI Ismael!
One question has to follow ;-)
Now that I have changed the size of the product-image there is not much space left for the text …
What do I have to do to get the text under the picture?
Have you got an older support-blog to this subject?
Thanks for your feedbackMichael F
September 19, 2023 at 1:09 pm in reply to: Produktbild in WooCommerce auf Seite größer darstellen #1419563Hi Ismael!
Sorry for not responding. I was on holiday …
Back now!Is it also possible to change the size of the picture only on certain pages?
Thanks
Michael F Kraus -
AuthorPosts