TOPIC: Price for related products is the same as shown product

Price for related products is the same as shown product 9 years 7 months ago #5557

  • nomascp
  • nomascp's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
I have another problem and its that in related product the price is the same as the actual product. I don't know why....

see gourmetdemascotas.com/index.php/perros/v...a-para-coches-detail
The administrator has disabled public write access.

Re: Price for related products is the same as shown product 9 years 7 months ago #5569

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2284
  • Thank you received: 998
  • Karma: 121
Please check your price setting at product and configure in VM ?

Regards
The administrator has disabled public write access.

Re: Price for related products is the same as shown product 9 years 7 months ago #5571

  • nomascp
  • nomascp's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Sorry but I don't understand what you're saying. In related product it shown the image and name of the related item but not the Correct price.

Thanks!
The administrator has disabled public write access.

Re: Price for related products is the same as shown product 9 years 7 months ago #5577

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2284
  • Thank you received: 998
  • Karma: 121
You are talking about relate products on left column ? so what's module do you use ? and do you enable show price ?
The administrator has disabled public write access.

Re: Price for related products is the same as shown product 9 years 7 months ago #5584

  • nomascp
  • nomascp's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Sorry mate, when you go I.E: gourmetdemascotas.eu/alimentacion/para-g...at-indoor-3kg-detail and click in "productos relacionados" you will see the related products with its image, its name BUT the price of the actual product.

Thanks for your time!!
The administrator has disabled public write access.

Re: Price for related products is the same as shown product 9 years 7 months ago #5589

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2284
  • Thank you received: 998
  • Karma: 121
Hello,

You should edit file templates/ot_sportshop/html/com_virtuemart/productdetails/default_relateproducts.php and find this line
<div class="product-price" ...>
code code code
</div>
around line 54

and replace all
$this->product->
by
$product->

Thanks
Last Edit: 9 years 7 months ago by trungdt.
The administrator has disabled public write access.
The following user(s) said Thank You: nomascp

Re: Price for related products is the same as shown product 9 years 7 months ago #5590

  • nomascp
  • nomascp's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
It works!!! Thanks for your job.
The administrator has disabled public write access.
Time to create page: 0.105 seconds