Jump to content

Enom domain module retrieve base prices when TLDs are synced - Solved


Recommended Posts

Posted

Hello,

I have an Enom reseller account.

I started using Enom domain module and I noticed when I try to sync the TLD prices, the prices retrieved are the base "my cost" prices, not the retail domain prices I have set for the customers, which I find odd.

I managed to fix it so I just wanted to share my solution in case anybody finds it useful.

Open file <blesta_dir>/components/modules/enom/enom.php for editing.
  Find: PE_GetProductPrice
  Replace with: PE_GetRetailPrice
  
There should be 3 instances, on lines 185, 193 amd 198.
Save the file, clear Blesta's cache directory and enjoy!

I really think this should have been fixed by Blesta developers. Domain prices should be synced to the retail prices, not the base ones.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...