Open Source Services

Development Services and Products for Open Source e-Commerce Sites

 
Welcome, Guest
Please Login or Register.    Lost Password?
High priority support forum for the CRELoaded version of PAPs v2.0.
Go to bottomPage: 1
TOPIC: Replace default image if . . . .
#478
Replace default image if . . . . 3 Years, 7 Months ago  
I would like to get paps to show in place of the default product image if there is data present in paps for that product id. Can this be done?
moniemonet
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#480
Re:Replace default image if . . . . 3 Years, 7 Months ago  
Yes, this should be possible.

It's just a matter of querying the database before the default image is displayed, then either calling the PAPs display or the default image depending on the result from the DB. You'd need to move a bit of code around in product_info.tpl.php. If you make this change, though, you won't be able to display both the default image AND PAPs viewing area at the same time for any product info page in future.

Also, the default v2.0 PLUS version of PAPs does not effect the image that is displayed in the shopping cart once the user selects the attribute and clicks 'add to cart'. The default behaviour is to display the default product picture. This could lead to confusion if a product attribute picture is selected, the user adds the product to the cart, then sees a different picture (the default product pic) in the shopping cart representing the product he/she just added.

An osCommerce upgrade is available which uses product attribute pictures in the shopping cart whenever required. It can be purchased here: www.open-source-services.com/Products/Cu...d-product-flyer.html

I know you are using CRELoaded, but it is not a difficult port since only 3 files are effected.

If you wanted me to do all the work above, it would cost $14.99 for the upgrade, then $24.99 for the custom code in your product_info template page. Total of $39.98, to be done within 48 hours of payment. Let me know if your are interested.

Good luck, whichever way you choose to go.

Nick

P.S. Has this answered the other post you made in the thread entitled 'Enlarge Image'? Let me know.
hanuman
Moderator
Posts: 371
graph
User Offline Click here to see the profile of this user
Last Edit: 2008/07/07 21:27 By hanuman.Reason: added timeframe for work to be done
The administrator has disabled public write access.
 
#481
Re:Replace default image if . . . . 3 Years, 7 Months ago  
Payment sent.
moniemonet
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1