Jump to content

[SOLVED] How do I add a link to "box-info-product" for not orderable articles


Recommended Posts

Hi all,

I’m using Prestashop 1.6.0.9 and I offer different kind of articles: Some articles have a price and some articles are produced individually with names or a company’s logo, so these articles do not have a price in my shop.

These articles having no sales price in my shop are tagged as “not orderable” in the backoffice (as the price depends much on the effort I have) but they have of course a full description including example pictures like similar articles I produced and sold.

 

Is there any possibility to use this information (article not orderable; no price showed) as a trigger for the “box-info-product” (where usually you see the price, the attributes and can “add to cart” the article) to display a link which links the contact form?

 

My programming language skills are unfortunately very limited, although I know what/where to paste some code ;) Do you have any hint for me?

Probably it has to be something like this:

 

If article has price/ is orderable

show price

else

<a href..>Contact me</a>

 

Thank you very much in advance!

Best regards,

moe

Edited by moerocksit (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...