Jump to content

[SOLVED] Show the value of declination value on delivery pdf


Recommended Posts


I want to display on the delivery pdf the declination value chosen by the customer.

For example:

For a product with a declination "Music", the customer chooses the value "4 Seasons."

I would like to display on delivery pdf only:

Your choice: "The 4 Seasons"

Currently, everything is informed of a block (product + declination)

Thank you in advance for your help

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

Thank you for your return

For example the name of my product with its variations as it appears on my delivery PDF:
PRE-DECROCHE - Texte libre - Langue étrangère : Aucune, Musique : JazzUp

In delivery-slip.tpl I trying
{$ order_detail.product_name | strpos: "Musique"}
But it return a number out I want all that is before "Musique" is cleared
as below

Musique : JazzUp



Link to comment
Share on other sites

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...