coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: bulli on August 01, 2007, 12:51:55 PM

Title: Photo Shop Pulgin
Post by: bulli on August 01, 2007, 12:51:55 PM
Hi,

how can i get the shopping block Photochart/Order to the anycontent?

rgeards Bulli
Title: Re: Photo Shop Pulgin
Post by: Stramm on August 01, 2007, 01:06:01 PM
I do not understand what you mean. Can you rephrase your question.
Title: Re: Photo Shop Pulgin
Post by: bulli on August 01, 2007, 01:24:37 PM
I will try :)

In the head you 2-3 ButtonĀ“s, IN_CART, CHECKOUT and MY ORDERS. I will put this Buttons intos the anycontenet.php from CPG.
The reason for this that i use CPG without the head, i made my own :) But I use the Blocks, like random and other, so i can also use anycontent.

I hope that you know what i mean.

Volker
Title: Re: Photo Shop Pulgin
Post by: Stramm on August 01, 2007, 02:13:14 PM
anycontent will only show on the index... so that's not the best solution. You better should use the custom header.

Try this for your anycontent block. It's pretty selfexplaining.

<?php
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');

starttable("100%""Shop");
function 
photoshop_any_user_menu(){
    global 
$template_sys_menu_spacer$lang_photoshop;

//if you do not want the MyOrders page then uncomment the following line and comment out the one with the menu entry
    //$cart_menu = "<a style=\"padding:2px;\" class=\"admin_menu\" href=\"index.php?file=photo_shop/photo_shop_cart\">".photoshop_count()." {$lang_photoshop['in_cart']}</a> ".$template_sys_menu_spacer." <a href=\"index.php?file=photo_shop/photo_shop_checkout\" style=\"padding:2px;\" class=\"admin_menu\">{$lang_photoshop['checkout']}</a>";
    
$cart_menu "<tr><td><center><a style=\"padding:2px;\" class=\"admin_menu\" href=\"index.php?file=photo_shop/photo_shop_cart\">".photoshop_count().{$lang_photoshop['in_cart']}</a> ".$template_sys_menu_spacer;
if (USER_ID$cart_menu .= " <a href=\"index.php?file=photo_shop/photo_shop_myorders\" style=\"padding:2px;\" class=\"admin_menu\">{$lang_photoshop['myorders']}</a> ".$template_sys_menu_spacer;
$cart_menu .= " <a href=\"index.php?file=photo_shop/photo_shop_checkout\" style=\"padding:2px;\" class=\"admin_menu\">{$lang_photoshop['checkout']}</a></center></td></tr>";

    return 
$cart_menu;
}

echo 
photoshop_any_user_menu();
endtable();
?>
Title: Re: Photo Shop Pulgin
Post by: JohannM on September 21, 2007, 12:31:38 AM
Hi

I need to add a field "Special Instructions" on the checkout page before "confirm order".

I added printed mugs, and need my customers to be able to add words in there.

How do I do this ?
Title: Re: Photo Shop Pulgin
Post by: JohannM on November 01, 2007, 10:01:02 AM
Hi Again ... Anyone about the last post for an extra field ?