Skip to main content

product code in pdf invoice

More
10 years 4 months ago #239970 by river
Replied by river on topic product code in pdf invoice
Hi tnx for reply.

How would you implement this code
Code:
$productClass = hikashop_get('class.product'); $productData = $productClass->get($product->product_id); if($productData->product_quantity>0) echo 'Product on stock';

...into my already existing code which looks like this:
Code:
$productClass = hikashop_get('class.product'); $productData = $productClass->get($product->product_id); if($productData->product_parent_id){ $parentProductData = $productClass->get($product->product_parent_id); $productData->product_manufacturer_id = $parentProductData->product_manufacturer_id; } $categoryClass = hikashop_get('class.category'); $category = $categoryClass->get($productData->product_manufacturer_id); echo $category->category_name;

any advice ?

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

More
10 years 4 months ago #239982 by nicolas
Replied by nicolas on topic product code in pdf invoice
Hi,

You could add it before, or after.

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

More
9 years 9 months ago #256744 by river
Replied by river on topic product code in pdf invoice
Joomla 3.6.4
Hikashop 2.6.4
Hikamarket 1.7.2

Just bought Hikamarket. Very happy about it.
Is it possible to place the "Vendor name" which is attached to the product below the product name in the on the PDF invoice.

Please see image below.



If so, any advice on what the code will be ?

Tnx.

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

More
9 years 9 months ago #256761 by Jerome
Replied by Jerome on topic product code in pdf invoice
Hi,

Please open a new thread in the HikaMarket section of the forum.
It is possible to add some code in the PDF plugin view in order to handle and display vendors ; but it requires some specific code to do so.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

More
9 years 9 months ago #256794 by river

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

Time to create page: 0.201 seconds
Powered by Kunena Forum