Checkout cart discount & price
8 years 2 months ago - 8 years 2 months ago #297468
by kyratn
Checkout cart discount & price was created by kyratn
Hi,
I am not sure but i think there is some class missing in checkout cart view block product price with discount. Those i am not able to style it.
This is correct html from cart module:
Ant this is wrong html with missing class "hikashop_product_price_with_discount":
I could be miss some setting so please advise.
Thank you
I am not sure but i think there is some class missing in checkout cart view block product price with discount. Those i am not able to style it.
This is correct html from cart module:
Ant this is wrong html with missing class "hikashop_product_price_with_discount":
I could be miss some setting so please advise.
Thank you
Last edit: 8 years 2 months ago by kyratn.
Please Log in or Create an account to join the conversation.
8 years 2 months ago #297470
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Checkout cart discount & price
Hello,
Regarding the parent elements ; I don't think that your views are HikaShop official one.
We don't have "tz-" classes in HikaShop.
Regards,
Regarding the parent elements ; I don't think that your views are HikaShop official one.
We don't have "tz-" classes in HikaShop.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
8 years 2 months ago #297520
by kyratn
Replied by kyratn on topic Checkout cart discount & price
Hi,
Well yes, i have customized checkout show_block_cart.php view but that's not the issue. The issue is that to show price you are using this code as example:
I think it comes from checkout listing_price.php and comparing with product listing_price.php view i see it does miss something like this:
Here is also the screenshot of the checkout show_block_cart.php view with default protostar template which has no modifications and it also miss "hikashop_product_price_with_discount" class....
Please advise?
Kind Regards
Well yes, i have customized checkout show_block_cart.php view but that's not the issue. The issue is that to show price you are using this code as example:
Code:
<?php
if(!empty($this->options['show_price'])) {
?>
<td data-title="<?php echo JText::_('CART_PRODUCT_TOTAL_PRICE'); ?>" class="hikashop_cart_product_total_value"><?php
echo $this->getDisplayProductPrice($product, false);
?></td>
<?php
}
?>
I think it comes from checkout listing_price.php and comparing with product listing_price.php view i see it does miss something like this:
Code:
$classes = array('hikashop_product_price hikashop_product_price_'.$i);
if(!empty($this->row->discount)){
$classes[]='hikashop_product_price_with_discount';
}
Here is also the screenshot of the checkout show_block_cart.php view with default protostar template which has no modifications and it also miss "hikashop_product_price_with_discount" class....
Please advise?
Kind Regards
Please Log in or Create an account to join the conversation.
8 years 2 months ago #297521
by nicolas
Replied by nicolas on topic Checkout cart discount & price
Hi,
Well, it's not really that it's an issue. It's just something we've added for the product page and didn't think it would be useful elsewhere and thus didn't bother.
But if you want to add it to the listing_price view file of the checkout view, you can do it in your override.
We'll look at adding it too in a future version.
Well, it's not really that it's an issue. It's just something we've added for the product page and didn't think it would be useful elsewhere and thus didn't bother.
But if you want to add it to the listing_price view file of the checkout view, you can do it in your override.
We'll look at adding it too in a future version.
Please Log in or Create an account to join the conversation.
Time to create page: 0.046 seconds