Advertisement
Guest User

lbs

a guest
Sep 30th, 2014
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. Tables
  2.  
  3. ======================================================================
  4. Name: lbs_pricing_sitewide - This will store the site wide pricing multiplier per client
  5.  
  6. Fields:
  7. -->client_id(PK) - Client ID
  8. -->sitewide_multiplier - Sitewide multiplier
  9.  
  10. When the client fills in a value in the pricing config page - we write to this table.
  11. If he changes the value - we update the records. If he removes the value - we remove the record.
  12.  
  13. ======================================================================
  14.  
  15. Name: lbs_pricing_vocab_priority - this will store the priority of vocabularies and status ON/FF (whether priority should be used or just stored for convenience in case client wants to turn it back on later and not re-input the value)
  16.  
  17. Fields:
  18. -->client_id(PK) - Client ID
  19. -->vocab_id - Taxonomy vocabulary ID
  20. -->status - Status ON/OFF (int), default 0
  21. -->priority - Vocabulary priority value, int default NULL
  22.  
  23.  
  24.  
  25. ======================================================================
  26.  
  27. Name: lbs_pricing_term_settings - this will store price settings per term per user
  28.  
  29. Fields:
  30. -->client_id(PK) - Client ID
  31. -->term_id - taxonomy term id
  32. -->vocab_id - vocabulary id
  33. -->pricing_status = Status ON/OFF (int), default 0
  34. -->pricing_multiplier = multiplier of the price for the term, default NULL
  35. -->pricing_fixed - value of the fixed price , default NULL
  36. ======================================================================
  37.  
  38. Name: lbs_pricing_product_fixed_price - this will store fixed price per product per user
  39. Fields:
  40. -->client_id(PK) - Client ID
  41. -->product_id - product id
  42. —->fixed_price_status = ON/OFF , whether fixed price is on or off
  43. —->fixed_price_value - value of the fixed price.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement