Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter pratibhaprajapati

    (@pratibhaprajapati)

    Hi

    I followed the guide and it’s working fine. Thanks.

    When I check the PDF in HTML format, images look fine and high quality, But when I check the PDF view, images(logo image, product image ) are showing blur.

    I tried below code, it improved the image resolution but it affected the over all content. Fonts size also decreased with this code.

    $dompdf->set_option( 'dpi' , '150' );

    How can I improve the image quality and whats the correct way to do this? I tried this code in plugin file.

    Thanks

    Thread Starter pratibhaprajapati

    (@pratibhaprajapati)

    Hi

    Is it possible to display footer on each page of PDF?
    Also Can I display page number in footer?

    https://prntscr.com/wcybsd

    Thread Starter pratibhaprajapati

    (@pratibhaprajapati)

    Hi

    Is it possible to create and send more than one PDF in email like invoice?
    I need to display some custom data according to data submitted by user during order.

    Thanks

    Thread Starter pratibhaprajapati

    (@pratibhaprajapati)

    Hi

    Thanks for the response.

    Both functions are working fine. The only problem is dynamic file is not attaching.

    I think there can be two reasons for this either PDF file is generating after the email is sent or it’s unable to find the file path while attaching file in email.

    How can I make sure which hook triggers first, So that I can priorities the PDF generation.

    One more thing is there any way to print the values in “woocommerce_email_attachments” hook, so I can check if it is path or file name issue.
    I tried to print and exit and die but nothing is working.

    Thanks

    Thread Starter pratibhaprajapati

    (@pratibhaprajapati)

    This is how it looks with simple template, my customized information not showing in this template

    https://prntscr.com/vywy1d

    Thread Starter pratibhaprajapati

    (@pratibhaprajapati)

    Thank for fast reply.

    Default simple template is working fine.

    Your second PDF screenshot says “Product detail section is missing” but I’m not sure what you are referring to by that. Could you elaborate?
    Response: I mean only product detail section is breaking down the structure.

    I understand that if content will be more, it will show in next page. But for now content is not too much. you can see second screenshot. I think this data can be fit in the empty space in first page.

    If I apply the CSS to increase the font size item meta, then I get this issue, otherwise it works fine. here’s the css.

    
    .wc-item-meta li strong.wc-item-meta-label, .wc-item-meta li p {
        font-size: 16px;
        line-height: 1.5em;
    }
    

    I need to increase the font size as per my PDF design. Please provide me some solution so I can get rid of blank space, Like start table on first page and show data which fits on first page and rest of data to display on second page… will it work?

    Here is the table structure,

    
    <table class="order-details">
    	<thead>
    		<tr>
    			<th class="product">Product</th>
    			<th class="quantity">Quantity</th>
    			<th class="price">Price</th>
    		</tr>
    	</thead>
    	<tbody>
    				<tr class="177">
    			<td class="product">
    								<div class="item-thumbnail"><img width="300" height="300" src="/wp-content/uploads/2020/12/GTS-Hpe_0001s_0001s_0000_-GTS-Hpe-Dark-Blue-300x300.png" class="attachment-woocommerce_thumbnail size-woocommerce_thumbnail" alt="" loading="lazy" title="" srcset="/wp-content/uploads/2020/12/GTS-Hpe_0001s_0001s_0000_-GTS-Hpe-Dark-Blue-300x300.png 300w, /wp-content/uploads/2020/12/GTS-Hpe_0001s_0001s_0000_-GTS-Hpe-Dark-Blue-150x150.png 150w, /wp-content/uploads/2020/12/GTS-Hpe_0001s_0001s_0000_-GTS-Hpe-Dark-Blue-100x100.png 100w" sizes="(max-width: 300px) 100vw, 300px" /></div>
    				<span class="item-name">VESPA GTS 125 RST ABS</span>
    								<span class="item-meta"><ul class="wc-item-meta"><li><strong class="wc-item-meta-label">Grundpreis:</strong> <p><span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">CHF</span>&nbsp;0,00</span></p></li><li><strong class="wc-item-meta-label">FARBE:</strong> <p><span class="item-title-wrap"><span class="item-title-inner"><span class="item-child-title">blue</span></span><span class="item-child-price">(<span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">CHF</span>&nbsp;0,00</span>)</span></span></p></li><li><strong class="wc-item-meta-label">REMUS SPORTAUSPUFF:</strong> <p><span class="item-title-wrap"><span class="item-title-inner"><span class="item-child-title">REMUS RS Sportauspuff schwarz</span></span><span class="item-child-price">(<span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">CHF</span>&nbsp;999,00</span>)</span></span></p></li><li><strong class="wc-item-meta-label">WEISSWANDREIFEN VESPA GTS:</strong> <p><span class="item-title-wrap"><span class="item-title-inner"><span class="item-child-title">Weisswandreifen Vespa GTS ?</span></span><span class="item-child-price">(<span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">CHF</span>&nbsp;250,00</span>)</span></span></p></li><li><strong class="wc-item-meta-label">GEP&Auml;CKTR&Auml;GER:</strong> <p><span class="item-title-wrap"><span class="item-title-inner"><span class="item-child-title">Klappgep&auml;cktr&auml;ger vorne</span></span><span class="item-child-price">(<span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">CHF</span>&nbsp;305,00</span>)</span></span></p></li><li><strong class="wc-item-meta-label">STURZB&Uuml;GEL:</strong> <p><span class="item-title-wrap"><span class="item-title-inner"><span class="item-child-title">Stossstange vorne</span></span><span class="item-child-price">(<span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">CHF</span>&nbsp;129,00</span>)</span></span></p></li><li><strong class="wc-item-meta-label">WINDSCHIELDS:</strong> <p><span class="item-title-wrap"><span class="item-title-inner"><span class="item-child-title">Sportscheibe Cruiser Get&ouml;nt</span></span><span class="item-child-price">(<span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">CHF</span>&nbsp;179,00</span>)</span></span></p></li></ul></span>
    				<dl class="meta">
    																			</dl>
    							</td>
    			<td class="quantity">1</td>
    			<td class="price"><span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">CHF</span>&nbsp;1.862,00</bdi></span></td>
    		</tr>
    			</tbody>
    	<tfoot>
    		
    	</tfoot>
    </table>
    

    Thank

    Thread Starter pratibhaprajapati

    (@pratibhaprajapati)

    Hi

    Thanks for the update

    I tried to override the file, but unable to remove the mentioned data, Please see screenshot
    https://prnt.sc/vuumxo

    how can remove the “Free shipping” row from every where i.e. order review, order confirmation page, emails, custom PDF ?

    Thanks

    Thread Starter pratibhaprajapati

    (@pratibhaprajapati)

    Thanks for reply.

    Can you please guide me little how to fetch the tab content, I mean any query or hook I can use to fetch the content.

    Thread Starter pratibhaprajapati

    (@pratibhaprajapati)

    Hi

    Thanks for your reply. I am trying to accomplish this using custom coding. I have divide the form in three steps. I need to create additional section is checkout same like billing section and shipping section that will contain some fields.

    I searched a lot but, didn’t find code t create new section, getting only plugins. I don’t want to use plugin.

    Could you please guide me.
    Thanks

    Thread Starter pratibhaprajapati

    (@pratibhaprajapati)

    @bcrodua

    Thanks for reply but I don’t want to use different slider, I don’t add same images in multiple sliders, it will be wastage of time to add same images and content to different slider. Also the important thing is that slider is showing within loop and will be displayed after every 4th post. So if there are 50 posts I can’t create so many sliders.

    Thanks

    Thread Starter pratibhaprajapati

    (@pratibhaprajapati)

    Thanks for reply…

    I cannot duplicate slider because I am using only one slider in loop.

    My requirement is to display the same slider after every 4th item. That’s all working only slider is not working. It works for first time, when it repeats because of loop, then it not works.

    In another words you can say display same slider in loop.

    Thanks

Viewing 11 replies - 1 through 11 (of 11 total)