

Nice work, looks great!
Yup... and the sqeeeeing noise was just terrible!!Brandeline wrote: I was the Windows system guinea pig!
Code: Select all
$this->country_streams['AU'] = 'AUD'; // Australia
$this->country_streams['GB'] = 'GBP'; // United Kingdom,
//$this->country_streams['US'] = 'USD'; // United States of America
// $this->country_streams['FR'] = 'EUR'; // France
// $this->country_streams['DE'] = 'EUR'; // Germany
// $this->country_streams['ES'] = 'EUR'; // Spain
// $this->country_streams['IT'] = 'EUR'; // Italy
// $this->country_streams['NL'] = 'EUR'; // Netherlands
// $this->country_streams['CN'] = 'CNY'; // China - Currency code may be 'RMB' instead
// $this->country_streams['JP'] = 'JPY'; // Japan
Now, I personally have this covered(1) for my SagePay and PayPoint(2) checkout modules, because I wrote the necessary custom code to make that happen BUT pretty much everyone else is going to be falling foul of this issue and probably a heap of other carts are doing the exact same thing.Payment requirements
Your listings must provide a way for users to purchase the product online through either a payment service or directly from your website. The payment and transaction processing must be secure (SSL-protected). Products must be displayed in, sold and transacted in the appropriate currency of the target country.
The list above is somewhat ambiguous in terms of who exactly is affected but if Google Merchant are running to type, this will be USA specific initially and then become mandatory for other at some point after.Summary of Changes
We are confident that the new feed specifications will have a strong impact on the user experience. Below are several examples of how the feed spec is changing in the United States; please note that other countries have slightly different requirements:
- Availability: We’d like a user to be able to find your products even when they are out of stock. For this reason, the [availability] status of all your items will be required.
- Google Product Category: We have added a new required high-level attribute called [google product category] that contains the category of the item in Google’s taxonomy (currently only required for a select number of categories). This is in addition to the current [product type] attribute.
- Images: We’re making [image link] required and we encourage you to submit up to 10 additional product images through [additional image link]. This way, you can improve the visual representation of your products.
- Apparel: In order to create a better experience for product variants such as dresses or shoes that are available in multiple colors or sizes, we ask you to include information like [size] and [color] in your product feed. In addition, we require you to provide [gender] and [age group].
- Data Freshness: We will continue to regularly check feeds for accuracy of pricing, availability, and general product information, and suspend accounts that that are sending stale or incorrect information. In addition, we will be introducing penalties for repeated violation of our standards.
Code: Select all
$this->accepted_payment_types = array('Visa','Mastercard','Check','Discover','Wire Transfer','Cash');
$this->location = 'Our address, United Kingdom';
$this->pickup = 'true';
Code: Select all
$entry = array(
....
'g:location' => $this->location,
'g:pickup' => $this->pickup,
...
);
Code: Select all
foreach($this->accepted_payment_types as $pt_key=>$pt_value){
$xml .= "\t<g:payment_accepted><![CDATA[".$pt_value."]]></g:payment_accepted>\n";
}
Code: Select all
if($row['prodcode']) {
$entry['g:mpn'] = isc_html_escape($row['prodcode']);
}