[Skip to main content](#vessel-content)

#   recuperer les characteristic dans email

##

- **[erickb](/forum/user/4069-erickb "View erickb's Profile")**
- [![erickb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4069-erickb "View erickb's Profile") Topic Author
- [ Offline](/forum/user/4069-erickb)

Less More

- Posts: 2705
- Thank you received: 74
-
-

12 years 2 months ago -  12 years 2 months ago [\#173001](#173001) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  *[recuperer les characteristic dans email](/forum/5-support-en-francais-french-support-/871855-recuperer-les-characteristic-dans-email#173001 "-- HikaShop version -- : 233 -- Joomla version -- : 334  j'ai un client qui ne recupere pas les longueurs commandees dans ses emails de notification de commande vendeur et client pourtant order&#95;product&#95;options est bien rempli  comment peut il récupérer dans le cas ci-dessus les 13.7 commandes ? (characteristic&#95;value je suppose)  ou faut il que je deserialize moi meme ?  merci")* was created by *[erickb](/forum/user/4069-erickb "View erickb's Profile")*

-- HikaShop version -- : 233
-- Joomla version -- : 334

j'ai un client qui ne recupere pas les longueurs commandees dans ses emails de notification de commande vendeur et client
pourtant order_product_options est bien rempli Code:

a:2:{i:0;O:8:"stdClass":8:{s:25:"variant_characteristic_id";s:1:"2";s:18:"variant_product_id";s:3:"516";s:8:"ordering";s:1:"0";s:17:"characteristic_id";s:1:"2";s:24:"characteristic_parent_id";s:1:"3";s:20:"characteristic_value";s:6:"13.7 m";s:20:"characteristic_alias";s:0:"";s:23:"characteristic_ordering";s:1:"0";}s:10:"7m / 13.7m";s:6:"13.7 m";}

comment peut il récupérer dans le cas ci-dessus les 13.7 commandes ? (characteristic_value je suppose)

ou faut il que je deserialize moi meme ?

merci

Last edit: 12 years 2 months ago by [erickb](/forum/user/4069-erickb "View erickb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODcxODU1LXJlY3VwZXJlci1sZXMtY2hhcmFjdGVyaXN0aWMtZGFucy1lbWFpbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[erickb](/forum/user/4069-erickb "View erickb's Profile")**
- [![erickb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4069-erickb "View erickb's Profile") Topic Author
- [ Offline](/forum/user/4069-erickb)

Less More

- Posts: 2705
- Thank you received: 74
-
-

12 years 2 months ago [\#173122](#173122) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[recuperer les characteristic dans email](/forum/5-support-en-francais-french-support-/871855-recuperer-les-characteristic-dans-email#173122 "-- HikaShop version -- : 233 -- Joomla version -- : 334  j'ai un client qui ne recupere pas les longueurs commandees dans ses emails de notification de commande vendeur et client pourtant order&#95;product&#95;options est bien rempli  comment peut il récupérer dans le cas ci-dessus les 13.7 commandes ? (characteristic&#95;value je suppose)  ou faut il que je deserialize moi meme ?  merci")*

bon j'ai fais comme ca
Code:

$ch = $item-&gt;order_product_options[0]-&gt;characteristic_value; $ch_result = $item-&gt;order_product_quantity . ' x ' . $ch; $cartProduct = array( 'PRODUCT_CODE' =&gt; $item-&gt;order_product_code, 'PRODUCT_QUANTIY' =&gt; $ch_result, 'PRODUCT_IMG' =&gt; '', 'item' =&gt; $item, 'product' =&gt; $product, );

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODcxODU1LXJlY3VwZXJlci1sZXMtY2hhcmFjdGVyaXN0aWMtZGFucy1lbWFpbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 2 months ago [\#173129](#173129) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[recuperer les characteristic dans email](/forum/5-support-en-francais-french-support-/871855-recuperer-les-characteristic-dans-email#173129 "-- HikaShop version -- : 233 -- Joomla version -- : 334  j'ai un client qui ne recupere pas les longueurs commandees dans ses emails de notification de commande vendeur et client pourtant order&#95;product&#95;options est bien rempli  comment peut il récupérer dans le cas ci-dessus les 13.7 commandes ? (characteristic&#95;value je suppose)  ou faut il que je deserialize moi meme ?  merci")*

Bonjour,

Cela me semble très bien ; juste une petite recommandation à vérifier l’existence de la caractéristique.
Peut etre que vous avez des produits qui n'ont pas de caractéristique et qui ne vont pas fournir un bon rendu dans l'email.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [erickb](/forum/user/4069-erickb "View erickb's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODcxODU1LXJlY3VwZXJlci1sZXMtY2hhcmFjdGVyaXN0aWMtZGFucy1lbWFpbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[erickb](/forum/user/4069-erickb "View erickb's Profile")**
- [![erickb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4069-erickb "View erickb's Profile") Topic Author
- [ Offline](/forum/user/4069-erickb)

Less More

- Posts: 2705
- Thank you received: 74
-
-

12 years 2 months ago -  12 years 2 months ago [\#173175](#173175) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[recuperer les characteristic dans email](/forum/5-support-en-francais-french-support-/871855-recuperer-les-characteristic-dans-email#173175 "-- HikaShop version -- : 233 -- Joomla version -- : 334  j'ai un client qui ne recupere pas les longueurs commandees dans ses emails de notification de commande vendeur et client pourtant order&#95;product&#95;options est bien rempli  comment peut il récupérer dans le cas ci-dessus les 13.7 commandes ? (characteristic&#95;value je suppose)  ou faut il que je deserialize moi meme ?  merci")*

ok c'est vrai je vais ajoute un test pour voir si elle existe pour eviter le x seul , mais dans ce cas toutes en ont

merci

Last edit: 12 years 2 months ago by [erickb](/forum/user/4069-erickb "View erickb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODcxODU1LXJlY3VwZXJlci1sZXMtY2hhcmFjdGVyaXN0aWMtZGFucy1lbWFpbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.049 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
