Welcome, Guest
Username: Password: Remember me

TOPIC: Showing Manufacturer

Showing Manufacturer 3 years 11 months ago #2555

  • esquire
  • esquire's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Karma: 0
Hello

How I can switch on a showing of manufacturer in product card?
The administrator has disabled public write access.

Re: Showing Manufacturer 3 years 11 months ago #2599

  • linh_omg
  • linh_omg's Avatar
  • OFFLINE
  • Moderator
  • Posts: 910
  • Thank you received: 568
  • Karma: 25
Hi,

Please use module "mod_virtuemart_manufacturer" and put it into that position.
It comes with Virtuemart All in one package.

Then copy modules/mod_virtuemart_manufacturer/tmpl/default.php to /templates/ot_ishoesbox/html/mod_virtuemart_manufacturer/default.php to have the overide file AND then modify html + css to fit your need.


Thanks
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
Last Edit: 3 years 11 months ago by linh_omg.
The administrator has disabled public write access.
The following user(s) said Thank You: esquire

Re: Showing Manufacturer 3 years 11 months ago #2602

  • minhnv
  • minhnv's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 28
  • Thank you received: 10
  • Karma: 2
esquire wrote:
Hello

How I can switch on a showing of manufacturer in product card?

Hi esquire,

What is your mind? is it showing on card page view or product details page view?

On two page ( card and product details ), the component virtuemart have not this function, you have to additional code for this function.
Last Edit: 3 years 11 months ago by minhnv.
The administrator has disabled public write access.

Re: Showing Manufacturer 3 years 11 months ago #2603

  • esquire
  • esquire's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Karma: 0
Product details. It was standard option in Virtuemart, but here I couldn't find.
The administrator has disabled public write access.

Re: Showing Manufacturer 3 years 11 months ago #2604

  • minhnv
  • minhnv's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 28
  • Thank you received: 10
  • Karma: 2
oh.. sorry, i'm wrong. :)
The administrator has disabled public write access.
The following user(s) said Thank You: esquire

Re: Showing Manufacturer 3 years 11 months ago #2605

  • minhnv
  • minhnv's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 28
  • Thank you received: 10
  • Karma: 2
Plz view code of default.php file via path

../templates/ot_ishoesbox/html/com_virtuemart/productdetails/default.php

and modify
<?php
// Manufacturer of the Product
if (VmConfig::get('show_manufacturers', 1) && !empty($this->product->virtuemart_manufacturer_id)) {
	 $this->loadTemplate('manufacturer');
				
}
?>
replace by
<?php
// Manufacturer of the Product
if (VmConfig::get('show_manufacturers', 1) && !empty($this->product->virtuemart_manufacturer_id)) {
	 echo $this->loadTemplate('manufacturer');
				
}
?>
Last Edit: 3 years 11 months ago by minhnv.
The administrator has disabled public write access.
The following user(s) said Thank You: esquire

Re: Showing Manufacturer 3 years 11 months ago #2606

  • esquire
  • esquire's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Karma: 0
Thank you very much for you help.

I've done all corrections but see no changes
Last Edit: 3 years 11 months ago by esquire.
The administrator has disabled public write access.

Re: Showing Manufacturer 3 years 11 months ago #2607

  • minhnv
  • minhnv's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 28
  • Thank you received: 10
  • Karma: 2
esquire wrote:
Thank you very much for you help.

I've done all corrections but see no changes

:S

Plz sure you have select an Manufacturer for this product in product details view in administrator and Configuration tab you have checkbox on Show Manufacturers, plz see image below.
Attachments:
  • Attachment This image is hidden for guests. Please log in or register to see it.
Last Edit: 3 years 11 months ago by minhnv.
The administrator has disabled public write access.
The following user(s) said Thank You: esquire

Re: Showing Manufacturer 3 years 11 months ago #2609

  • esquire
  • esquire's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Karma: 0
It works. I switched it early off because it didn't work. But now it works. Thank you )
The administrator has disabled public write access.
Time to create page: 0.169 seconds