I added a Prescription Field in my Magento 1.9 Form Page

$fieldset->addField(‘prescription’, ‘file’, array( ‘label’ => Mage::helper(‘surgery’)->__(‘Upload’), //’value’ => ‘Upload’, ‘name’ => ‘prescription’, ‘required’ => true, ‘disabled’ => false, ‘readonly’ => true )); I have added code for adding or Uploading a Prescription File….But after uploading the Prescription File…The File is not getting saved in the Database on clicking the Save Button….Any possible solutions please reply…

Magento2: How to get Cart items collection on Product view page?

I want to get Cart items collection on product page. customer-data.js define([ ‘jquery’, ‘ko’, ‘uiComponent’, ‘Magento_Customer/js/customer-data’ ], function ($, ko, Component, customerData) { ‘use strict’; return Component.extend({ /** @inheritdoc */ initialize: function () { this._super(); this.items = customerData.get(‘cart’)().items //get cart items console.log(this.items); } }); }); product.phtml <div class=”col-md-12″ data-bind=”scope: ‘section'” style=”padding: 0;”> <!– ko template:…