Announcement

Collapse
No announcement yet.

How to Return Product Dimensions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to Return Product Dimensions

    I'm trying to call the Box Packing module from BASK so I can find the box selected by the logic. It seems to be partially working, but basket:items doesn't contain the dimensions of the products in the basket (just the weight) so it appears I must populate these values myself. How can I return the product dimensions given a product code or id? I'm not sure where they are: a custom field, product shipping rule, etc.


    Thanks,
    Paul
    Paul

    #2
    Product dimensions are stored in the Snn_ProductShippingRules table. There's a function for reading them:

    [g.Module_Feature_SHP_DB].ProductShippingRules_Load_Product(l.product_id, l.productshippingrules)
    Kent Multer
    Magic Metal Productions
    http://TheMagicM.com
    * Web developer/designer
    * E-commerce and Miva
    * Author, The Official Miva Web Scripting Book -- available on-line:
    http://www.amazon.com/exec/obidos/IS...icmetalproducA

    Comment


      #3
      Thank you. That worked great!

      Paul
      Paul

      Comment

      Working...
      X