Jump to content

Edit History

Gertjezzz

Gertjezzz


Removed privacy info

Hello,

Thank you in advance for taking the time to read. Hopefully we can get this working :)

I read many posts and topics and got the basic understanding of altering files.

 

By law it is necessary to state the estimated delivery time on the order.

Now I have 3 places where this need to be stated. When a first is fixed i think the other 2 will have the same approach.

 

  1. I want the estimated delivery date placed in de order/payment summary/overview at the end just before paying
  2. I want the estimated delivery date placed after the costumer has placed the order in the overview
  3. I want the estimated delivery date placed in the order_conf.html and .txt email to the costumer

 

I read this (old) topic but its from an older prestashop version, and I cant get it to work. It looks like the files are altered due to newer prestashop versions. Probably I need another rule or file. Just for clarification: I added '{delivery_time}' => $carrier->delay[intval($order->id_lang)], at line 632 of PaymentModule.php: 

This is what I allready did:

I altered the order_conf.html and .txt files to add the {delivery_time} and classes/PaymentModule.php but my email places just {delivery_time} and not the needed info.

When an item is in stock my delivery would be next day, when its not in stock it has another value/delivery time. When multiple items are bought the longest value should be placed in {delivery_time}.

 

 

1) here is an order overview. I need the estimated delivery date in the yellow marked value. I think i need to adapt the cart-summary.tpl file (or similar) in themes/(MYTHEME)/templates/checkout/_partials.

image.thumb.png.207cbee80132c6213ad778aeb3f4c74c.png 

2) After proceeding and placing the order i like the same value placed in this yellow area: I already have here a date - but this date is wrong or at least looks static. The item is in back order and would take longer to deliver. My guess is if i got issue 1 right then issue 2 isn’t much far off.

image.thumb.png.df9662d61641c5a4609d88ecdbfd9593.png

 

 

3) After altering the order_conf.html and .txt files i got the right place, but after ordering it isn’t getting filled.

image.png.cbfb016a7da607d57ccff0623ed91433.png

I am on Prestashop 1.7.7.7 with an external theme.

Kind regards!

 

 

 

 

Gertjezzz

Gertjezzz


Removed privacy info

Hello,

Thank you in advance for taking the time to read. Hopefully we can get this working :)

I read many posts and topics and got the basic understanding of altering files.

 

By law it is necessary to state the estimated delivery time on the order.

Now I have 3 places where this need to be stated. When a first is fixed i think the other 2 will have the same approach.

 

  1. I want the estimated delivery date placed in de order/payment summary/overview at the end just before paying
  2. I want the estimated delivery date placed after the costumer has placed the order in the overview
  3. I want the estimated delivery date placed in the order_conf.html and .txt email to the costumer

 

I read this (old) topic but its from an older prestashop version, and I cant get it to work. It looks like the files are altered due to newer prestashop versions. Probably I need another rule or file. Just for clarification: I added '{delivery_time}' => $carrier->delay[intval($order->id_lang)], at line 632 of PaymentModule.php: 

This is what I allready did:

I altered the order_conf.html and .txt files to add the {delivery_time} and classes/PaymentModule.php but my email places just {delivery_time} and not the needed info.

When an item is in stock my delivery would be next day, when its not in stock it has another value/delivery time. When multiple items are bought the longest value should be placed in {delivery_time}.

 

 

1) here is an order overview. I need the estimated delivery date in the yellow marked value. I think i need to adapt the cart-summary.tpl file (or similar) in themes/(MYTHEME)/templates/checkout/_partials.

image.thumb.png.207cbee80132c6213ad778aeb3f4c74c.png 

2) After proceeding and placing the order i like the same value placed in this yellow area: I already have here a date - but this date is wrong or at least looks static. The item is in back order and would take longer to deliver. My guess is if i got issue 1 right then issue 2 isn’t much far off.

image.thumb.png.df9662d61641c5a4609d88ecdbfd9593.png

 

 

3) After altering the order_conf.html and .txt files i got the right place, but after ordering it isn’t getting filled.

image.png.cbfb016a7da607d57ccff0623ed91433.png

