I do not see a view of the field, sale closing date. What is the way to make the sale closing date field appear in the view module fields list?

Comments

darren oh’s picture

Status: Active » Closed (works as designed)

The sale closing date will replace the add to cart link.

wisdom’s picture

When adding the add to cart in view it is not replaced by the sale closing date the add to cart link remains when products expire. But in product page it does replace.

I modified the code 130-136 a little bit as follows. If that is the problem but still the product page behaves properly.

elseif (empty($links['add_to_cart']['html'])) {
      //$links['add_to_cart']['title'] = t('Sales of this item close on !date', array(
      //  '!date' => format_date($node->sale->sale_closing_date, 'custom', 'F j, Y'),
      //));
      $links['add_to_cart']['title'] = t('Apply for this job before !date', array(
       '!date' => format_date($node->sale->sale_closing_date, 'custom', 'F j, Y'),));
    }
darren oh’s picture

Status: Closed (works as designed) » Postponed (maintainer needs more info)

Are you using the stable version of e-Commerce?

wisdom’s picture

Well I made some serious modifications of ecommerce as result I do not guarantee stabilty to the code I am using; but the ecommerce distribution I started working was a stable one.
Probably some of the changes made could disable that not to function. If you are sure the feature works, we can close this trade.

darren oh’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)