Does anyone have a version of the node-product.tpl.php file that will create an output that is exactly like the default ubercart product page style. I am trying to modify the default slightly but I do not want to totally redesign it yet. 
Thanks
|
UbercartOne cart to rule them all... |
|
| Donate | Affiliates | Sponsors | ||
Match ubercart default with node-product.tpl.php
Submitted by gbaker386 on Tue, 08/19/2008 - 21:43
Does anyone have a version of the node-product.tpl.php file that will create an output that is exactly like the default ubercart product page style. I am trying to modify the default slightly but I do not want to totally redesign it yet. Thanks
Is any chance to get one? I'm interested in this. Also, anything related to the Product List (on Catalog) because i want to change small things on the product grid. I would also be very interested in this! Yeah i agree, would be really handy to have the default layout as a tpl.php file to fiddle around with. The nifty products page is really good, i just used the code from about half way down the thread and it works very well. m As a non-themer I find it highly difficult to change the product page without some pointers. Is it too hard for the devs to come up with the file requested by the original poster? This might not be exactly what you are looking for, but the best I can do at the moment. Here is an example of the Node-product-tlp.php file. <!-- start node-product-page.tpl.php -->I think you can use 'content template' (contemplate) drupal module to spit out a template file, then you can cut n paste that into a new node-product.tpl.php file. Or i might be completely wrong m This might not be exactly what you are looking for, but the best I can do at the moment. Here is an example of the Node-product-tlp.php file.
<!-- start node-product-page.tpl.php -->Hey thill! It's quite there! Are you willing to give it another try? I'm posting differences between the "default one" and yours, using the Garland Theme Default look, unchanged: Thil's look, with a custom node-productpage.tpl.php: As you can see, the second screenshot doesnt show the Category terms, among other small differences. I am sorry if I misled you, I wasn't saying that code was the exact code, it was just a custom one I have used for a site. I was just trying to give you something to work with to make it to your liking. I understand thil. Believe me, i've been trying to achieve what i want but with no success. The only thing i need to add is Lightbox support. And for that sole reason i have to change the template/theme. As i do this, the images popup with Lightbox but the thumbnails are aligned on the left side of the screen but i want them on the right hand side (just like the default way)! Do you know how could i achieve this? Here's my full template code (it's different from yours): <!-- lightbox is working, but thumbs are on the left side of the page-->Here's a screenshot to make it easier: http://files.uploadbag.com/Files/Public/57016b57_png_1f1d9734__pleasemak... Ok, its working better now (still far from perfect). The code for the image part to be aligned on the right should include the proper classes, like this: <div class="product_image">Hello, I've worked on these things and i'm posting a new file that can be used to achieve the "default look". It's very easy to edit and add other fields, etc, and still keep the way it looks. This also has builtin Lightbox support. If you dont use it (why not?), you will probably have to change that part. <!--It's working pretty well atm. Use it and post feedback/improvements - i'm specially interested in removing redundant/unnecessary stuff.
|
|
Joined: 01/25/2008