Jump to content
Sign in to follow this  
cgchris99

Easy populate, specials and froogle?

Recommended Posts

I am using Easy Populate 2.72 for MS2.

 

When I upload to froogle, the specials aren't sent. It just shows regular price. Anybody having the same problem? Any suggestions?

 

Thanks

James

Share this post


Link to post
Share on other sites

There is an error in EasyPopulate. It might be fixed in the latest versions, but it's in my copy.

 

In the file easypopulate.php, around line 500, you will find:

 

  if ($dltype == 'froogle'){
	 // For froogle, we check the specials prices for any applicable specials, and use that price
	 // by grabbing the specials id descending, we always get the most recently added special price
	 // I'm checking status because I think you can turn off specials
	 $sql2 = "SELECT
  	 specials_new_products_price
   FROM
  	 ".TABLE_SPECIALS."
   WHERE
   products_id = " . $row['v_products_id'] . " and
   status = 1 and
   expires_date < CURRENT_TIMESTAMP
   ORDER BY
  	 specials_id DESC"
	 ;

 

The problem is expires_date < CURRENT_TIMESTAMP, it should be expires_date > CURRENT_TIMESTAMP.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×