I am on Prestashop 1.7.7.7 with an external theme.

Kind regards!

 

 

image.png

image.png

Gertjezzz

Gertjezzz


Removed privacy info

Hello,

Thank you in advance for taking the time to read. Hopefully we can get this working :)

I read many posts and topics and got the basic understanding of altering files.

 

By law it is necessary to state the estimated delivery time on the order.

Now I have 3 places where this need to be stated. When a first is fixed i think the other 2 will have the same approach.

 

  1. I want the estimated delivery date placed in de order/payment summary/overview at the end just before paying
  2. I want the estimated delivery date placed after the costumer has placed the order in the overview
  3. I want the estimated delivery date placed in the order_conf.html and .txt email to the costumer

 

I read this (old) topic but its from an older prestashop version, and I cant get it to work. It looks like the files are altered due to newer prestashop versions. Probably I need another rule or file. Just for clarification: I added '{delivery_time}' => $carrier->delay[intval($order->id_lang)], at line 632 of PaymentModule.php: 

This is what I allready did:

I altered the order_conf.html and .txt files to add the {delivery_time} and classes/PaymentModule.php but my email places just {delivery_time} and not the needed info.

When an item is in stock my delivery would be next day, when its not in stock it has another value/delivery time. When multiple items are bought the longest value should be placed in {delivery_time}.

 

 

1) here is an order overview. I need the estimated delivery date in the yellow marked value. I think i need to adapt the cart-summary.tpl file (or similar) in themes/(MYTHEME)/templates/checkout/_partials.

image.thumb.png.207cbee80132c6213ad778aeb3f4c74c.png 

2) After proceeding and placing the order i like the same value placed in this yellow area: I already have here a date - but this date is wrong or at least looks static. The item is in back order and would take longer to deliver. My guess is if i got issue 1 right then issue 2 isn’t much far off.

image.thumb.png.df9662d61641c5a4609d88ecdbfd9593.png

 

 

3) After altering the order_conf.html and .txt files i got the right place, but after ordering it isn’t getting filled.

image.png.cbfb016a7da607d57ccff0623ed91433.png

I am on Prestashop 1.7.7.7 with an external theme.

Kind regards!

image.png

image.png

Gertjezzz

Gertjezzz


Fix

Hello,

Thank you in advance for taking the time to read. Hopefully we can get this working :)

I read many posts and topics and got the basic understanding of altering files.

 

By law it is necessary to state the estimated delivery time on the order.

Now I have 3 places where this need to be stated. When a first is fixed i think the other 2 will have the same approach.

 

  1. I want the estimated delivery date placed in de order/payment summary/overview at the end just before paying
  2. I want the estimated delivery date placed after the costumer has placed the order in the overview
  3. I want the estimated delivery date placed in the order_conf.html and .txt email to the costumer

 

I read this (old) topic but its from an older prestashop version, and I cant get it to work. It looks like the files are altered due to newer prestashop versions. Probably I need another rule or file. Just for clarification: I added '{delivery_time}' => $carrier->delay[intval($order->id_lang)], at line 632 of PaymentModule.php: 

This is what I allready did:

I altered the order_conf.html and .txt files to add the {delivery_time} and classes/PaymentModule.php but my email places just {delivery_time} and not the needed info.

When an item is in stock my delivery would be next day, when its not in stock it has another value/delivery time. When multiple items are bought the longest value should be placed in {delivery_time}.

 

 

1) here is an order overview. I need the estimated delivery date in the yellow marked value. I think i need to adapt the cart-summary.tpl file (or similar) in themes/(MYTHEME)/templates/checkout/_partials.

image.thumb.png.207cbee80132c6213ad778aeb3f4c74c.png

2) After proceeding and placing the order i like the same value placed in this yellow area: I already have here a date - but this date is wrong or at least looks static. The item is in back order and would take longer to deliver. My guess is if i got issue 1 right then issue 2 isn’t much far off.

image.thumb.png.ac58fcb35b4a370f4b7b9bb2ccd60475.png

 

 

