Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($product_info['quantity'] <= 0) {
- $data['stock'] = $product_info['stock_status'];
- } elseif ($product_info['quantity'] <= 10) {
- $data['stock'] = $product_info['quantity'];
- } else {
- $data['stock'] = $this->language->get('text_instock');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement