There are no instructions anywhere, in the video a reference to technical support.
Take a screenshot of the correct example of setting up a PREG template for a letter with an application form from the site
with three fields - by customer, product and delivery.
Thanks
There are no instructions anywhere, in the video a reference to technical support. Take a screenshot of the correct example of setting up a PREG template for a letter with an application form from the site with three fields - by customer, product and delivery. Thanks
Remezovich Valentin wrote: Take a screenshot of the correct example of setting up a PREG template for a letter with an application form from the site with three fields - by customer, product and delivery.
PCRE is a very individual thing. You can’t just take and make a template that will suit everyone. Specifically, in the "Turn a letter into a process" action, after there is an identical template for incoming letters, a specific template is adjusted to it. If you have such letters and you need help in compiling a PREG template - provide more information and we will help you.
[quote]
Remezovich Valentin wrote:
Take a screenshot of the correct example of setting up a PREG template for a letter with an application form from the site
with three fields - by customer, product and delivery.
[/quote]
PCRE is a very individual thing. You can’t just take and make a template that will suit everyone.
Specifically, in the "Turn a letter into a process" action, after there is an identical template for incoming letters, a specific template is adjusted to it.
If you have such letters and you need help in compiling a PREG template - provide more information and we will help you.
Remezovich Valentin wrote: This is how my variables are defined. They also come with an application form. (screen 2) What's wrong?
It's not as simple as it seems at first glance. Try as indicated below: PREG template for customer data in progress: Client Data:\s[client_name_first\s] Client Data:\s.*?\s[client_name_last\n] Client Phone:\s[client_phone\n] PREG template for additional data in progress: Delivery address:\s[delivery_address\n] PREG template for product data in process: Product Name:\s[product_name\n] Product price:\s[product_price\n] Quantity:\s[product_count\n]
[quote]
Remezovich Valentin wrote:
This is how my variables are defined. They also come with an application form. (screen 2)
What's wrong?
[/quote]
It's not as simple as it seems at first glance.
Try as indicated below:
PREG template for customer data in progress:
Client Data:\s[client_name_first\s]
Client Data:\s.*?\s[client_name_last\n]
Client Phone:\s[client_phone\n]
PREG template for additional data in progress:
Delivery address:\s[delivery_address\n]
PREG template for product data in process:
Product Name:\s[product_name\n]
Product price:\s[product_price\n]
Quantity:\s[product_count\n]
Thank you! It turned out for the fields - full name, phone number, address. The goods did not pump up, respectively, the amount too. But this is most likely due to the fact that in the box the product is named differently. Tell me more how to set the default process to the delivery method New mail, and the payment method - imposed?
Thank you! It turned out for the fields - full name, phone number, address.
The goods did not pump up, respectively, the amount too.
But this is most likely due to the fact that in the box the product is named differently.
Tell me more how to set the default process to the delivery method New mail, and the payment method - imposed?
Remezovich Valentin wrote: Tell me more how to set the default process to the delivery method New mail, and the payment method - imposed?
Actions at the starting stage, look for "Change shipping method" for example
[quote]
Remezovich Valentin wrote:
Tell me more how to set the default process to the delivery method New mail, and the payment method - imposed?
[/quote]
Actions at the starting stage, look for "Change shipping method" for example
Having problems with the same PREG template: There are 2 identical tasks - to turn letters into processes. one in Ukrainian - everything works. the same in Russian - recognizes only the address. phone, full name does not want, as soon as he did not try. screenshots in attachment
Having problems with the same PREG template:
There are 2 identical tasks - to turn letters into processes. one in Ukrainian - everything works. the same in Russian - recognizes only the address. phone, full name does not want, as soon as he did not try.
screenshots in attachment
[file]3781[/file]
[file]3782[/file]
Kornev Mikhail wrote: what does this part mean when with letters "s" - \s...s\ ?
like in this look: "\s", then you will be fooling around you can check https://regex101.com/ - a handy thing for working with regular virazes, there are a lot of tips.
[quote]
Kornev Mikhail wrote:
what does this part mean when with letters "s" - \s...s\ ?
[/quote]
like in this look: "\s", then you will be fooling around
you can check https://regex101.com/ - a handy thing for working with regular virazes, there are a lot of tips.
Kornev Mikhail wrote: what does this part mean when with letters "s" - \s...s\ ?
like in this look: "\s", then you will be fooling around you can check https://regex101.com/ - a handy thing for working with regular virazes, there are a lot of tips.
Thanks. please tell me, what if the letter is not just text, but with a table, for example?
and I need to extract certain data from such a letter, then it will search not by html, but simply by text USD 17.60 17.82 ?
[quote]
Yarina
integrator wrote:
[quote]
Kornev Mikhail wrote:
what does this part mean when with letters "s" - \s...s\ ?
[/quote]
like in this look: "\s", then you will be fooling around
you can check https://regex101.com/ - a handy thing for working with regular virazes, there are a lot of tips.
[/quote]
Thanks.
please tell me, what if the letter is not just text, but with a table, for example?
[file]9909[/file]
and I need to extract certain data from such a letter, then it will search not by html, but simply by text USD 17.60 17.82 ?
Kornev Mikhail wrote: and I need to extract certain data from such a letter, then it will search not by html, but simply by text USD 17.60 17.82 ?
theoretically, there is no row of text USD 17.60 17.82 , but three rows: USD, 17.60 and 17.82 I can't say anything about parsing tables and HTML
[quote]
Kornev Mikhail wrote:
and I need to extract certain data from such a letter, then it will search not by html, but simply by text USD 17.60 17.82 ?
[/quote]
theoretically, there is no row of text USD 17.60 17.82 , but three rows: USD, 17.60 and 17.82
I can't say anything about parsing tables and HTML
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up