3) After altering the order_conf.html and .txt files i got the right place, but after ordering it isn’t getting filled.

image.png.cbfb016a7da607d57ccff0623ed91433.png

I am on Prestashop 1.7.7.7 with an external theme.

Kind regards!

Gertjezzz

Gertjezzz


Fix

Hello,

Thank you in advance for taking the time to read. Hopefully we can get this working :)

I read many posts and topics and got the basic understanding of altering files.

 

By law it is necessary to state the estimated delivery time on the order.

Now I have 3 places where this need to be stated. When a first is fixed i think the other 2 will have the same approach.

 

  1. I want the estimated delivery date placed in de order/payment summary/overview at the end just before paying
  2. I want the estimated delivery date placed after the costumer has placed the order in the overview
  3. I want the estimated delivery date placed in the order_conf.html and .txt email to the costumer

 

I read this (old) topic but its from an older prestashop version, and I cant get it to work. It looks like the files are altered due to newer prestashop versions. Probably I need another rule or file. Just for clarification: I added '{delivery_time}' => $carrier->delay[intval($order->id_lang)], at line 632 of PaymentModule.php: 

This is what I allready did:

I altered the order_conf.html and .txt files to add the {delivery_time} and classes/PaymentModule.php but my email places just {delivery_time} and not the needed info.

When an item is in stock my delivery would be next day, when its not in stock it has another value/delivery time. When multiple items are bought the longest value should be placed in {delivery_time}.

 

 

1) here is an order overview. I need the estimated delivery date in the yellow marked value. I think i need to adapt the cart-summary.tpl file (or similar) in themes/(MYTHEME)/templates/checkout/_partials.

image.thumb.png.207cbee80132c6213ad778aeb3f4c74c.png

2) After proceeding and placing the order i like the same value placed in this yellow area: I already have here a date - but this date is wrong or at least looks static. The item is in back order and would take longer to deliver. My guess is if i got issue 1 right then issue 2 isn’t much far off.

image.thumb.png.ac58fcb35b4a370f4b7b9bb2ccd60475.png

 

 

3) After altering the order_conf.html and .txt files i got the right place, but after ordering it isn’t getting filled.

image.png.cbfb016a7da607d57ccff0623ed91433.png

I am on Prestashop 1.7.7 with an external theme.

Kind regards!

Gertjezzz

Gertjezzz


Fix

Hello,

Thank you in advance for taking the time to read. Hopefully we can get this working :)

I read many posts and topics and got the basic understanding of altering files.

 

By law it is necessary to state the estimated delivery time on the order.

Now I have 3 places where this need to be stated. When a first is fixed i think the other 2 will have the same approach.

 

  1. I need the estimated delivery date placed in de order/payment summary/overview at the end just before paying
  2. I need the estimated delivery date placed after the costumer has placed the order in the overview
  3. I need the estimated delivery date placed in the order_conf.html and .txt email to the costumer

 

I read this (old) topic but its from an older prestashop version, and I cant get it to work. It looks like the files are altered due to newer prestashop versions. Probably I need another rule or file. Just for clarification: I added '{delivery_time}' => $carrier->delay[intval($order->id_lang)], at line 632 of PaymentModule.php: 

This is what I allready did:

I altered the order_conf.html and .txt files to add the {delivery_time} and classes/PaymentModule.php but my email places just {delivery_time} and not the needed info.

When an item is in stock my delivery would be next day, when its not in stock it has another value/delivery time. When multiple items are bought the longest value should be placed in {delivery_time}.

 

 

1) here is an order overview. I need the estimated delivery date in the yellow marked value. I think i need to adapt the cart-summary.tpl file (or similar) in themes/(MYTHEME)/templates/checkout/_partials.

image.thumb.png.207cbee80132c6213ad778aeb3f4c74c.png

2) After proceeding and placing the order i like the same value placed in this yellow area: I already have here a date - but this date is wrong or at least looks static. The item is in back order and would take longer to deliver. My guess is if i got issue 1 right then issue 2 isn’t much far off.

image.thumb.png.ac58fcb35b4a370f4b7b9bb2ccd60475.png

 

 

