Call for Price Control

Call for Price Control

This modification is for displaying customer friendly sales message for products in selected category.  Messages like “Call (123) 456-7890 for Price”, “Negotiable Pricing”, etc. can be entered into an input text box.

This Modification is integrated into the edit category page (in admin) where you can  turn Call for Price feature on or off with the aid of two radio buttons. When Call for Price is on for a product category, an input text box is provided for entering texts to be displayed on the store front.

There are instances where product listing for a category needs to be different from product listing of another category. This feature can be

category product listing control

category product listing control

 enabled by customizing the category edit page. The customization includes two radio buttons and some changes to the categories_description table.

When a returning customer logs in, selected product attributes works fine. However when a customer uses the purchase without account (pwa) option, selected product attributes does not display either on the product confirmation page or on the order detail in the backend (admin) if the order is placed.

This is a difficult bug to track down; it took sometime to conclude that restore_contents() is the problem.

restore_contents() function is located in the shopping cart class.

To fix, go to catalog/includes/classes/shopping_cart.php

Look for function restore_contents() {

Then look for global $customer_id, $gv_id, $REMOTE_ADDR;

Add $languages_id to this line like so

global $customer_id, $gv_id, $REMOTE_ADDR, $languages_id;

or

global $customer_id, $gv_id, $languages_id, $REMOTE_ADDR;

For many e-commerce store owners using CRE Loaded SEO URL module, the challenge has been how to effectively utilize CRE Loaded SEO URL module with product search engine and xml sitemap feeds like Google Product Search and Google XML Sitemap feeds . I have been able to get CRE Loaded SEO URL module to work with both (Google Product Search and Google XML Sitemap feeds); the same method can be used to generate feeds for Yahoo, MSN, Edgeio(Google), Mysimon and other product search engine and xml sitemaps.

By default shipping rate quote are displayed from highest to lowest. In case you find it useful fo your potential customer to see the lowest shipping rate first, it is necessary to reverse the shipping rate qoute order.

To implement this process for ups shipping module, open your ups shipping module located in /include/module/shipping

Look for $upsQuote = $this->_upsGetQuote(); right below it add $upsQuote = array_reverse($upsQuote);

After the change you should have:

$upsQuote = $this->_upsGetQuote();

$upsQuote = array_reverse($upsQuote);

If you attempt to offer free shipping with MVS you will get ERROR_NO_SHIPPING_SELECTED_SELECTED. To fix this problem, open vendor_shipping.php, located in includes/modules.

Replace

<td class=”main” width=”100%”><?php echo sprintf(FREE_SHIPPING_DESCRIPTION, $currencies->format(MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER)) . tep_draw_hidden_field(’shipping’, ‘free_free’); ?></td>

with

<td class=”main” width=”100%”><?php echo sprintf(FREE_SHIPPING_DESCRIPTION, $currencies->format(MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER)) . tep_draw_hidden_field(’shipping_’ . $vendor_id, ‘free_free_0′) . tep_draw_hidden_field(’products_’ . $vendor_id, implode(”_”, $products_ids));?></td>