PDF plugin

  • Posts: 34
  • Thank you received: 0
8 years 7 months ago #233833

-- url of the page with the problem -- : tecnosystempanama.com
-- HikaShop version -- : 2.6.1
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.0
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : PDF pluging module, that can send the the shopping cart of the costumer to the email when it clicks on checkout

Hi,
I need to know if there's a PDF plugin module, that can send the the shopping cart of the customer to the email when it clicks on checkout?

Even when the cart is working in visitor mode

Please Log in or Create an account to join the conversation.

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
8 years 7 months ago #233837

Hi,

I don't know of such plugin.
The only option I see would be to configure the checkout to just get the email address of the customer and then use the PDF invoice plugin to generate the PDF for the email that is sent when the order is created.
But then, you can't use the checkout as a normal checkout.

Please Log in or Create an account to join the conversation.

  • Posts: 34
  • Thank you received: 0
8 years 7 months ago #234533

Hi,
The PDF plugin worked as I was expecting, now I need to modify the format of the PDF and the format of the email, where can i do that?

Please Log in or Create an account to join the conversation.

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
8 years 7 months ago #234534

Hi,

You can edit the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php via FTP.

Please Log in or Create an account to join the conversation.

  • Posts: 34
  • Thank you received: 0
8 years 7 months ago #234797

Hi,
Excellent, that was exactly what I need, is there a way to send the invoice in guest mode, with the name included? Because right now in guest mode only sends the invoice with the email in it and I need the name too(i don't need the users to be registered)

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
8 years 7 months ago #234823

Hi,

You should have the name in the address part of the invoice.
Else you can edit the file indicated by Nicolas and use the billing address informations to get the user name and display it where you want.

Please Log in or Create an account to join the conversation.

  • Posts: 34
  • Thank you received: 0
8 years 6 months ago #237859

Thanks friends,

The billing address works exactly how I need, but now I need that the information of the billing address to be show in the PDF Invoice, How can I do that? because right now is not showing the shipping address in the pdf invoice

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
8 years 6 months ago #237872

Hi,

The billing address is displayed automatically on the PDF invoice thanks to this code:

<table class="addresses">
		<tr>
			<?php
			$addresses = array('billing_address','shipping_address');
			foreach($addresses as $oneAddress){
			if(empty($order->$oneAddress)) continue;
			if ($oneAddress=='shipping_address' && empty($pluginsShipping)) continue; ?>
			<td valign="top">
				<fieldset>
				<legend><?php echo JText::_('HIKASHOP_'.strtoupper($oneAddress)); ?></legend>
					<?php
						$override = false;
						if(!empty($order->order_shipping_id) && $oneAddress=='shipping_address' && method_exists($currentShipping, 'getShippingAddress')) {
							$override = $currentShipping->getShippingAddress($order->order_shipping_id);
						}
						if($override !== false ) {
							echo $override;
						} else {
							$addressClass = hikashop_get('class.address');
							if($app->isAdmin()){
								$view = 'order';
							}else{
								$view = 'address';
							}
							echo $addressClass->displayAddress($order->fields,$order->$oneAddress,$view);
						}
					?>
				</fieldset>
			</td>
			<?php } ?>
		</tr>
	</table>
so if you don't see the billing address in the PDF invoice even though you have it in the order, I can only think that you've modified the code in invoice.php and these modifications caused the issue.

Please Log in or Create an account to join the conversation.

  • Posts: 34
  • Thank you received: 0
8 years 6 months ago #237960

Hi friends,

Thank you so much for your help. it works exactly as a I needed, now I just need to take off the last name of the billing form. and change the "*" from right to left.

Could you help me? Thanks in advance for all your help

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
8 years 6 months ago #237978

Hi,

Add such CSS on your website and that should do it:
.hikashop_field_required {
float: none !important;
}

www.hikashop.com/support/documentation/1...ize-the-display.html

Please Log in or Create an account to join the conversation.

  • Posts: 34
  • Thank you received: 0
8 years 6 months ago #238295

Hi Friends,
Thanks you so much for your help, you've been really helpful. Could you help to edit the billing address form, I just need the field name, and erase the others fields of the form. Is that possible?
Thanks in advance for your soon reply

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
8 years 6 months ago #238326

Hi,

It's possible yes. Just disable these fields via the menu Display>Custom fields.

PS: please open new threads for new unrelated questions.

Please Log in or Create an account to join the conversation.

Time to create page: 0.086 seconds
Powered by Kunena Forum