3) After altering the order_conf.html and .txt files i got the right place, but after ordering it isn’t getting filled.

image.png.cbfb016a7da607d57ccff0623ed91433.png

I am on Prestashop 1.7.7 with an external theme.

Kind regards!

Gertjezzz

Gertjezzz


Grammatical fix

Hello,

Thank you in advance for taking the time to read. Hopefully we can get this working :)

I read many posts and topics and got the basic understanding of altering files.

 

By law it is necessary to state the estimated delivery time on the order.

Now I have 3 places where this need to be stated. When a first is fixed i think the other 2 will have the same approach.

 

  1. I need the estimated delivery date placed in de order/payment summary/overview at the end just before paying
  2. I need the estimated delivery date placed after the costumer has placed the order in the overview
  3. I need the estimated delivery date placed in the order_conf.html and .txt email to the costumer

 

I read this (old) topic but its from an older prestashop version, and I cant get it to work. It looks like the files are altered due to newer prestashop versions. Probably I need another rule or file: 

This is what I allready did:

I altered the order_conf.html and .txt files to add the {delivery_time} and classes/PaymentModule.php but my email places just {delivery_time} and not the needed info.

When an item is in stock my delivery would be next day, when its not in stock it has another value/delivery time. When multiple items are bought the longest value should be placed in {delivery_time}.

 

 

1) here is an order overview. I need the estimated delivery date in the yellow marked value. I think i need to adapt the cart-summary.tpl file (or similar) in themes/(MYTHEME)/templates/checkout/_partials.

image.thumb.png.207cbee80132c6213ad778aeb3f4c74c.png

2) After proceeding and placing the order i like the same value placed in this yellow area: I already have here a date - but this date is wrong or at least looks static. The item is in back order and would take longer to deliver. My guess is if i got issue 1 right then issue 2 isn’t much far off.

image.thumb.png.ac58fcb35b4a370f4b7b9bb2ccd60475.png

 

 

3) After altering the order_conf.html and .txt files i got the right place, but after ordering it isn’t getting filled.

image.png.cbfb016a7da607d57ccff0623ed91433.png

I am on Prestashop 1.7.7 with an external theme.

Kind regards!

Gertjezzz

Gertjezzz

Hello,

Thank you in advance for taking the time to read. Hopefully we can get this working :)

By law it is necessary to state the estimated delivery time on the order.

Now I have 3 places where this need to be stated. When a first is fixed i think the other 2 will have the same approach.

 

  1. I need the estimated delivery date placed in de order/payment summary/overview at the end just before paying
  2. I need the estimated delivery date placed after the costumer has placed the order in the overview
  3. I need the estimated delivery date placed in the order_conf.html and .txt email to the costumer

 

I read this topic but its from an older prestashop version, and I cant get it to work. It looks like the files are altered due to newer prestashop versions. Probably I need another rule or file: 

This is what I allready did:

I altered the order_conf.html and .txt files to add the {delivery_time} and classes/PaymentModule.php but my email places just {delivery_time} and not the needed info.

When an item is in stock my delivery would be next day, when its not in stock it has another value/delivery time. When multiple items are bought the longest value should be placed in {delivery_time}.

 

 

1) here is an order overview. I need the estimated delivery date in the yellow marked value. I think i need to adapt the cart-summary.tpl file (or similar) in themes/(MYTHEME)/templates/checkout/_partials.

image.thumb.png.207cbee80132c6213ad778aeb3f4c74c.png

2) After proceeding and placing the order i like the same value placed in this yellow area: I already have here a date - but this date is wrong or at least looks static. The item is in back order and would take longer to deliver. My guess is if i got issue 1 right then issue 2 isn’t much far off.

image.thumb.png.ac58fcb35b4a370f4b7b9bb2ccd60475.png

 

 

3) After altering the order_conf.html and .txt files i got the right place, but after ordering it isn’t getting filled.

image.png.cbfb016a7da607d57ccff0623ed91433.png

I am on Prestashop 1.7.7 with an external theme.

Kind regards!

×
×
  • Create New...