Posted: November 08, 2018 at 2:30 PM Quote #214087
Hi.

Using nopC 3.90


What I need is to add classes to <span class="value @new-class"> in /Views/Order/Details.cshtml

in

<li class="payment-method-status">
                                    <span class="label">
                                        @T("Order.Payment.Status"):
                                    </span>
                                    <span class="value @new-class-here">
                                        @Model.PaymentMethodStatus
                                    </span>
                                </li>


and

<li class="shipping-status">
                                    <span class="label">
                                        @T("Order.Shipping.Status"):
                                    </span>
                                    <span class="value @new-class-here">
                                        @Model.ShippingStatus
                                    </span>
                                </li>


Following classes should be added: paid, payment-pending, shipped and etc. dependingly on the status.

How to do it? Any ideas?

Thanks.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)