Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
(Dave, don't read this) We're doing an upgrade for a Gold customer who has a customized page for the customer to print their order. I've made a new view that starts out like the following and have the code in the Members controller to populate the information. All the info is populated OK, but there is no stylesheet applied. (I copied some of the html from AC order pages). What do I need to do to get a stylesheet to apply? Thanks Starting code: @model IEnumerable<AbleCommerce.Models.AccountOrder> @using CommerceBuilder.Orders @using CommerceBuilder.Utility @using CommerceBuilder.Extensions @{ ViewBag.Title = GetResourceString("retail.myorderheading.pagetitle", false); int orderId = AlwaysConvert.ToInt(ViewBag.OrderId); Order order = AbleContext.Resolve<IOrderRepository>().Load(orderId); } <article class="account-content"> <div class="order-meta Here is an image of what part of the page looks like: 2022-04-26_11-42-06.png (56kb) downloaded 0 time(s).
|
|
|
|
Rank: Advanced Member
Groups: Administrators, Developers, Registered, HelpDesk, Authorized User, Admin, System Joined: 10/11/2018(UTC) Posts: 110
Thanks: 19 times Was thanked: 18 time(s) in 18 post(s)
|
You need to add classes/styles inside your theme's default.css file or use the existing classes. The print styles should go under the section: Code:/*------------------------------
PRINT STYLES
------------------------------*/
@media print {
Hope this helps!
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close