Changeset 456734
- Timestamp:
- 10/28/2011 03:12:28 PM (14 years ago)
- Location:
- dukapress/trunk/php
- Files:
-
- 3 edited
-
dp-cart.php (modified) (1 diff)
-
dp-products.php (modified) (2 diffs)
-
dp-widgets.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dukapress/trunk/php/dp-cart.php
r433681 r456734 1241 1241 1242 1242 1243 $array1 = array('%from%', '%from_email%', '%details%', '% custom_message%');1243 $array1 = array('%from%', '%from_email%', '%details%', '%enq_subject%', '%custom_message%'); 1244 1244 $array2 = array($from_name, $from_email, $message_content, $subject, $message); 1245 1245 $msg = str_replace($array1, $array2, $msg); -
dukapress/trunk/php/dp-products.php
r398928 r456734 180 180 $value_atc = __('Inquire', "dp-lang"); 181 181 } 182 //Out of Stock Button 183 if ($dp_shopping_cart_settings['dp_shop_inventory_soldout'] === 'yes' && $all_custom_fields['currently_in_stock'][0] < 1) { 184 $value_atc = __('Out of Stock', "dp-lang"); 185 } 186 //PayPal Buy Now 182 187 $buy_now_present = '0'; 183 188 if ($buy_now) { … … 185 190 $buy_now_present = '1'; 186 191 } 192 //redirect to Checkout 187 193 if ($direct) { 188 194 $value_atc = __('Buy Now', "dp-lang"); 189 195 $buy_now_present = '2'; 190 196 } 197 //Out of stock disabled button 191 198 $disabled_add_to_cart = ''; 192 199 if (!$available_in_stock) { -
dukapress/trunk/php/dp-widgets.php
r399731 r456734 199 199 $dpsc_at_checkout_to_be_displayed_price = ''; 200 200 } 201 $dpsc_var = ''; 202 if (!empty($dpsc_product_in_cart['var'])) { 203 $dpsc_var = ' (' . $dpsc_product_in_cart['var'] . ')'; 204 } 201 205 $dpsc_total_products += $dpsc_product_in_cart['quantity']; 202 206 $dpsc_total += floatval($dpsc_product_in_cart['price']*$dpsc_product_in_cart['quantity']); 203 $dpsc_output .= '<tr><td>'.$dpsc_product_in_cart['name']. '</td>207 $dpsc_output .= '<tr><td>'.$dpsc_product_in_cart['name']. __($dpsc_var, "dp-lang").'</td> 204 208 <td>'.$dpsc_product_in_cart['quantity'].'</td> 205 209 <td>'.$dpsc_at_checkout_to_be_displayed_price.'</td></tr>';
Note: See TracChangeset
for help on using the changeset viewer.