Author Topic: Manufacturer Logo - Finally Finished  (Read 100056 times)

NordicElf

  • Beginner
  • *
  • Posts: 11
Re: Manufacturer Logo - Finally Finished
« Reply #30 on: April 15, 2009, 19:29:59 pm »
This is awesome. Thank you! It's working perfectly. However:
I want to add the manufacturer logo to my browse_x.php page too. I think I'm missing a step somewhere. I copied the code from shop.product_details.php to shop.browse, inlcuding the tpl->set, and I used the $manufacturer_logo in my browse page but nothing shows up just an empty string. I'm not sure what I'm missing.

NordicElf

  • Beginner
  • *
  • Posts: 11
Re: Manufacturer Logo - Finally Finished
« Reply #31 on: April 15, 2009, 20:10:37 pm »
I figured it out... where I was going wrong was that the $product_id that the manufacturer code uses from shop.product_details wasnt correct, so I just set it again inside shop.browse.php like this: $product_id = $db_browse->f('product_id'); and it's working like a charm!
My next step is to display all the manufacturer logos on the shop.index.php page in a similar way to the category logos...

Thanks for such a useful "hack"!

TomC

  • Jr. Member
  • **
  • Posts: 215
Re: Manufacturer Logo - Finally Finished
« Reply #32 on: April 17, 2009, 20:40:02 pm »
So, is this module to the point where it is basically "plug-and-play?"
Or is there still a bunch of inner hacks that need to be implemented?

DeeCee

  • Jr. Member
  • **
  • Posts: 177
Re: Manufacturer Logo - Finally Finished
« Reply #33 on: May 07, 2009, 11:21:11 am »
Sorry - I don't visit this forum very much (if at all) so will try and get back into the coding frame of mind over the next couple of days and answer Q's :)
I take no responsibility for any lost work. It is your responsibility to back up files before attempting anything I suggest as I may be:
a) intoxicated
b) high on sugar
c) can't concentrate due to lack of sleep

If you like my hacks, feel free to buy me a coffee, muffin or both :)

paypal: deecee23 at gmail dot com

Hacks in progress: Manufacturer Logo Hack - 100% done

DeeCee

  • Jr. Member
  • **
  • Posts: 177
Re: Manufacturer Logo - Finally Finished
« Reply #34 on: May 07, 2009, 11:26:37 am »

Ok... I Have clean installation of 1.1.3 VM on Joomla 1.5.9

I was copy paste 5 files of yours + edited my flypage.tpl.php with your code.

When i am in administration (Manufacturer administration) --> new (fill all field, try to upload picture)...

Error: You must enter a name for the manufacturer.

Is there something that i missing it?
I would assume that you are missign the name of the manufacturer.
1 manufacturer = 1 logo

I see that some people are struggling with 1.1.3.

I'll try and install a fresh copy and provide a complete solution for people to cut and paste.

NordicElf - no worries - glad you found it useful. Flick up what you did to get the logos onto other pages to help others out :)

TomC - No plans on making a plugin for this. Though if there is enough demand, I'll learn and get it posted up. Of course as time permits.

Of course, if the VM dev team don't integrate into their 2.0 code first ;) ( *come on guys, when's the next release)
I take no responsibility for any lost work. It is your responsibility to back up files before attempting anything I suggest as I may be:
a) intoxicated
b) high on sugar
c) can't concentrate due to lack of sleep

If you like my hacks, feel free to buy me a coffee, muffin or both :)

paypal: deecee23 at gmail dot com

Hacks in progress: Manufacturer Logo Hack - 100% done

DeeCee

  • Jr. Member
  • **
  • Posts: 177
Re: Manufacturer Logo - Finally Finished
« Reply #35 on: May 07, 2009, 13:30:56 pm »
Just installed a fresh copy of the integrated Ja Larix VM package with VM 1.1.2 and J1.5.9.

Then upgraded to J1.5.10 and VM 1.1.3

Works a charm :)

I take no responsibility for any lost work. It is your responsibility to back up files before attempting anything I suggest as I may be:
a) intoxicated
b) high on sugar
c) can't concentrate due to lack of sleep

If you like my hacks, feel free to buy me a coffee, muffin or both :)

paypal: deecee23 at gmail dot com

Hacks in progress: Manufacturer Logo Hack - 100% done

DeeCee

  • Jr. Member
  • **
  • Posts: 177
Re: Manufacturer Logo - Finally Finished
« Reply #36 on: May 07, 2009, 14:07:41 pm »
Oops lol.
Seems I forgot a bit of code to display the manufacturer image in the manufacturer pop up.

Have updated the hack (mostly at bottom of page 1) - shop.manufacturer_page.php

Also have added a little thing under "things to do"
Quote
3. Turn on "Show Manufacturer Link" under Configuration -> Site -> Layout/Theme Configuration

Works like a charm 100% now :)

Now on to coupons (half done), tax (tutorial started) and credit card surcharges (figured out already). Will probably look at invoice statements reconfiguration as well (looks at project plan and sees what else to do lol)

