Search found 5 matches
- Tue Sep 20, 2011 1:07 pm
- Forum: Modules/Add-Ons
- Topic: Orders Module: manual credit card processing
- Replies: 0
- Views: 498
Orders Module: manual credit card processing
almost finished with my website but run in to a small problem with the orders module not having enough functionality for manual card processing. i have a card terminal in the shop (with ssl on relevant pages) so want to use this to process card information rather than having to pay paypal their perc...
- Thu Sep 15, 2011 10:37 pm
- Forum: Modules/Add-Ons
- Topic: [solved] how to create products on the fly
- Replies: 2
- Views: 685
Re: how to create products on the fly
i figured out my solution. $gCms = cmsms(); $themoduleiwant = $gCms->modules['Cart']['object']; if( isset($_POST['cart_submit']) ) { $product_id = 8; //temp $supplier_mod = 'Products'; $source = 'Products'; $product = cg_ecomm::get_product_info($supplier_mod,$product_id); $session_obj = new cge_sess...
- Thu Sep 15, 2011 3:29 pm
- Forum: Modules/Add-Ons
- Topic: [solved] how to create products on the fly
- Replies: 2
- Views: 685
Re: how to create products on the fly
ive made some success with adding a product to the database. im now struggling with adding it to the cart after this has been done using user defined tags to achieve all of this. i found this useful little piece of code in the custom udt. $gCms = cmsms(); //global $gCms; $db = &$gCms->db; if( is...
- Tue Sep 13, 2011 12:21 pm
- Forum: The Lounge
- Topic: [solved] Only show if on page 1 of pagination help
- Replies: 2
- Views: 1063
Re: Only show if on page 1 of pagination help
use php $_GET['pageindex']
try this:
try this:
Code: Select all
{php}
if($_GET['pageindex'] > 1){
echo "{content}";
}else{
echo "display something else";
}
{/php}- Mon Sep 12, 2011 2:35 pm
- Forum: Modules/Add-Ons
- Topic: [solved] how to create products on the fly
- Replies: 2
- Views: 685
[solved] how to create products on the fly
i have calguys ecommercebase, cart, products, orders modules installed and all working 100%. products module works perfectly but im now thinking i could save myself a lot of time and overheads if i got the products from my supplier as a customer is searching on my website. i wrote a little bit of co...
