Shopping Cart Software Solutions
shopping cart maintenance, automated product inventory feed import, data extraction & migration
Skip to content
  • Home
  • About
  • Products Page
    • Verify your Order
    • Transaction Results
    • Your Account
  • Contact Us
RSS

restore_contents() causing product attribute not to show during checkout for purchase without account(PWA) customer

By admin on October 15, 2008

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;
Bookmark and Share

Posted in CRE Loaded, osCommerce, Zen Cart Tagged Product Attributes, purchase without account, pwa, restore contents, restore_contents Leave a Comment

Search

Categories

  • Automated Inventory Feed
  • Coupon Data Feed
  • CRE Loaded
  • Customization
  • data manager
  • Easy Populate
  • Magento
  • Marketing
  • MySQL
  • osCMax
  • osCommerce
  • Payment Module
  • phpMyAdmin
  • Productivity Tool
  • SEO
  • Shipping Module
  • Soteshop
  • SSL
  • Uncategorized
  • Zen Cart

Web Hosting from just $3.99/mo!
Dollar-for-dollar, feature-for-feature, you'll find the Web's best hosting plans right here. But our plans aren't cheap--They're affordable. Big difference! Plus, all of our state-of-the-art hosting plans come complete with FREE 24/7 technical support.
Click here to try BigCommerce - the best way to sell online!

Product Categories

  • Categories
    • All Products (10)
    • Canada Shopping Cart Module (4)
    • Easy Populate (2)
    • MVS Shipping Module (2)
    • Payment Module (2)
    • Shipwire (3)

Archives

  • January 2012
  • November 2011
  • September 2011
  • July 2011
  • June 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • August 2010
  • May 2010
  • April 2010
  • October 2009
  • July 2009
  • May 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007

Recent Posts

  • 403 Permission Denied With Zen Cart Category
  • Discount coupon code amount greater than cart order total
  • Automated Order Export System – Zencart, Creloaded, Oscommerce
  • Coupon Code Data Feed Loading & Importing Automation
  • Purolator E-Ship Online Shipping Module Integration – oscommerce, zen cart, cre loaded

Tags

ATS Distribution creloaded CRE Loaded CSV datafeed data manager distribution center doba Easy Populate EasyPopulate Easy Populate Advanced Easy Populate Basic Effex Media epa EPB google import Inventory Feed moneris moneris solutions msn MVS Order Status Order Total osCommerce packing and shipping Payment payment modules phpMyAdmin Pixmania Pixmania Pro Product Attributes real-time inventory SEO Shipping Module shipwire sitemap soteshop Tab Update Inventory warehouse XML XML Data Feed yahoo Zen Cart

Recent Comments

  • gomango on Moneris Solutions eSelect Plus Hosted Paypage Payment Module
  • Pixmania-Pro importer for soteshop | Shopping Cart Software Solutions on Contact Us
  • Zen Cart Advanced Xml on Endicia Dazzle XML Shipping Integration with OsCommerce, Zen cart, Cre Loaded – USPS Lables via Endicia Dazzle XML Shipping
  • Endicia Dazzle XML Shipping Integration with OsCommerce, Zen cart, Cre Loaded – USPS Lables via Endicia Dazzle XML Shipping | Shopping Cart Software Solutions on Contact Us
  • Ebay Turbo Lister Shopping Cart Importer/Exporter – osCommerce, zen cart, cre loaded | Shopping Cart Software Solutions on Contact Us
[copyright]. [credit]. [meta-sep] Log in