Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

2 Probs (Sep Pricing & Prod. Attribs) & 1 Question (


Guest

Recommended Posts

Posted

I am hoping to get some answers...first I should state that I have been setting up an osC based site for about 3/4 weeks now and have managed to solve most of my problems through searching the code and/or searching the forums, but these two I just cannot seem to find an answer for.

 

The 2 issues I am having:

 

1) With the seperate pricing mod I now get a value of 0.0000 inserted into the PRODUCTS_GROUPS table for all new/updated products...it seemds not to create a record at all for newly added prodcuts through the Admin section. I used the EasyPopulate utility to insert the records and that was fine. I would like to get this working again though I can manually add these through phpMyAdmin.

 

2) I have set various product attributes but when creating or updating a product the first attribute is always selected and then associated with the product. If i go into the Product Attributes section I can delete it. I would like to only have the correct attributes set, again, I can fix this but it would be nice noo to ahve to.

 

The 1 question I have, concerning the PayPal IPN mod, I discoverd that it by default sets the Order ID to 0, and I would like to make sure that I update the right section of code to make sure that it defaults to 99999. I set these to 99999:

if ((int)MODULE_PAYMENT_PAYPALIPN_ORDER_STATUS_ID > 99999) { $this->order_status = MODULE_PAYMENT_PAYPALIPN_ORDER_STATUS_ID; }

and

tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, use_function, date_added) values ('Set Order Status', 'MODULE_PAYMENT_PAYPALIPN_ORDER_STATUS_ID', '99999', 'Set the status of orders made with this payment module to this value', '6', '14', 'tep_cfg_pull_down_order_statuses(', 'tep_get_order_status_name', now())");

where the 99999 was originally 0.

 

Any and all help appricaited, etc, etc, etc...any and all code can be made available for reference...

 

Website: http://www.knowcrap.com

 

Thanks!

Jesse

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...