paulbaraka2001
Forum Replies Created
-
Forum: Plugins
In reply to: [Booster for WooCommerce] Booster Plus doesn’t display Updatesno, my 1 year of support has run out, that’s why i’m posting here ??
Forum: Plugins
In reply to: [DHL Shipping Germany for WooCommerce] Can’t print labelsWith shadi’s help we could find out what the problem was,
so in case anyone has the same problem, here’s my current solution:The problem was my WordPress URL not being the same as my site URL, i had migrated my installation to another folder for reasons)
(
wordpress url: page.com/shop
site url: page.com/shop/other
)
The DHL Plugin seems to not be able to understand this, and looks for the label download link in the level below the wordpress url (in my case: page.com), while it SHOULD look in page.com/shopI solved (a little hacky, but works fine for now) with the wordpress plugin “Admin Javascript”,
where i addedjQuery('body').on('click', '#dhl-label-print', function(e) { e.preventDefault() var button = jQuery(e.target) var href = button.attr('href') var newHref = href.split('/') newHref.splice(3, 0, 'shop') newHref = newHref.join('/') window.open(newHref) })
to the footer.
now, instead of page.com/dhl_label_download
it’s looking at page.com/shop/dhl_label_download
this works for me.
you might have to change the code a little, as i’m sure everyone’s setup will be a little different, but it’s possible to solve.now there’s only one thing left:
@shadim is there a way to get the actual pdf url for the label? so i can (display it in a modal dialog and) print it right from the browser, without having to download it?cheers ??
- This reply was modified 4 years, 2 months ago by paulbaraka2001.
- This reply was modified 4 years, 2 months ago by paulbaraka2001.
Forum: Plugins
In reply to: [DHL Shipping Germany for WooCommerce] Can’t print labelslike i said…
i click on “download label”, i’m redirected to “https://my-page.de/dhl_download_label/7067” (from https://my-page.de/shop/wp-admin !!!!!!),
which is the worpress 404 page telling my “sorry, we can’t find what you’re looking for”there seems to be something wrong with the redirection.
i’m running two wordpress pages on my server. one is a normal page at root level, one is woocommerce at /shop/.
trying to use dhl with woocommerce, obviously, but something seems wrong. can you take a look if you see a possible reason for this?Forum: Plugins
In reply to: [DHL Shipping Germany for WooCommerce] Can’t print labelsalright, here you go ?? https://imgur.com/a/XwZhkY4
thanksForum: Plugins
In reply to: [DHL Shipping Germany for WooCommerce] Can’t print labelssee my last post, there’s a link with 3 screenshots in it.
those are my DHL printer settings.if you need a screenshot of something else, just let me know ??
but as i said, i think the problem is with my permalinks. if i could download the labels from woocommerce, i would be ok with that. so i’m trying to find out why that doesn’t work ??
Forum: Plugins
In reply to: [DHL Shipping Germany for WooCommerce] Can’t print labels@shadim can you tell from my screenshot what’s wrong with my permalink settings?
how would the “correct” url look?
thanks ??
Forum: Plugins
In reply to: [DHL Shipping Germany for WooCommerce] Can’t print labelsHey there, thanks for your quick reply ??
here https://imgur.com/a/nXoWPxb you see screenshots of my permalink settings (unfortunately i didn’t find a “pretty links” option, or i’m sure those are pretty links i already have. is there a specific option i need to use or something that’s wrong with my current settings?)
and or the printer settings page on the customer portal i was talking about.the option with “local printer settings” is used (as i understand) for polling software.
BUT
if you say that the intended workflow is indeed “create, download, print manually”, then those printer settings probably don’t even matter, since i CAN print from my browser. then the only thing that’s holding me back is that i don’t get the labels (the permalink setting).suggestion for improvement:
isn’t there a possibility to “print by button”? i previously had a brother QL-800, and they provide an API for their label creation wizard (via chrome plugin), so i wrote a script that let me print directly from the order preview modal and it worked like a charm. i was expecting that functionality from this plugin (open order, click “print label”, label comes out of the printer ?? ). is there a way to get this working?- This reply was modified 4 years, 3 months ago by paulbaraka2001.
Forum: Plugins
In reply to: [DHL Shipping Germany for WooCommerce] Can’t create label – absenderreferenzim gesch?ftskundenportal im absender-adressbuch einen absender hinterlegen. dort kann man eine referenz hinterlegen.
hab ich nach 1 stunde support-telefonat jetzt rausgefunden
Forum: Plugins
In reply to: [Contact Form 7] CSS on the form field wrappers?oh ok, that looks promising! thanks, i’ll try it ??