Photo Shop Pulgin Photo Shop Pulgin
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Photo Shop Pulgin

Started by bulli, August 01, 2007, 12:51:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bulli

Hi,

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

rgeards Bulli

Stramm

I do not understand what you mean. Can you rephrase your question.

bulli

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

Stramm

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();
?>

JohannM

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 ?

JohannM

Hi Again ... Anyone about the last post for an extra field ?