Bloody website is at 130megs so far and isn't even live with around 30 more products to add - sigh

Check ya later

Dave
I take no responsibility for any lost work. It is your responsibility to back up files before attempting anything I suggest as I may be:
a) intoxicated
b) high on sugar
c) can't concentrate due to lack of sleep

If you like my hacks, feel free to buy me a coffee, muffin or both :)

paypal: deecee23 at gmail dot com

Hacks in progress: Manufacturer Logo Hack - 100% done

TomC

  • Jr. Member
  • **
  • Posts: 215
Re: Manufacturer Logo - Finally Finished
« Reply #37 on: May 07, 2009, 21:00:49 pm »
This is fantastic - THANK YOU !!!

DeeCee

  • Jr. Member
  • **
  • Posts: 177
Re: Manufacturer Logo - Finally Finished
« Reply #38 on: May 08, 2009, 03:00:20 am »
No worries Tom :) I have taken from others and I have specific elements I want in my website so I thought that going through all this would help others get to where they need to be :)
I take no responsibility for any lost work. It is your responsibility to back up files before attempting anything I suggest as I may be:
a) intoxicated
b) high on sugar
c) can't concentrate due to lack of sleep

If you like my hacks, feel free to buy me a coffee, muffin or both :)

paypal: deecee23 at gmail dot com

Hacks in progress: Manufacturer Logo Hack - 100% done

Stefan Ciprian

  • Beginner
  • *
  • Posts: 3
Re: Manufacturer Logo - Finally Finished
« Reply #39 on: May 29, 2009, 11:55:11 am »
Thanks, it works nice.
But I have a little problem, I don't think it's because of this hack but... I'm asking.
In the popup window where I have all the details about the manufacturer if I click on the manufacturer website link it points me to http://localhost/www.manufacturer.com and not to www.manufacturer.com
Maybe I did something wrong, I don't know.
Could you help me?
Thanks.

DeeCee

  • Jr. Member
  • **
  • Posts: 177
Re: Manufacturer Logo - Finally Finished
« Reply #40 on: June 26, 2009, 16:01:17 pm »
have you checked your config file?
I take no responsibility for any lost work. It is your responsibility to back up files before attempting anything I suggest as I may be:
a) intoxicated
b) high on sugar
c) can't concentrate due to lack of sleep

If you like my hacks, feel free to buy me a coffee, muffin or both :)

paypal: deecee23 at gmail dot com

Hacks in progress: Manufacturer Logo Hack - 100% done

aggieoutlaw

  • Beginner
  • *
  • Posts: 14
Re: Manufacturer Logo - Finally Finished
« Reply #41 on: July 22, 2009, 01:21:55 am »
this is great stuff!

is there a way instead of linking the popup, to link to all listings by manufacturer?

thanks so much

Jumbo!

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 828
  • Full-stack Web Developer
    • www.virtueplanet.com
  • VirtueMart Version: Always latest
Re: Manufacturer Logo - Finally Finished
« Reply #42 on: August 18, 2009, 15:40:52 pm »
Further to this I have developed an all new complete Theme - VMJ eStore which shows Manufacturer Logo both of browse page and flypage. It also shows the Manufacturer Name along with logo.

I have also included Manufacturer filter in the browse page.

The theme package also includes all set of hacks. So just replace the required files. Thanks to DeeCee. But I had to made quite a few change to show manufacturer name and logo together on browsepage and flypage.

You can see live demo and download the complete package.

VirtueMart Version: 1.1.3, Joomla: 1.5

DeeCee

  • Jr. Member
  • **
  • Posts: 177
Re: Manufacturer Logo - Finally Finished
« Reply #43 on: September 02, 2009, 06:05:17 am »
If you are going to leverage off my work and charge for it then you can buy me a coffee :P
I take no responsibility for any lost work. It is your responsibility to back up files before attempting anything I suggest as I may be:
a) intoxicated
b) high on sugar
c) can't concentrate due to lack of sleep

If you like my hacks, feel free to buy me a coffee, muffin or both :)

paypal: deecee23 at gmail dot com

Hacks in progress: Manufacturer Logo Hack - 100% done

Jumbo!

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 828
  • Full-stack Web Developer
    • www.virtueplanet.com
  • VirtueMart Version: Always latest
Re: Manufacturer Logo - Finally Finished
« Reply #44 on: September 02, 2009, 08:18:26 am »
If you are going to leverage off my work and charge for it then you can buy me a coffee :P

Hi DeeCee, No dear. I am not selling your creation. But obviously it was inspired by you. It shows Manufacturer Name & Logo both on Browse Page and Flypage. I have also included a Manufacturer Filter function on browsepage align with stylish Navigation.

I believe your work is for Manufacturer Logo on Flypage and on Manufacturer detail Page. But mine is different.

And finally we are giving away the hacks FREE of Cost with the Theme where user can utilize it.

But I think I should donate you some $$$ for the great idea. ;D