Vote to Improve PrestaShop

PrestaShop Forum: Build a free online shop. Count on the Community!

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum: Build a free online shop. Count on the Community!

Jump to content

 
Photo

product acessory in catalog mode does not appear


  • Please log in to reply
6 replies to this topic
micharockt

    PrestaShop Newbie

  • Members
  • Pip
  • 23 posts

Posted 04 February 2013 - 11:49 AM

Hi - i´ve a problem. I created my products with different combinations.
Now, i want show my acessory in catalogue mode - not for sale, only for informations. But when i create a new product in katalogue mode and combine it with an other product as acessory - it will not show in FO. Only when I allow the sale, it is presented as acessory properly. Is there a possibility to show acessory in katalog mode?

El Patron

    PrestaShop Legend

  • US Moderators
  • 10540 posts

Posted 04 February 2013 - 12:09 PM

You will need to look at your themes/yourthemename/prodcut.tpl

find accessories

then look for $PS_CATALOG_MODE

modify the .tpl code to display..

make sure to back up your .tpl code first

Edited by elpatron, 04 February 2013 - 12:10 PM.


micharockt

    PrestaShop Newbie

  • Members
  • Pip
  • 23 posts

Posted 04 February 2013 - 01:15 PM

Hello elpatron - many, many thanks for the hint.
By your hint I have found the fix for the problem.
product.tpl in prestashop 1.5.3
Remove in Line 532 "AND $ accessory.available_for_order" and the acessory appear -. But the shopping cart is still active.
To remove the sopping cart:
Add in Line 549 "AND $ accessory.available_for_order" by {if $ PS_CATALOG_MODE!} - The cart disappears.

thank you again!

El Patron

    PrestaShop Legend

  • US Moderators
  • 10540 posts

Posted 04 February 2013 - 01:24 PM

Hello elpatron - many, many thanks for the hint.
By your hint I have found the fix for the problem.
product.tpl in prestashop 1.5.3
Remove in Line 532 "AND $ accessory.available_for_order" and the acessory appear -. But the shopping cart is still active.
To remove the sopping cart:
Add in Line 549 "AND $ accessory.available_for_order" by {if $ PS_CATALOG_MODE!} - The cart disappears.

thank you again!


you are very welcome, and if you ever want to have the capability to allow authorized only shopping, see our Authorized Only module....non-authorized (non-logged) see shop in catalog mode, authorized (logged) are offered the complete shopping experience offered by PrestaShop system.

Edited by elpatron, 04 February 2013 - 01:35 PM.


fixgear

    PrestaShop Apprentice

  • Members
  • PipPip
  • 244 posts

Posted 16 May 2013 - 06:29 PM

brilliant! i was having the same issue.

thanks for the fix!

jez...

Runamok

    PrestaShop Newbie

  • Members
  • Pip
  • 11 posts

Posted 27 January 2014 - 08:46 PM

To remove the sopping cart:
Add in Line 549 "AND $ accessory.available_for_order" by {if $ PS_CATALOG_MODE!} - The cart disappears.
 

 

Sorry, but where exactly in the code do I put this? I really appreciate your help!!



vekia

    PrestaShop Legend

  • US Moderators
  • 46628 posts

Posted 28 January 2014 - 12:28 AM

To remove the sopping cart:
Add in Line 549 "AND $ accessory.available_for_order" by {if $ PS_CATALOG_MODE!} - The cart disappears.
 

 

Sorry, but where exactly in the code do I put this? I really appreciate your help!!

themes/yourthemename/prodcuct.tpl


free tutorials, free templates, free addons, prestashop modules MndfRK4.png





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users