Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: Modify Product detail pg & template overide help?

Modify Product detail pg & template overide help? 11 years 2 months ago #2531

Hi,

I love Puremart, but want to modify the product detail page to include a couple of extra things and maybe move a couple of things around. I want to do this with minimum fuss especially as new virtuemart versions come out & puremart upgrades too.

I have attached a very basic (& pretty poor) screenshot of some Ideas I'm thinking about, but as in another post/thread I have started, I also want to bring in extra tabs for other text related custom fields.

I use Alpha user points for awarding loyalty point so want to include something to show the user how many points they will get if they purchase that product.

Also I want a grid showing multibuy prices for that specific product or child (when selected), When I can get it working properly.

So within the screen shot, I see Images on left, Pricing & multibuy in the centre & Description and other info on the right.
  1. Is this an easy task?
  2. Is it something you have any documentation or help files on?
  3. Should I copy one of the template files you already have for the detail pages and rename it? - Will this be sufficient enough to not get overwritten when upgrades come out.
  4. Lastly, do you guys take this on as a custom job?
Thanks in advance - again!

Andy
Attachments:
Last Edit: 11 years 2 months ago by Andy Connell.
The administrator has disabled public write access.

Modify Product detail pg & template overide help? 11 years 2 months ago #2549

Hi,

1- It might go either way. it is an easy task to do if you know what you are doing or It is the hardest thing to do, you might mess up everything if you don't know what are you are doing, or delete some extra </div> or <?php } ?> line.

2- Unfortunately no, the only document we have is our Forum. But in the forum, we don't provide custom modification support, so it would be useless for you about what you are looking for.

3- YES!! i would definately recommend this to you.
For instance take this PHP and XML file:
ROOT/templates/<yourjoomlatemplate>/html/com_virtuemart/productdetails/default.php
and
ROOT/templates/<yourjoomlatemplate>/html/com_virtuemart/productdetails/default.xml

Dublicate them and rename them as:
ROOT/templates/<yourjoomlatemplate>/html/com_virtuemart/productdetails/default2.php
ROOT/templates/<yourjoomlatemplate>/html/com_virtuemart/productdetails/default2.xml

Then you will have an another layout. Now you can chose this "default2" layout from VM Configuration. Do all your changes in this default2.php and also do a similar thing for the CSS modifications, don't just open this CSS file:
ROOT/templates/<yourjoomlatemplate>/html/com_virtuemart/assets/css/flexibleVM2Global.css

and make changes. Leave the rules in CSS file untouched. But at the bottom of it. Put a separator, something like.
/*
 
.... Custom changes go below this line....
 
*/

And add your custom code below this separator. (simply use the CSS overriding)

So by that method, once we upgrade our VM Template, you will copy your own custom CSS codes and paste them in the new flexibleVM2Global.css. Got it? So you won't lose them. Because as you might now, Once Virtuemart developers change thing in the Virtuemart with the new release, we are also updating our VM Template (PureMart) as well for compatibility or bug fixing purposes. You will need those updates in the future. Otherwise you will be stuck with the old Virtuemart version which is not good.

4- Absolutely, as i said in your previous topic. Once everything works as you see in our DEMO. our free support ends there. And this is not a discussion forum but instead it is our support ticket area. People don't answer each other post as you might have noticed. We are the only one who give answer to questions, provide solutions and then close the topic immediately. And we are also correcting the topic titles and make them more descriptive for others.

We used forum, instead of a support ticket software, because by this method; the conversations are not private, so others can get benefit from the same solutions that we have provided.

Regards.
Forum Support.
The administrator has disabled public write access.
Time to create page: 0.070 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo