- Posts: 76
- Thank you received: 2
Add product variant and
- jberry210490
-
Topic Author
- Offline
Less
More
5 years 3 weeks ago #336290
by jberry210490
Add product variant and was created by jberry210490
-- HikaShop version -- : HikaShop Business: 4.4.3
-- Joomla version -- : 3.10.2
-- PHP version -- : 7.3.31
-- Browser(s) name and version -- : Edge
Hi guys,
i cannot find shortcodes to add product variant and the shipping method in my shipping invoices, can you please let me know how can i do this?
regards,
Baze
-- Joomla version -- : 3.10.2
-- PHP version -- : 7.3.31
-- Browser(s) name and version -- : Edge
Hi guys,
i cannot find shortcodes to add product variant and the shipping method in my shipping invoices, can you please let me know how can i do this?
regards,
Baze
Please Log in or Create an account to join the conversation.
5 years 3 weeks ago #336293
by nicolas
Replied by nicolas on topic Add product variant and
Hi,
The product variant is already mentioned in the name column of the products listing of the order.
If you cannot differentiate the variant being purchased, it's likely that you set the same "name" in all the variants of the product.
So you would have to modify that, not the shipping invoice.
The shipping method is also displayed by default thanks to the code
in the order / invoice.php view file. So I don't see why you wouldn't already have it.
Thus, I'm not sure we're talking about the same thing at the same place.
I would recommend you provide more details on the situation.
The product variant is already mentioned in the name column of the products listing of the order.
If you cannot differentiate the variant being purchased, it's likely that you set the same "name" in all the variants of the product.
So you would have to modify that, not the shipping invoice.
The shipping method is also displayed by default thanks to the code
Code:
<?php
if(!empty($this->shipping)) {
echo '<p class="hikashpo_order_shipping_method">'.JText::_('HIKASHOP_SHIPPING_METHOD').' : ';
if(is_string($this->order->order_shipping_method))
echo $this->shipping->getName($this->order->order_shipping_method, $this->order->order_shipping_id);
else
echo implode(', ', $this->order->order_shipping_method);
echo '</p>';
}
?>
Thus, I'm not sure we're talking about the same thing at the same place.
I would recommend you provide more details on the situation.
Please Log in or Create an account to join the conversation.
Time to create page: 0.054 seconds