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

#   Bug : fixer durée de souscription autre que "jours" impossible (réglé)

##

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

Less More

- Posts: 45
- Thank you received: 1
-
-

9 years 3 months ago -  9 years 3 months ago [\#275211](#275211) by [cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")  *[Bug : fixer durée de souscription autre que "jours" impossible (réglé)](/forum/58-hikasubscription/891382-bug-fixer-duree-de-souscription-autre-que-jours-impossible-regle#275211 "-- url of the page with the problem -- : administrator/index.php?option=com&#95;hikashop&amp;ctrl=product&amp;task=edit&amp;cid&#91;&#93;=1 -- HikaShop version -- : 3.1.1 -- HikaSerial version -- : 2.0.0 Beta -- Joomla version -- : 3.7.4 -- PHP version -- : 7.0.21 -- Browser(s) name and version -- : Chrome  Bonjour,  Sur une installation toute neuve, dans un produit : Dans la partie &quot;souscription&quot; on associe un plan On choisit n'importe quel type de relation (Création, renouvellement ou les deux) On choisit une unité de durée différente de &quot;jours&quot;  --&gt; Cette durée est systématiquement transformée en&quot;jours&quot; après enregistrement quelle que soit l'unité choisie initialement.")* was created by *[cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")*

-- url of the page with the problem -- : administrator/index.php?option=com_hikashop&amp;ctrl=product&amp;task=edit&amp;cid[]=1
-- HikaShop version -- : 3.1.1
-- HikaSerial version -- : 2.0.0 Beta
-- Joomla version -- : 3.7.4
-- PHP version -- : 7.0.21
-- Browser(s) name and version -- : Chrome

Bonjour,

Sur une installation toute neuve, dans un produit :
Dans la partie "souscription" on associe un plan
On choisit n'importe quel type de relation (Création, renouvellement ou les deux)
On choisit une unité de durée différente de "jours"

--&gt; Cette durée est systématiquement transformée en"jours" après enregistrement quelle que soit l'unité choisie initialement.

Last edit: 9 years 3 months ago by [cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vODkxMzgyLWJ1Zy1maXhlci1kdXJlZS1kZS1zb3VzY3JpcHRpb24tYXV0cmUtcXVlLWpvdXJzLWltcG9zc2libGUtcmVnbGU/dG1wbD1tYXJrZG93bg==) 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)
-

9 years 3 months ago [\#275222](#275222) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Bug : Impossible de fixer une unité de durée de souscription autre que "jours"](/forum/58-hikasubscription/891382-bug-fixer-duree-de-souscription-autre-que-jours-impossible-regle#275222 "-- url of the page with the problem -- : administrator/index.php?option=com&#95;hikashop&amp;ctrl=product&amp;task=edit&amp;cid&#91;&#93;=1 -- HikaShop version -- : 3.1.1 -- HikaSerial version -- : 2.0.0 Beta -- Joomla version -- : 3.7.4 -- PHP version -- : 7.0.21 -- Browser(s) name and version -- : Chrome  Bonjour,  Sur une installation toute neuve, dans un produit : Dans la partie &quot;souscription&quot; on associe un plan On choisit n'importe quel type de relation (Création, renouvellement ou les deux) On choisit une unité de durée différente de &quot;jours&quot;  --&gt; Cette durée est systématiquement transformée en&quot;jours&quot; après enregistrement quelle que soit l'unité choisie initialement.")*

Bonjour,

J'ai malheureusement changé un élément de structure de la base de données mais le fichier "SQL" de l'installation n'était pas à jour.
Merci de changer la structure de la table "hikashop_product_pack": Code:

&#96;relation_duration&#96; VARCHAR(25) NOT NULL DEFAULT 0,

Cordialement,

---

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

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

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

Less More

- Posts: 45
- Thank you received: 1
-
-

9 years 3 months ago [\#275273](#275273) by [cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")  Replied by *[cb75ter](/forum/user/7364-cb75ter "View cb75ter's Profile")* on topic *[Bug : Impossible de fixer une unité de durée de souscription autre que "jours"](/forum/58-hikasubscription/891382-bug-fixer-duree-de-souscription-autre-que-jours-impossible-regle#275273 "-- url of the page with the problem -- : administrator/index.php?option=com&#95;hikashop&amp;ctrl=product&amp;task=edit&amp;cid&#91;&#93;=1 -- HikaShop version -- : 3.1.1 -- HikaSerial version -- : 2.0.0 Beta -- Joomla version -- : 3.7.4 -- PHP version -- : 7.0.21 -- Browser(s) name and version -- : Chrome  Bonjour,  Sur une installation toute neuve, dans un produit : Dans la partie &quot;souscription&quot; on associe un plan On choisit n'importe quel type de relation (Création, renouvellement ou les deux) On choisit une unité de durée différente de &quot;jours&quot;  --&gt; Cette durée est systématiquement transformée en&quot;jours&quot; après enregistrement quelle que soit l'unité choisie initialement.")*

Bonjour,

J'imagine que vous voulez parler de la table hikaserial_product_pack et non de hikashop_product_pack ![:)](/media/kunena/emoticons/3.png ":)")

Ca fonctionne mieux comme ça effectivement ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vODkxMzgyLWJ1Zy1maXhlci1kdXJlZS1kZS1zb3VzY3JpcHRpb24tYXV0cmUtcXVlLWpvdXJzLWltcG9zc2libGUtcmVnbGU/dG1wbD1tYXJrZG93bg==) 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)
-

9 years 3 months ago [\#275276](#275276) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Bug : Impossible de fixer une unité de durée de souscription autre que "jours"](/forum/58-hikasubscription/891382-bug-fixer-duree-de-souscription-autre-que-jours-impossible-regle#275276 "-- url of the page with the problem -- : administrator/index.php?option=com&#95;hikashop&amp;ctrl=product&amp;task=edit&amp;cid&#91;&#93;=1 -- HikaShop version -- : 3.1.1 -- HikaSerial version -- : 2.0.0 Beta -- Joomla version -- : 3.7.4 -- PHP version -- : 7.0.21 -- Browser(s) name and version -- : Chrome  Bonjour,  Sur une installation toute neuve, dans un produit : Dans la partie &quot;souscription&quot; on associe un plan On choisit n'importe quel type de relation (Création, renouvellement ou les deux) On choisit une unité de durée différente de &quot;jours&quot;  --&gt; Cette durée est systématiquement transformée en&quot;jours&quot; après enregistrement quelle que soit l'unité choisie initialement.")*

Oui, hikaserial_product_pack ![:)](/media/kunena/emoticons/3.png ":)")

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vODkxMzgyLWJ1Zy1maXhlci1kdXJlZS1kZS1zb3VzY3JpcHRpb24tYXV0cmUtcXVlLWpvdXJzLWltcG9zc2libGUtcmVnbGU/dG1wbD1tYXJrZG93bg==) 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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/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)
