Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: Applying themes to the whole Virtuemart e-commerce area of a website

Applying themes to the whole Virtuemart e-commerce area of a website 1 year 1 week ago #46241

  • wheine
  • wheine's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 62
  • Karma: 0
Hello, Nick and Ed,

If you go to the follow website link, the theme only shows up on the order page but the theme does not transfer to the customer details page or order confirmation/payment page. I do not see how to have the css styling from the theme show up on those other pages. I selected the "Eden" theme in those places where I thought you needed to select it.

website is: workflownavigator.com. Then look for the pricing tab at the top.

Thank you in advance.

Will
Please become a member of OSTraining to reply to this post.

Applying themes to the whole Virtuemart e-commerce area of a website 1 year 1 week ago #46250

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Need the credentials to see the site. Send them to ed@ostraining, or nick@ostraining and reference this post so we know which one we need to address.

Thanks
Ed
Please become a member of OSTraining to reply to this post.

Applying themes to the whole Virtuemart e-commerce area of a website 1 year 1 week ago #46389

  • wheine
  • wheine's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 62
  • Karma: 0
Hi Ed,

I supplied you with credentials by email, yesterday.

Any ideas?
Please become a member of OSTraining to reply to this post.

Applying themes to the whole Virtuemart e-commerce area of a website 1 year 6 days ago #46455

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Hi Will,

Thanks for the credentials. There is definitely a lack of documentation on VM2 so far. I don't want to mislead you into thinking I know everything. I'm looking at this now. Virtuemart 2 is new to everybody and I'm starting to get an understanding.

To make these modifications I think you just need to know where to look for the templates and files. Some of which you probably already know, but I'll start there anyway.

The css files for virtuemart will be in
workflownavigator.com/components/com_virtuemart/assets/css/

You seem to know about css, but just want to make sure we're looking at the right files.

The actual templates for the virtuemart page layouts are in
/components/com_virtuemart/views

and a location for a specific template would look like this, for ezample.
/components/com_virtuemart/views/productdetails/tmpl/default.php

There would be another file that relates to the view, which you would probably never need to modify which would be the default.xml file.

If you want to modify a module, here's an example of the location of a module template.
modules/mod_virtuemart_search/tmpl

So to modify the output of any page you would possible need to modify the correct css file and the tmpl/default.php file since the styles are a combination of css and inline styles. Some coming from css, some hard coded in the templates.

All of your css classes are defined in the php files that are in the tmpl folder, so if you want to change them you go there. Change the css in the css file.

To make sure the modfications were applied to the page you would need to make sure the proper style sheet is linked to it by using your browser and viewing the source.

For example your customer page has these style sheets.
<link rel="stylesheet" href="/components/com_virtuemart/assets/css/vmsite-ltr.css" type="text/css" />
<link rel="stylesheet" href="workflownavigator.com/components/com_vir...ets/css/vmpanels.css" type="text/css" />
Links to the style sheets could be added to your templates index.php if you want to make a custom one and include it as well. You may be able to use template overrides, but I don't know how that works with VM 2 yet.

Since your using a yoo theme, you have a ton of style sheets. There may be inheritance conflicts with some of their templates. You'd need to track these down if they are causing conflicts.

That's the basics. I don't know how much you know, so like I said, I just started at the beginning. If that helps let me know. If not, please ask some more questions.

Cheers,
Ed
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Powered by Kunena Forum

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.