Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Photo Shop Pulgin  (Read 5361 times)

0 Members and 1 Guest are viewing this topic.

bulli

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Photo Shop Pulgin
« on: August 01, 2007, 12:51:55 pm »

Hi,

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

rgeards Bulli
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Photo Shop Pulgin
« Reply #1 on: August 01, 2007, 01:06:01 pm »

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

bulli

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Photo Shop Pulgin
« Reply #2 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
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Photo Shop Pulgin
« Reply #3 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.

Code: [Select]
<?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

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 252
Re: Photo Shop Pulgin
« Reply #4 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 ?
Logged

JohannM

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 252
Re: Photo Shop Pulgin
« Reply #5 on: November 01, 2007, 10:01:02 am »

Hi Again ... Anyone about the last post for an extra field ?
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.