Jump to content

domain pricing slab database structure


Remitur

Recommended Posts

Hello.

 

looking for fixing a little issue in a script (see https://forum.whmcs.com/showthread.php?119130-WHMCS-v7-explore-domain-TLDs ), i got confused trying to understand the database schema used to manage domain pricing slab...

 

That's to say:

- for each TLD you can have different prices (one for each slab)

- in tblpricing, for each TLD you have a different record for each slab

- so, i.e., if you have two slabs, for a certain TLD you can find in tblpricing two different records: one referred to the default slab, the second referred to your second slab

 

The issue is: the only difference between the two records is (obviously) record id and prices.

No detail about what of the two records is the "default slab" and what the second slab...

Nor did I was able to find elsewhere any index or reference to it... so, how WHMCS can sort the different records, selecting those of each slab?

:?:

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated