Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

    • CommentAuthorRedspain
    • CommentTimeAug 10th 2009
     

    I'm trying to setup different prices by categories, but I don'nt find the best way.

    For example: I've three categories with different prices at same zone
    Zone 1 (header)
    cat-1 -> 10$
    cat-2 -> 15$
    cat-3 -> 12$

    If use select categories under setting, them I can't set different prices.

    And if I set different zones by prices I've three different codes to load at same place.

    May you help me please!

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeAug 10th 2009
     
    Project Admin

    You'll need to do it via the 2nd method you listed if you want a different price for each category, as the ad zone can't set category-dependent prices.

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorRedspain
    • CommentTimeAug 10th 2009
     

    I understood!

    Then I need to insert a conditional statement using the zone code.

    For example:

    if ( in_category(1) ) { oiopub_banner_zone(1, 'center') }
    if { ( in_category(2) ) { oiopub_banner_zone(2, 'center') }
    if { ( in_category(3) ) { oiopub_banner_zone(3, 'center') }

    Is it correct or do you know another via to do it?

    Thanks by your support!

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeAug 10th 2009
     
    Project Admin

    As it's quite a small number of zones, I'd agree that would be the easiest way to do it.

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorRedspain
    • CommentTimeAug 10th 2009
     

    hmm, but I've a lot of categories and zones, it's too hard!

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeAug 10th 2009 edited
     
    Project Admin

    If you've got a lot of zones, you may want to consider simply charging the same price for each category? Then you could use the inbuilt category selection option without having to worry about multiple zones etc.

    There's no real way around it at the moment, without defining a new zone for each category and using conditional statements.

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorRedspain
    • CommentTimeAug 10th 2009
     

    Thanks Simon, I'll think about my options :-)

    Need help?  Quick start guide | Troubleshooting | All help topics